aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libical
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-02-20 23:34:19 +0800
committerarved <arved@FreeBSD.org>2004-02-20 23:34:19 +0800
commitd628e27dcda12906592cd3a42841dbbd14c7d3aa (patch)
tree10746113eeba9732145d3600e5c6987ae9d16b2f /devel/libical
parentfe4fb9444a65abd5481cb9e35e864f66912682c0 (diff)
downloadfreebsd-ports-gnome-d628e27dcda12906592cd3a42841dbbd14c7d3aa.tar.gz
freebsd-ports-gnome-d628e27dcda12906592cd3a42841dbbd14c7d3aa.tar.zst
freebsd-ports-gnome-d628e27dcda12906592cd3a42841dbbd14c7d3aa.zip
Fix build on AMD64
PR: 63111 Submitted by: Hendrik Scholz <hendrik@scholz.net>
Diffstat (limited to 'devel/libical')
-rw-r--r--devel/libical/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/libical/Makefile b/devel/libical/Makefile
index 412316def58d..daa009d7ccf5 100644
--- a/devel/libical/Makefile
+++ b/devel/libical/Makefile
@@ -29,4 +29,8 @@ CONFIGURE_ARGS= --enable-python=no
PLIST_SUB+= PYTHON:="@comment "
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${ARCH} == "amd64"
+CONFIGURE_ENV= CFLAGS="${CFLAGS} -fPIC"
+.endif
+.include <bsd.port.post.mk>