diff options
author | vs <vs@FreeBSD.org> | 2005-07-30 01:18:17 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-07-30 01:18:17 +0800 |
commit | eb5b3689c6ce353baa19eaa29fbce0c46d55ed9b (patch) | |
tree | f1b16a5c8fcf012433ff475542b3ca92202816fe /security/lockdown | |
parent | 6f9a3b7d34bf5b5f1de5af500b6513bac0770d04 (diff) | |
download | freebsd-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/Makefile | 4 |
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 |