summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--astro/nova/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/astro/nova/Makefile b/astro/nova/Makefile
index ed2ad5826aa2..1e2930e0b425 100644
--- a/astro/nova/Makefile
+++ b/astro/nova/Makefile
@@ -27,12 +27,17 @@ LIB_DEPENDS= sigc-1.2.5:${PORTSDIR}/devel/libsigc++12 \
RUN_DEPENDS= ${LOCALBASE}/share/nova/catalogs/sky2000.ncd:${PORTSDIR}/astro/sky2000
USE_REINPLACE= yes
-USE_GCC= 3.3
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "Does not compile with gcc 2.x"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's,/nova/,/share/nova/,' ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>