summaryrefslogtreecommitdiff
path: root/mail/evolution
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-06-04 04:23:41 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-06-04 04:23:41 +0000
commit7847d8fbdef6b9fc74cc158d5ec8c5df87e3873c (patch)
tree61b66e54ac5adedfe08a81ab5ce2d48c2341e3e1 /mail/evolution
parentUpdate to version 4.31.6. (diff)
Fix build on amd64 by adding --with-pic to CONFIGURE_ARGS.
Submitted by: Sean McNeil <sean@mcneil.com>
Notes
Notes: svn path=/head/; revision=110803
Diffstat (limited to 'mail/evolution')
-rw-r--r--mail/evolution/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile
index 0efb62356395..5a9b6eb2548f 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'