aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-07-17 00:37:02 +0800
committerrafan <rafan@FreeBSD.org>2007-07-17 00:37:02 +0800
commit792c5475f67babf8b6919e12f3dd15b621a4967f (patch)
tree3797901bfefc54141b178134fa6d4dbfad9e074e /x11-wm
parent6e4f10ad92ded1292f91035fa5fa07bb2fff8789 (diff)
downloadfreebsd-ports-gnome-792c5475f67babf8b6919e12f3dd15b621a4967f.tar.gz
freebsd-ports-gnome-792c5475f67babf8b6919e12f3dd15b621a4967f.tar.zst
freebsd-ports-gnome-792c5475f67babf8b6919e12f3dd15b621a4967f.zip
- Remove @prefix@ before directories in makefile which causes problem
when we pass --mandir to configure script (testing in exp run now) [1] - To fix build after @prefix@ is removed, pass prefix and exec_prefix to make(1) [1] - While I'm here, replace USE_X_PREFIX by USE_XLIB Reported by: pointyhat exp run [1]
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/ahwm/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11-wm/ahwm/Makefile b/x11-wm/ahwm/Makefile
index 80a1822e9188..a4a0d7e64dc0 100644
--- a/x11-wm/ahwm/Makefile
+++ b/x11-wm/ahwm/Makefile
@@ -15,12 +15,17 @@ MASTER_SITES= http://people.cs.uchicago.edu/~ahiorean/ahwm/
MAINTAINER= ports@FreeBSD.org
COMMENT= An X11 window manager
-USE_X_PREFIX= yes
+USE_XLIB= yes
GNU_CONFIGURE= yes
+MAKE_ARGS= prefix=${PREFIX} exec_prefix=${PREFIX}
MAN5= ahwmrc.5
MLINKS= ahwmrc.5 ahwm.5
PLIST_FILES= bin/ahwm
+post-patch:
+ @${REINPLACE_CMD} -e 's,@prefix@@,@,g' \
+ ${WRKSRC}/Makefile.in
+
.include <bsd.port.mk>