aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2007-03-30 03:34:17 +0800
committermezz <mezz@FreeBSD.org>2007-03-30 03:34:17 +0800
commit038751df6189a493b9bdff36a572e00e08f3ce36 (patch)
treefbf7065359316e289e8c547f08c176bf3262e15f /x11-wm
parentc8f14a8ad6cfa34fd6067edd9c1fa2b6fa54eeee (diff)
downloadfreebsd-ports-gnome-038751df6189a493b9bdff36a572e00e08f3ce36.tar.gz
freebsd-ports-gnome-038751df6189a493b9bdff36a572e00e08f3ce36.tar.zst
freebsd-ports-gnome-038751df6189a493b9bdff36a572e00e08f3ce36.zip
Replace a 644 -> 755 hack and remove in the UPDATING to a better solution by
using 'exec sh foobar' instead 'exec foobar'. The 644 is need for some users that are using noexec mounted home directory, which the 755 will block them. Bump the PORTREVISION. Bugs tracker: http://tinyurl.com/2lazb6 (sourceforge.net) Obtained from: Fluxbox SVN Submitted by: Mark Tiefenbruck (Fluxbox developer)
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/fluxbox/Makefile4
-rw-r--r--x11-wm/fluxbox/files/patch-util_startfluxbox.in9
2 files changed, 10 insertions, 3 deletions
diff --git a/x11-wm/fluxbox/Makefile b/x11-wm/fluxbox/Makefile
index e3f324b8e6ac..fe8f3f1c963e 100644
--- a/x11-wm/fluxbox/Makefile
+++ b/x11-wm/fluxbox/Makefile
@@ -7,7 +7,7 @@
PORTNAME= fluxbox
PORTVERSION= 1.0rc3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -167,8 +167,6 @@ post-patch:
${WRKSRC}/util/fluxbox-generate_menu.in
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
s|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/util/fbsetbg
- @${REINPLACE_CMD} -e 's|644|755|g' \
- ${WRKSRC}/util/startfluxbox.in
.if defined(WITHOUT_NLS)
@${REINPLACE_CMD} -e 's|HAVE_ICONV=yes|HAVE_ICONV=no|g' \
${WRKSRC}/configure
diff --git a/x11-wm/fluxbox/files/patch-util_startfluxbox.in b/x11-wm/fluxbox/files/patch-util_startfluxbox.in
new file mode 100644
index 000000000000..5e283b38263c
--- /dev/null
+++ b/x11-wm/fluxbox/files/patch-util_startfluxbox.in
@@ -0,0 +1,9 @@
+--- util/startfluxbox.in 2006/10/27 07:04:51 4600
++++ util/startfluxbox.in 2007/03/28 02:56:21 4798
+@@ -86,5 +86,5 @@
+ ) > "$startup"
+ fi
+ chmod 644 "$startup"
+- exec "$startup"
++ exec sh "$startup"
+ fi