diff options
-rw-r--r-- | astro/celestia/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/astro/celestia/Makefile b/astro/celestia/Makefile index fc161ab69205..181d6382495f 100644 --- a/astro/celestia/Makefile +++ b/astro/celestia/Makefile @@ -41,6 +41,12 @@ CONFIGURE_ENV= \ CONFIGURE_ARGS+= --without-gtk .endif +.include <bsd.port.pre.mk> + +.if ${ARCH} != "i386" +BROKEN= "Does not compile on !i386" +.endif + pre-patch: ${REINPLACE_CMD} -e \ 's:-O2::g; s:-Wall::g; s:-ffast-math::g; s:-fexpensive-optimizations::g; s:! /bin/sh:! ${LOCALBASE}/bin/bash:g' \ @@ -106,4 +112,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/textures/medres/*.??? \ ${DATADIR}/textures/medres/ -.include <bsd.port.mk> +.include <bsd.port.post.mk> |