ports/97568: [UPDATE PATCH] x11-wm/wmii to version 3
Zak Johnson
zakj at nox.cx
Sun May 21 19:19:43 UTC 2006
Previous patch does not respect ${PREFIX}; fix is attached.
-Zak
-------------- next part --------------
--- wmii.patch Sun May 21 11:11:35 2006
+++ wmii2.patch Sun May 21 12:17:59 2006
@@ -1,7 +1,7 @@
diff -Nurb /usr/ports/x11-wm/wmii/Makefile ports/x11-wm/wmii/Makefile
--- /usr/ports/x11-wm/wmii/Makefile Fri May 12 22:00:45 2006
+++ ports/x11-wm/wmii/Makefile Sun May 21 11:11:32 2006
-@@ -6,45 +6,23 @@
+@@ -6,45 +6,24 @@
#
PORTNAME= wmii
@@ -46,6 +46,7 @@
- -e 's|/usr/lib|${LOCALBASE}/lib|' \
- -e 's|-O0 -g -Wall -pedantic|${CFLAGS}|; s|-g||' \
+ @${REINPLACE_CMD} -e 's/-O2/${CFLAGS}/' \
++ -e '/^PREFIX =/d' \
+ -e 's|/usr/X11R6|${X11BASE}|' \
+ -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/config.mk
More information about the freebsd-ports-bugs
mailing list