aboutsummaryrefslogtreecommitdiffstats
path: root/security/lockdown
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-07-30 01:18:17 +0800
committervs <vs@FreeBSD.org>2005-07-30 01:18:17 +0800
commiteb5b3689c6ce353baa19eaa29fbce0c46d55ed9b (patch)
treef1b16a5c8fcf012433ff475542b3ca92202816fe /security/lockdown
parent6f9a3b7d34bf5b5f1de5af500b6513bac0770d04 (diff)
downloadfreebsd-ports-graphics-eb5b3689c6ce353baa19eaa29fbce0c46d55ed9b.tar.gz
freebsd-ports-graphics-eb5b3689c6ce353baa19eaa29fbce0c46d55ed9b.tar.zst
freebsd-ports-graphics-eb5b3689c6ce353baa19eaa29fbce0c46d55ed9b.zip
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.
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 a28622a30b8..91698d30c3c 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