aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-12-06 21:48:40 +0800
committerrafan <rafan@FreeBSD.org>2006-12-06 21:48:40 +0800
commit44f0b2a264c23d2cc8756439017f61c52374eae2 (patch)
treed2b68ed117288ebc162ffbf323363118664cfdd1
parentbba8d8d7b96b90cf61abe54cdaa0e0adc4274555 (diff)
downloadfreebsd-ports-gnome-44f0b2a264c23d2cc8756439017f61c52374eae2.tar.gz
freebsd-ports-gnome-44f0b2a264c23d2cc8756439017f61c52374eae2.tar.zst
freebsd-ports-gnome-44f0b2a264c23d2cc8756439017f61c52374eae2.zip
- Respect X11BASE
PR: ports/106056 Submitted by: rafan Approved by: portmgr (linimon)
-rw-r--r--x11-clocks/wmbinclock/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11-clocks/wmbinclock/Makefile b/x11-clocks/wmbinclock/Makefile
index 064744e6d6fc..5b900d95ba40 100644
--- a/x11-clocks/wmbinclock/Makefile
+++ b/x11-clocks/wmbinclock/Makefile
@@ -20,6 +20,8 @@ USE_XPM= yes
post-patch:
@${REINPLACE_CMD} -e 's|#include <values.h>||' ${WRKSRC}/wmBinClock.c
+ @${REINPLACE_CMD} -e 's|^CC.*=|CC ?=|' -e 's|^CFLAGS.*=|CFLAGS +=|' \
+ -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmBinClock ${PREFIX}/bin