aboutsummaryrefslogtreecommitdiffstats
path: root/mbone
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-11-30 19:42:08 +0800
committerrafan <rafan@FreeBSD.org>2006-11-30 19:42:08 +0800
commit76392be603a192fbfdc61439a4fbdbc1a8a68a7c (patch)
tree0ffa4762126245745ee3bdf68642d4f44805335b /mbone
parent4350247f14052fae91cc72e6f3379b012e6c4a5e (diff)
downloadfreebsd-ports-gnome-76392be603a192fbfdc61439a4fbdbc1a8a68a7c.tar.gz
freebsd-ports-gnome-76392be603a192fbfdc61439a4fbdbc1a8a68a7c.tar.zst
freebsd-ports-gnome-76392be603a192fbfdc61439a4fbdbc1a8a68a7c.zip
- Respect CC, CFLAGS
- Respect X11BASE [1] Reported by: pointyhat [1]
Diffstat (limited to 'mbone')
-rw-r--r--mbone/wbd/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/mbone/wbd/Makefile b/mbone/wbd/Makefile
index 45122e9fa1bb..feec97af1079 100644
--- a/mbone/wbd/Makefile
+++ b/mbone/wbd/Makefile
@@ -20,4 +20,9 @@ PLIST_FILES= bin/wbd
WRKSRC= ${WRKDIR}/wbd
MAKEFILE= makefile
+post-patch:
+ @${REINPLACE_CMD} -e 's,^CC.*=,CC ?=,' -e 's,^CFLAGS.*=,CFLAGS +=,' \
+ -e 's,/usr/X11R6,${X11BASE},g' \
+ ${WRKSRC}/${MAKEFILE}
+
.include <bsd.port.mk>