1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Attempt to "fix" build on ia64 by applying same nasty hack as for amd64.

This commit is contained in:
Kris Kennaway 2005-05-21 17:34:25 +00:00
parent d6b5bec198
commit ec952418d4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135786

View File

@ -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>