diff options
-rw-r--r-- | sysutils/brasero/Makefile | 7 | ||||
-rw-r--r-- | sysutils/brasero/files/patch-libbrasero-burn_burn-process.c | 10 |
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) |