summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-12-17 07:12:24 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-12-17 07:12:24 +0000
commit8817327441ce4cefbb27434a951b8d42dae85761 (patch)
tree5ab5838b9873f7852cf75179c8dff0daeb14f084 /x11
parentMake x11/accessx compile under -current again. (diff)
The ports own Makefile wouldn't budge when trying to install in
X11BASE. Let it behave and use PREFIX. Submitted by: Mark Sergeant, via irc
Notes
Notes: svn path=/head/; revision=71683
Diffstat (limited to 'x11')
-rw-r--r--x11/accessx/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/x11/accessx/Makefile b/x11/accessx/Makefile
index 52b8a1211a66..4f48d50a0851 100644
--- a/x11/accessx/Makefile
+++ b/x11/accessx/Makefile
@@ -20,8 +20,11 @@ WRKSRC= ${WRKDIR}/accessx
USE_REINPLACE= yes
USE_X_PREFIX= yes
-pre-build:
- ${REINPLACE_CMD} -e "s@g\+\+@${CXX} ${CXXFLAGS} -I${X11BASE}/include@g" ${WRKSRC}/Makefile
+post-patch:
+ ${REINPLACE_CMD} \
+ -e "s@/usr/local@${PREFIX}@" \
+ -e "s@g\+\+@${CXX} ${CXXFLAGS} -I${X11BASE}/include@g" \
+ ${WRKSRC}/Makefile
${REINPLACE_CMD} -e "s@wish -f@wish8.2 -f@g" ${WRKSRC}/accessx
post-install: