aboutsummaryrefslogtreecommitdiffstats
path: root/security/sudoscript
diff options
context:
space:
mode:
authorskreuzer <skreuzer@FreeBSD.org>2009-07-07 20:51:15 +0800
committerskreuzer <skreuzer@FreeBSD.org>2009-07-07 20:51:15 +0800
commit4f7c8c815b4a6c45f37f9f3f91f401b7923930ad (patch)
tree6a8f95ff55ae489e23fc05ef1cbf71f157fe7d55 /security/sudoscript
parent464a616dbea641c06ee040031a68f4535fd708dd (diff)
downloadfreebsd-ports-gnome-4f7c8c815b4a6c45f37f9f3f91f401b7923930ad.tar.gz
freebsd-ports-gnome-4f7c8c815b4a6c45f37f9f3f91f401b7923930ad.tar.zst
freebsd-ports-gnome-4f7c8c815b4a6c45f37f9f3f91f401b7923930ad.zip
Fix with custom LOCALBASE / PREFIX
Reported by: QAT Approved by: wxs (mentor)
Diffstat (limited to 'security/sudoscript')
-rw-r--r--security/sudoscript/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/sudoscript/Makefile b/security/sudoscript/Makefile
index a15abc8aa59c..5474dc564470 100644
--- a/security/sudoscript/Makefile
+++ b/security/sudoscript/Makefile
@@ -21,4 +21,8 @@ MANCOMPRESSED= no
USE_GMAKE= yes
USE_PERL5= yes
+post-patch:
+ @${REINPLACE_CMD} -e 's|PREFIX=|PREFIX?=|g' \
+ ${WRKSRC}/Makefile
+
.include <bsd.port.mk>