summaryrefslogtreecommitdiffstats
path: root/x11/accessx
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-12-17 07:12:24 +0000
committeredwin <edwin@FreeBSD.org>2002-12-17 07:12:24 +0000
commit91f08219a242a13a0ff9bc2e9ffc5d613280e884 (patch)
tree58941a9430684135075324be9f0efe5b6f6acf09 /x11/accessx
parentedfd4fe7c7d031d632cfb5e6580e4c042087b48e (diff)
downloadFreeBSD-ports-91f08219a242a13a0ff9bc2e9ffc5d613280e884.zip
FreeBSD-ports-91f08219a242a13a0ff9bc2e9ffc5d613280e884.tar.gz
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
Diffstat (limited to 'x11/accessx')
-rw-r--r--x11/accessx/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/x11/accessx/Makefile b/x11/accessx/Makefile
index 52b8a12..4f48d50 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:
OpenPOWER on IntegriCloud