summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-03-13 10:04:53 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-03-13 10:04:53 +0000
commite0873e1d9b5cb8fae03cb3219ca474e0da4fd594 (patch)
treecbd397d9abf689c73dcc9c2b43f534c76c61bd3b /graphics
parentBROKEN on !i386 and !alpha: Does not compile (diff)
BROKEN on !i386: Does not compile
Notes
Notes: svn path=/head/; revision=103859
Diffstat (limited to 'graphics')
-rw-r--r--graphics/swfdec/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/swfdec/Makefile b/graphics/swfdec/Makefile
index e0c412307d00..1f7ee4632fb9 100644
--- a/graphics/swfdec/Makefile
+++ b/graphics/swfdec/Makefile
@@ -30,8 +30,14 @@ INSTALLS_SHLIB= yes
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+BROKEN= "Does not compile on !i386"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG:T}|g" ${WRKSRC}/configure
@${REINPLACE_CMD} -e "s|malloc\.h|stdlib.h|g" ${WRKSRC}/libswfdec/jpeg/sl_types.h
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>