From 8817327441ce4cefbb27434a951b8d42dae85761 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis <edwin@FreeBSD.org> Date: Tue, 17 Dec 2002 07:12:24 +0000 Subject: 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 --- x11/accessx/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'x11/accessx') 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: -- cgit v1.2.3