aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/evolution/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile
index 0efb6235639..5a9b6eb2548 100644
--- a/mail/evolution/Makefile
+++ b/mail/evolution/Makefile
@@ -64,6 +64,10 @@ CONFIGURE_ARGS+=--with-openldap=${LOCALBASE}
CONFIGURE_ARGS+=--with-openldap=no
.endif
+.if ${ARCH} == "amd64"
+CONFIGURE_ARGS+=--with-pic
+.endif
+
post-patch:
@${FIND} ${WRKSRC} -type f -name "*.[ch]" | ${XARGS} ${GREP} -l '<db.h>' | \
${XARGS} ${REINPLACE_CMD} -e 's|<db.h>|<db3/db.h>|g'