aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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