diff options
author | rafan <rafan@FreeBSD.org> | 2007-07-17 00:37:02 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-07-17 00:37:02 +0800 |
commit | 792c5475f67babf8b6919e12f3dd15b621a4967f (patch) | |
tree | 3797901bfefc54141b178134fa6d4dbfad9e074e | |
parent | 6e4f10ad92ded1292f91035fa5fa07bb2fff8789 (diff) | |
download | freebsd-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]
-rw-r--r-- | x11-wm/ahwm/Makefile | 7 |
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> |