diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2007-09-04 19:10:05 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2007-09-04 19:10:05 +0000 |
commit | ab9b996c627ef955218c89fe8a6c53208494cd67 (patch) | |
tree | 4cb823a06284a55741eb80bff1102db030fbf05a /graphics/libboard | |
parent | 0bdaeb45a14aa9df899acb8b09435ca2fb98df88 (diff) | |
download | ports-ab9b996c627ef955218c89fe8a6c53208494cd67.tar.gz ports-ab9b996c627ef955218c89fe8a6c53208494cd67.zip |
Notes
Diffstat (limited to 'graphics/libboard')
-rw-r--r-- | graphics/libboard/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/libboard/Makefile b/graphics/libboard/Makefile index 83807026a377..52ecace7353d 100644 --- a/graphics/libboard/Makefile +++ b/graphics/libboard/Makefile @@ -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> |