aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2005-01-31 18:40:58 +0800
committerkrion <krion@FreeBSD.org>2005-01-31 18:40:58 +0800
commit40983b619c427cbe25684d870ab760f05971099e (patch)
tree42744e888b7848772be60d51f0903d15a8472e6a /graphics
parent503ba35e6397289776993edc70173840c12fdd65 (diff)
downloadfreebsd-ports-gnome-40983b619c427cbe25684d870ab760f05971099e.tar.gz
freebsd-ports-gnome-40983b619c427cbe25684d870ab760f05971099e.tar.zst
freebsd-ports-gnome-40983b619c427cbe25684d870ab760f05971099e.zip
BROKEN on amd64: Does not compile on amd64 (needs -fPIC)
Diffstat (limited to 'graphics')
-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>