aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2005-12-10 12:57:43 +0800
committerlawrance <lawrance@FreeBSD.org>2005-12-10 12:57:43 +0800
commitafc58e549e2d76bd010108e48558ff9a5081e9f3 (patch)
tree48dcfbce10655d0f2ae372883b6906d9b5dab6a7
parent899dd95e7e09b7e02932d0a863515f10d6587a17 (diff)
downloadfreebsd-ports-gnome-afc58e549e2d76bd010108e48558ff9a5081e9f3.tar.gz
freebsd-ports-gnome-afc58e549e2d76bd010108e48558ff9a5081e9f3.tar.zst
freebsd-ports-gnome-afc58e549e2d76bd010108e48558ff9a5081e9f3.zip
Mark broken on 4.x due to C++-related build failure.
-rw-r--r--graphics/gdal/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile
index 42c02cf07110..65b4c2fbac1f 100644
--- a/graphics/gdal/Makefile
+++ b/graphics/gdal/Makefile
@@ -46,4 +46,10 @@ MAN1= gdal-config.1 gdal_utilities.1 gdalwarp.1 ogrtindex.1 \
post-patch:
@${REINPLACE_CMD} -e 's|6LIBZ|6|;;s|lgif|lungif|' ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "C++ code does not compile on 4.x"
+.endif
+
+.include <bsd.port.post.mk>