aboutsummaryrefslogtreecommitdiff
path: root/security/snoopy
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-02-07 21:33:52 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-02-07 21:33:52 +0000
commit702ab93ad4a456ea7955df36cfdd73ddf443541e (patch)
tree54ab8a7d54995a10ee017e95daecc2d839672f95 /security/snoopy
parent588bce33de2f717aad879ff6b47d126db05b575e (diff)
downloadports-702ab93ad4a456ea7955df36cfdd73ddf443541e.tar.gz
ports-702ab93ad4a456ea7955df36cfdd73ddf443541e.zip
- Fix build on amd64 and i64
Submitted by: pointyhat via kris
Notes
Notes: svn path=/head/; revision=184532
Diffstat (limited to 'security/snoopy')
-rw-r--r--security/snoopy/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/security/snoopy/Makefile b/security/snoopy/Makefile
index adec1e4b8044..12d7630c0e90 100644
--- a/security/snoopy/Makefile
+++ b/security/snoopy/Makefile
@@ -15,6 +15,11 @@ COMMENT= An execve() wrapper and logger
PLIST_FILES= lib/snoopy.so bin/detect
PORTDOCS= README
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
+CFLAGS+= -fPIC
+.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/README
@@ -26,4 +31,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>