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:
parent
0bdaeb45a1
commit
ab9b996c62
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=198755
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user