1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Fix build on 64 bits platforms.

Reported by:	pointyhat via Pav.
This commit is contained in:
Thierry Thomas 2007-09-04 19:10:05 +00:00
parent 0bdaeb45a1
commit ab9b996c62
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=198755

View File

@ -22,6 +22,12 @@ USE_LDCONFIG= yes
PORTDOCS= *
.include <bsd.port.pre.mk>
.if ${ARCH} != i386
CFLAGS+= -fPIC
.endif
pre-configure:
${REINPLACE_CMD} -e 's|-O3|${CXXFLAGS}|' ${WRKSRC}/${CONFIGURE_SCRIPT}
@ -40,4 +46,4 @@ regression-test:
.endfor
${LS} -l ${WRKDIR}/arithm* ${WRKDIR}/draw*
.include <bsd.port.mk>
.include <bsd.port.post.mk>