diff options
-rw-r--r-- | devel/libical/Makefile | 6 |
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> |