aboutsummaryrefslogtreecommitdiffstats
path: root/security
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
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')
-rw-r--r--security/sniff/Makefile4
-rw-r--r--security/sudoscript/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/security/sniff/Makefile b/security/sniff/Makefile
index 63c4068fda00..455676fd6af9 100644
--- a/security/sniff/Makefile
+++ b/security/sniff/Makefile
@@ -19,4 +19,8 @@ PLIST_FILES= sbin/sniff
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configure
+post-patch:
+ @${REINPLACE_CMD} -e 's|PREFIX=|PREFIX?=|g' \
+ ${WRKSRC}/Makefile.in
+
.include <bsd.port.mk>
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>