1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

- 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]
This commit is contained in:
Rong-En Fan 2007-07-16 16:37:02 +00:00
parent 7461699e75
commit 09bfea9079
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195748

View File

@ -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>