summaryrefslogtreecommitdiff
path: root/security/lockdown
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-07-29 17:18:17 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-07-29 17:18:17 +0000
commite79710b377e2323946b7428bb50ec7913c332e49 (patch)
treee1fe5246bebe7fcb169bddcf094832578ff8b572 /security/lockdown
parent- Update to 1.3 [1] (diff)
Fix build on amd64 with -fPIC
PR: ports/84156 Submitted by: Hirohisa Yamaguchi Approved by: maintainer Note w.r.t. 4.x: The .depend-issue can be fixed through 'gmake'. However, then it still needs a patch for a missing <sys/time.h>, and still won't build with neither gcc-2.95, 3.4 or 4.0, so I didn't bother.
Notes
Notes: svn path=/head/; revision=140415
Diffstat (limited to 'security/lockdown')
-rw-r--r--security/lockdown/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/lockdown/Makefile b/security/lockdown/Makefile
index a28622a30b85..91698d30c3c1 100644
--- a/security/lockdown/Makefile
+++ b/security/lockdown/Makefile
@@ -22,6 +22,10 @@ MAN1= editfile.1 editfstab.1 editkernel.1 editlogin.1 editttys.1
BROKEN= "Does not build on 4.x"
.endif
+.if ${ARCH} == amd64
+CFLAGS+= -fPIC
+.endif
+
INSTALLS_SHLIB= yes
WRKSRC= ${WRKDIR}/lockdown