diff options
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/nautilus-cd-burner/Makefile | 3 | ||||
-rw-r--r-- | sysutils/nautilus-cd-burner/files/patch-src_nautilus-burn-drive.c | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/sysutils/nautilus-cd-burner/Makefile b/sysutils/nautilus-cd-burner/Makefile index d8e096510..5bc5d7035 100644 --- a/sysutils/nautilus-cd-burner/Makefile +++ b/sysutils/nautilus-cd-burner/Makefile @@ -3,11 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/sysutils/nautilus-cd-burner/Makefile,v 1.101 2006/06/19 05:40:48 marcus Exp $ +# $MCom: ports/sysutils/nautilus-cd-burner/Makefile,v 1.102 2006/07/11 13:04:52 ahze Exp $ # PORTNAME= nautilus-cd-burner PORTVERSION= 2.15.4 +PORTREVISION= 1 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} diff --git a/sysutils/nautilus-cd-burner/files/patch-src_nautilus-burn-drive.c b/sysutils/nautilus-cd-burner/files/patch-src_nautilus-burn-drive.c new file mode 100644 index 000000000..9d3ce89ec --- /dev/null +++ b/sysutils/nautilus-cd-burner/files/patch-src_nautilus-burn-drive.c @@ -0,0 +1,14 @@ +--- src/nautilus-burn-drive.c.orig Thu Jul 13 22:51:49 2006 ++++ src/nautilus-burn-drive.c Thu Jul 13 22:52:25 2006 +@@ -806,7 +806,11 @@ nautilus_burn_drive_eject (NautilusBurnD + #ifdef USE_GNOME_MOUNT + cmd = g_strdup_printf ("gnome-mount --eject --no-ui --device=%s", drive->priv->device); + #else ++#ifdef __FreeBSD_ ++ cmd = g_strdup_printf ("cdcontrol -f %s eject", drive->priv->device); ++#else + cmd = g_strdup_printf ("eject %s", drive->priv->device); ++#endif + #endif + + res = g_spawn_command_line_sync (cmd, NULL, NULL, NULL, NULL); |