aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2006-12-02 21:06:39 +0800
committerlinimon <linimon@FreeBSD.org>2006-12-02 21:06:39 +0800
commit41f7344b110013d2893645a3e1b6cf43f396ae48 (patch)
tree452d1a4c20df743c2c0c7c39500bdd920361c9a5 /math
parentbd7a9f60549a50b318928c98b22d903a73c5fc6b (diff)
downloadfreebsd-ports-gnome-41f7344b110013d2893645a3e1b6cf43f396ae48.tar.gz
freebsd-ports-gnome-41f7344b110013d2893645a3e1b6cf43f396ae48.tar.zst
freebsd-ports-gnome-41f7344b110013d2893645a3e1b6cf43f396ae48.zip
Respect X11BASE.
PR: ports/106159 Submitted by: rafan
Diffstat (limited to 'math')
-rw-r--r--math/ploticus/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/math/ploticus/Makefile b/math/ploticus/Makefile
index 4f736075006b..4d9fa962a00a 100644
--- a/math/ploticus/Makefile
+++ b/math/ploticus/Makefile
@@ -44,6 +44,10 @@ PKGNAMESUFFIX= -nox11
USE_XPM= yes
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},g' \
+ ${WRKSRC}/Makefile ${WRKSRC}/Makefile_api
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pl ${PREFIX}/bin/ploticus
@${MKDIR} ${DATADIR}