aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-10-24 17:34:43 +0800
committervs <vs@FreeBSD.org>2005-10-24 17:34:43 +0800
commit5155b3bedd44cd1cbb789d5d31b7f524df0e2146 (patch)
tree9194d82fc7b69dfa8cca6460597717f959b54cbb
parent3ca262cbb41e8dab1b0c99be7d0dc98e344ec09d (diff)
downloadfreebsd-ports-gnome-5155b3bedd44cd1cbb789d5d31b7f524df0e2146.tar.gz
freebsd-ports-gnome-5155b3bedd44cd1cbb789d5d31b7f524df0e2146.tar.zst
freebsd-ports-gnome-5155b3bedd44cd1cbb789d5d31b7f524df0e2146.zip
Make X11BASE-safe
PR: ports/87892 Submitted by: maintainer
-rw-r--r--x11/accessx/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/x11/accessx/Makefile b/x11/accessx/Makefile
index 5fdd9591e13f..bfa5ef975af9 100644
--- a/x11/accessx/Makefile
+++ b/x11/accessx/Makefile
@@ -24,6 +24,7 @@ USE_X_PREFIX= yes
post-patch:
${REINPLACE_CMD} \
-e "s@/usr/local@${PREFIX}@" \
+ -e "s@/usr/X11R6/lib@${X11BASE}/lib@" \
-e "s@g\+\+@${CXX} ${CXXFLAGS} -I${X11BASE}/include@g" \
${WRKSRC}/Makefile
${REINPLACE_CMD} -e "s@wish -f@wish8.2 -f@g" ${WRKSRC}/accessx