On amd64, include -fPIC in CFLAGS.

PR:		ports/63200
Reported by:	Hendrik Scholz <hendrik@scholz.net>
This commit is contained in:
Jacques Vidrine 2004-02-23 14:03:37 +00:00
parent 58a46d1c44
commit b3cb478760
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101862

View File

@ -27,6 +27,7 @@ CONFIGURE_ARGS+= \
--disable-afs-support \
--without-x
CONFIGURE_ENV+= \
"CFLAGS=${CFLAGS}" \
"CPPFLAGS=-DOPENSSL_DES_LIBDES_COMPATIBILITY" \
"LDFLAGS=-Wl,-rpath,${PREFIX}/lib"
@ -45,4 +46,8 @@ setuids:
.endfor
.include "Makefile.man"
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
CFLAGS+= -fPIC
.endif
.include <bsd.port.post.mk>