aboutsummaryrefslogtreecommitdiff
path: root/math/biggles/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/biggles/Makefile')
-rw-r--r--math/biggles/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/math/biggles/Makefile b/math/biggles/Makefile
index 9186c8f26b40..7708f6e1f69d 100644
--- a/math/biggles/Makefile
+++ b/math/biggles/Makefile
@@ -21,5 +21,10 @@ LIB_DEPENDS= plot:${PORTSDIR}/graphics/plotutils
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+USE_LDCONFIG= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/make.inc
+ @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/setup.py
.include <bsd.port.mk>