diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2006-12-02 13:06:39 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2006-12-02 13:06:39 +0000 |
commit | f461c35f59e904586f5f6428a1f255fccd606a2f (patch) | |
tree | 6dee722c7e8075a1ab31d494d5411202cc7d2000 /math | |
parent | - Unbreak: fix build on 5.X and above (diff) |
Respect X11BASE.
PR: ports/106159
Submitted by: rafan
Notes
Notes:
svn path=/head/; revision=178585
Diffstat (limited to 'math')
-rw-r--r-- | math/ploticus/Makefile | 4 |
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} |