From 41f7344b110013d2893645a3e1b6cf43f396ae48 Mon Sep 17 00:00:00 2001 From: linimon Date: Sat, 2 Dec 2006 13:06:39 +0000 Subject: Respect X11BASE. PR: ports/106159 Submitted by: rafan --- math/ploticus/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'math') 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} -- cgit