summaryrefslogtreecommitdiffstats
path: root/sysutils/brasero
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2010-03-08 04:12:26 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2010-03-08 04:12:26 +0800
commita498278ac2ecbe741a3c1b9bcdf705da91d2f533 (patch)
treec6a5bba317abe8b3cc51d6c0bd0c00119e30ad40 /sysutils/brasero
parentc577e362acc9f101a929a579c52ee3988a1d8928 (diff)
downloadmarcuscom-ports-a498278ac2ecbe741a3c1b9bcdf705da91d2f533.tar
marcuscom-ports-a498278ac2ecbe741a3c1b9bcdf705da91d2f533.tar.gz
marcuscom-ports-a498278ac2ecbe741a3c1b9bcdf705da91d2f533.tar.bz2
marcuscom-ports-a498278ac2ecbe741a3c1b9bcdf705da91d2f533.tar.lz
marcuscom-ports-a498278ac2ecbe741a3c1b9bcdf705da91d2f533.tar.xz
marcuscom-ports-a498278ac2ecbe741a3c1b9bcdf705da91d2f533.tar.zst
marcuscom-ports-a498278ac2ecbe741a3c1b9bcdf705da91d2f533.zip
Adjust the environment passed to brasero plugins so that programs like
growisofs can spawn other programs found in ${LOCALBASE}. This should help DVD burning, but there still seems to be some kind of problem with the arguments passed to growisofs. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13763 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/brasero')
-rw-r--r--sysutils/brasero/Makefile7
-rw-r--r--sysutils/brasero/files/patch-libbrasero-burn_burn-process.c10
2 files changed, 16 insertions, 1 deletions
diff --git a/sysutils/brasero/Makefile b/sysutils/brasero/Makefile
index b855673a8..1a64e7199 100644
--- a/sysutils/brasero/Makefile
+++ b/sysutils/brasero/Makefile
@@ -3,10 +3,11 @@
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/sysutils/brasero/Makefile,v 1.66 2010/02/10 21:18:37 kwm Exp $
+# $MCom: ports/sysutils/brasero/Makefile,v 1.67 2010/02/25 11:53:46 avl Exp $
PORTNAME= brasero
PORTVERSION= 2.29.91
+PORTREVISION= 1
CATEGORIES= sysutils audio multimedia gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -61,4 +62,8 @@ PLIST_SUB+= LIBBURNIA=""
PLIST_SUB+= LIBBURNIA="@comment "
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
+ ${WRKSRC}/libbrasero-burn/burn-process.c
+
.include <bsd.port.post.mk>
diff --git a/sysutils/brasero/files/patch-libbrasero-burn_burn-process.c b/sysutils/brasero/files/patch-libbrasero-burn_burn-process.c
new file mode 100644
index 000000000..b2b342271
--- /dev/null
+++ b/sysutils/brasero/files/patch-libbrasero-burn_burn-process.c
@@ -0,0 +1,10 @@
+--- libbrasero-burn/burn-process.c.orig 2010-03-07 15:07:48.000000000 -0500
++++ libbrasero-burn/burn-process.c 2010-03-07 15:08:41.000000000 -0500
+@@ -609,6 +609,7 @@ brasero_process_start (BraseroJob *job,
+ gchar *envp [] = { "LANG=C",
+ "LANGUAGE=C",
+ "LC_ALL=C",
++ "PATH=/bin:/sbin:/usr/bin:/usr/sbin:%%LOCALBASE%%/bin:%%LOCALBASE%%/sbin",
+ NULL};
+
+ if (priv->pid)