aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-11-30 21:21:38 +0800
committerrafan <rafan@FreeBSD.org>2006-11-30 21:21:38 +0800
commit75dedc2489bc3488ce20eeaf8c5a93f0b706ef33 (patch)
treed861537cbeecae0b6713e3a296ec201fa1a44239
parent3ef20ac7876454a72a9062a2cf4c159cde3c62ee (diff)
downloadfreebsd-ports-gnome-75dedc2489bc3488ce20eeaf8c5a93f0b706ef33.tar.gz
freebsd-ports-gnome-75dedc2489bc3488ce20eeaf8c5a93f0b706ef33.tar.zst
freebsd-ports-gnome-75dedc2489bc3488ce20eeaf8c5a93f0b706ef33.zip
- Respect X11BASE
- Respect CC PR: ports/106058 Submitted by: rafan Approved by: Pierre-Paul Lavoie <ppl at idios.org> (maintainer)
-rw-r--r--x11-wm/weewm/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11-wm/weewm/Makefile b/x11-wm/weewm/Makefile
index 3f9c65050894..938b97944d2a 100644
--- a/x11-wm/weewm/Makefile
+++ b/x11-wm/weewm/Makefile
@@ -17,6 +17,10 @@ COMMENT= Fast and ultra light windowmanager with total keyboard control
PLIST_FILES= bin/weewm
USE_X_PREFIX= yes
+post-patch:
+ @${REINPLACE_CMD} -e 's,^CC=,CC?=,' -e 's,/usr/X11R6,${X11BASE},g' \
+ ${WRKSRC}/src/Makefile
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/weewm ${PREFIX}/bin