aboutsummaryrefslogtreecommitdiff
path: root/x11-clocks
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-12-06 13:48:40 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-12-06 13:48:40 +0000
commit8f84e7e59a63a1819cceec82df1f91d42dcb3092 (patch)
tree54f5f25805c1cbfbe9da5bc7d82200c0e1cf3eda /x11-clocks
parent55c9057e7a8782feca8f9fccb19f7feeb7e0034c (diff)
downloadports-8f84e7e59a63a1819cceec82df1f91d42dcb3092.tar.gz
ports-8f84e7e59a63a1819cceec82df1f91d42dcb3092.zip
Notes
Diffstat (limited to 'x11-clocks')
-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