aboutsummaryrefslogtreecommitdiff
path: root/security/cyrus-sasl2
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-06-13 11:05:47 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-06-13 11:05:47 +0000
commitb5f5637f4ab4c58f0e2744421f606ddfc658a654 (patch)
treeba9f9d568408528e78866c56e7cba295dc2c1b9f /security/cyrus-sasl2
parent93ef84dec5233dc7460914d50f95d260cf581622 (diff)
downloadports-b5f5637f4ab4c58f0e2744421f606ddfc658a654.tar.gz
ports-b5f5637f4ab4c58f0e2744421f606ddfc658a654.zip
- Fix build on amd64 by using -fPIC
PR: ports/108697 Submitted by: Gardner Bell <gbell72@rogers.com> Approved by: ume (maintainer timeout, since 2 February 2007)
Notes
Notes: svn path=/head/; revision=193387
Diffstat (limited to 'security/cyrus-sasl2')
-rw-r--r--security/cyrus-sasl2/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile
index aed3c81b7be5..3722a3e7202f 100644
--- a/security/cyrus-sasl2/Makefile
+++ b/security/cyrus-sasl2/Makefile
@@ -156,6 +156,10 @@ CONFIGURE_ARGS+=--enable-ntlm
.include <bsd.port.pre.mk>
+.if ${ARCH} == "amd64"
+CPPFLAGS+= -fPIC
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+.endif
.if !defined(WITHOUT_GSSAPI) && defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.so)
CONFIGURE_ARGS+=--enable-gssapi=${KRB5_HOME} --with-gss_impl=mit
.elif !defined(WITHOUT_GSSAPI) && defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/libgssapi.a)