aboutsummaryrefslogtreecommitdiff
path: root/security/sudoscript/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/sudoscript/Makefile')
-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>