diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2005-05-21 17:34:25 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2005-05-21 17:34:25 +0000 |
commit | ec952418d4681daa5af4cbcb6b826f93b86ed590 (patch) | |
tree | 93f7577dbdba88127f6300a34a3a662642785ed6 /x11-toolkits/gai | |
parent | d6b5bec1985d36f2680936dc099a3088a4964540 (diff) | |
download | ports-ec952418d4681daa5af4cbcb6b826f93b86ed590.tar.gz ports-ec952418d4681daa5af4cbcb6b826f93b86ed590.zip |
Notes
Diffstat (limited to 'x11-toolkits/gai')
-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> |