aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
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>