summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2000-12-08 21:07:43 +0000
committerAde Lovett <ade@FreeBSD.org>2000-12-08 21:07:43 +0000
commitbd167f8ca77b3d2d3d524a74fb4cb66cb5c80aa3 (patch)
tree4cb63c38075ddf0f8e0da8c05a12bae21b8cec51 /devel
parentUpdate to 2.2.10 (diff)
Mark FORBIDDEN for 4.x and above which already has this in the
base system - lots of wonderful breakages with this port installed too on such systems.
Diffstat (limited to 'devel')
-rw-r--r--devel/ncurses-devel/Makefile8
-rw-r--r--devel/ncurses/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/devel/ncurses-devel/Makefile b/devel/ncurses-devel/Makefile
index 8f9685a9691e..c1c66259a89c 100644
--- a/devel/ncurses-devel/Makefile
+++ b/devel/ncurses-devel/Makefile
@@ -15,6 +15,12 @@ MAINTAINER= ports@FreeBSD.org
Y2K= http://www.gnu.org/software/year2000.html
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 400000
+FORBIDDEN= already is in the base system
+.endif
+
MANUAL_PACKAGE_BUILD= conflicts with system ncurses
USE_LIBTOOL= yes
CONFIGURE_ARGS= --datadir=${PREFIX}/share/misc --disable-overwrite \
@@ -191,4 +197,4 @@ post-install:
@ ${INSTALL_DATA} ${WRKSRC}/c++/${file} ${PREFIX}/share/examples/ncurses/c++
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/ncurses/Makefile b/devel/ncurses/Makefile
index 8f9685a9691e..c1c66259a89c 100644
--- a/devel/ncurses/Makefile
+++ b/devel/ncurses/Makefile
@@ -15,6 +15,12 @@ MAINTAINER= ports@FreeBSD.org
Y2K= http://www.gnu.org/software/year2000.html
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 400000
+FORBIDDEN= already is in the base system
+.endif
+
MANUAL_PACKAGE_BUILD= conflicts with system ncurses
USE_LIBTOOL= yes
CONFIGURE_ARGS= --datadir=${PREFIX}/share/misc --disable-overwrite \
@@ -191,4 +197,4 @@ post-install:
@ ${INSTALL_DATA} ${WRKSRC}/c++/${file} ${PREFIX}/share/examples/ncurses/c++
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>