summaryrefslogtreecommitdiff
path: root/graphics/aqsis
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-01-31 10:40:58 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-01-31 10:40:58 +0000
commit1d4301b233bb228332ed1fda522eb9d90ada0303 (patch)
treeb5d791582c47ecda48dcc7d81235464a36ac67aa /graphics/aqsis
parentUpdate to 9999.07. (diff)
BROKEN on amd64: Does not compile on amd64 (needs -fPIC)
Notes
Notes: svn path=/head/; revision=127768
Diffstat (limited to 'graphics/aqsis')
-rw-r--r--graphics/aqsis/Makefile8
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>