diff options
Diffstat (limited to 'graphics/aqsis')
-rw-r--r-- | graphics/aqsis/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/aqsis/Makefile b/graphics/aqsis/Makefile index c01eff84a65e..50a492e3eafd 100644 --- a/graphics/aqsis/Makefile +++ b/graphics/aqsis/Makefile @@ -34,9 +34,15 @@ CFLAGS+= -O0 CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -fPIC LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} +.include <bsd.port.pre.mk> + +.if ${ARCH} == "amd64" +BROKEN= "Does not compile on amd64 (needs -fPIC)" +.endif + post-patch: @${REINPLACE_CMD} -e 's|PLUGIN_FLAGS=|#PLUGIN_FLAGS=|g' ${WRKSRC}/configure @${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|malloc\.h|stdlib.h|g' -.include <bsd.port.mk> +.include <bsd.port.post.mk> |