diff options
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/gai/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/x11-toolkits/gai/Makefile b/x11-toolkits/gai/Makefile index 29052c03af46..0623378e8ef5 100644 --- a/x11-toolkits/gai/Makefile +++ b/x11-toolkits/gai/Makefile @@ -30,7 +30,9 @@ PLIST_FILES= include/gai/gai.h lib/libgai.so.${PORTVERSION} \ PLIST_DIRS= include/gai INSTALLS_SHLIB= yes -.if ${MACHINE_ARCH:L} == "amd64" +.include <bsd.port.pre.mk> + +.if ${ARCH} == "amd64" || ${ARCH} == "ia64" CFLAGS+= -fPIC .endif @@ -57,4 +59,4 @@ post-install: ${SED} "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |