diff options
author | edwin <edwin@FreeBSD.org> | 2002-12-17 12:39:46 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-12-17 12:39:46 +0800 |
commit | edfd4fe7c7d031d632cfb5e6580e4c042087b48e (patch) | |
tree | 6a7e05f0f0dec6468d86c9793b46f9d5d6650c29 /x11/accessx/Makefile | |
parent | 00d80d7663ac863cc322b70d8c6f895f93a864eb (diff) | |
download | freebsd-ports-gnome-edfd4fe7c7d031d632cfb5e6580e4c042087b48e.tar.gz freebsd-ports-gnome-edfd4fe7c7d031d632cfb5e6580e4c042087b48e.tar.zst freebsd-ports-gnome-edfd4fe7c7d031d632cfb5e6580e4c042087b48e.zip |
Make x11/accessx compile under -current again.
Noticed on: bento
Diffstat (limited to 'x11/accessx/Makefile')
-rw-r--r-- | x11/accessx/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/x11/accessx/Makefile b/x11/accessx/Makefile index 66488804ce31..52b8a1211a66 100644 --- a/x11/accessx/Makefile +++ b/x11/accessx/Makefile @@ -17,10 +17,12 @@ MAINTAINER= stephen@math.missouri.edu RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82 WRKSRC= ${WRKDIR}/accessx +USE_REINPLACE= yes +USE_X_PREFIX= yes pre-build: - ${PERL} -pi.orig -e "s@g\+\+@${CXX} ${CXXFLAGS} -I${X11BASE}/include@g" ${WRKSRC}/Makefile - ${PERL} -pi.orig -e "s@wish -f@wish8.2 -f@g" ${WRKSRC}/accessx + ${REINPLACE_CMD} -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: strip ${PREFIX}/bin/ax |