aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gai
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2005-05-21 17:34:25 +0000
committerKris Kennaway <kris@FreeBSD.org>2005-05-21 17:34:25 +0000
commitec952418d4681daa5af4cbcb6b826f93b86ed590 (patch)
tree93f7577dbdba88127f6300a34a3a662642785ed6 /x11-toolkits/gai
parentd6b5bec1985d36f2680936dc099a3088a4964540 (diff)
downloadports-ec952418d4681daa5af4cbcb6b826f93b86ed590.tar.gz
ports-ec952418d4681daa5af4cbcb6b826f93b86ed590.zip
Notes
Diffstat (limited to 'x11-toolkits/gai')
-rw-r--r--x11-toolkits/gai/Makefile6
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>