diff options
author | miwi <miwi@FreeBSD.org> | 2007-02-08 05:33:52 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-02-08 05:33:52 +0800 |
commit | 1a8bd6c39c1d85a1687dccbe2eb7e9443a2f6d65 (patch) | |
tree | 234712c4e2789447793e24e56c75d5859e23e012 /security | |
parent | 395e0429a806ad89183ed4d6523f860cf21dc6ee (diff) | |
download | freebsd-ports-gnome-1a8bd6c39c1d85a1687dccbe2eb7e9443a2f6d65.tar.gz freebsd-ports-gnome-1a8bd6c39c1d85a1687dccbe2eb7e9443a2f6d65.tar.zst freebsd-ports-gnome-1a8bd6c39c1d85a1687dccbe2eb7e9443a2f6d65.zip |
- Fix build on amd64 and i64
Submitted by: pointyhat via kris
Diffstat (limited to 'security')
-rw-r--r-- | security/snoopy/Makefile | 7 |
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> |