summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/evolution-exchange/Makefile4
-rw-r--r--mail/ximian-connector/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/mail/evolution-exchange/Makefile b/mail/evolution-exchange/Makefile
index b15c1223a..29c093c32 100644
--- a/mail/evolution-exchange/Makefile
+++ b/mail/evolution-exchange/Makefile
@@ -45,4 +45,8 @@ LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal
CONFIGURE_ARGS+= --with-krb5=${LOCALBASE}
.endif
+.if ${ARCH} == "amd64"
+CONFIGURE_ENV+= CFLAGS="${CFLAGS} -fPIC"
+.endif
+
.include <bsd.port.post.mk>
diff --git a/mail/ximian-connector/Makefile b/mail/ximian-connector/Makefile
index b15c1223a..29c093c32 100644
--- a/mail/ximian-connector/Makefile
+++ b/mail/ximian-connector/Makefile
@@ -45,4 +45,8 @@ LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal
CONFIGURE_ARGS+= --with-krb5=${LOCALBASE}
.endif
+.if ${ARCH} == "amd64"
+CONFIGURE_ENV+= CFLAGS="${CFLAGS} -fPIC"
+.endif
+
.include <bsd.port.post.mk>