aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2005-05-22 01:34:25 +0800
committerkris <kris@FreeBSD.org>2005-05-22 01:34:25 +0800
commita1e168ebf469623bb854f65b452760165d68661b (patch)
tree2e106cd7c0279b5807379479ba7a99e6acbac9e1 /x11-toolkits
parent2b03593e32431ba7432bae4b82c4ffb481f46a0a (diff)
downloadfreebsd-ports-gnome-a1e168ebf469623bb854f65b452760165d68661b.tar.gz
freebsd-ports-gnome-a1e168ebf469623bb854f65b452760165d68661b.tar.zst
freebsd-ports-gnome-a1e168ebf469623bb854f65b452760165d68661b.zip
Attempt to "fix" build on ia64 by applying same nasty hack as for amd64.
Diffstat (limited to 'x11-toolkits')
-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>