aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-06-04 12:23:41 +0800
committermarcus <marcus@FreeBSD.org>2004-06-04 12:23:41 +0800
commit81ced43c05c9c7cf1249f083878be211a90c9bc1 (patch)
tree52593f1283ad00b853cb11398672b287f8dbae47
parent204b0691f289bc408daae5590452d787c8d67214 (diff)
downloadfreebsd-ports-graphics-81ced43c05c9c7cf1249f083878be211a90c9bc1.tar.gz
freebsd-ports-graphics-81ced43c05c9c7cf1249f083878be211a90c9bc1.tar.zst
freebsd-ports-graphics-81ced43c05c9c7cf1249f083878be211a90c9bc1.zip
Fix build on amd64 by adding --with-pic to CONFIGURE_ARGS.
Submitted by: Sean McNeil <sean@mcneil.com>
-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'