svn commit: r403376 - head/devel/ncurses
Baptiste Daroussin
bapt at FreeBSD.org
Wed Dec 9 11:57:18 UTC 2015
Author: bapt
Date: Wed Dec 9 11:57:16 2015
New Revision: 403376
URL: https://svnweb.freebsd.org/changeset/ports/403376
Log:
Install curses.h
the ncurses ports was specially configured for a while to not install the
curses.h header, expecting ports to use ncurses.h. How ever lots of ports are
still using curses.h instead of ncurses.h. Those ended up using curses.h from
base and other headers from the port. It worked by chances until now.
Modify this port to make sure curses.h is installed so the ports will use the
proper set of headers instead of mixing potentially incompatible ones.
While here modify ncurses*6-config to prevent it to expose -I arguments pointing
to a non existing directory
PR: 205155
Reported by: yamagi at yamagi.org
Modified:
head/devel/ncurses/Makefile
head/devel/ncurses/pkg-plist
Modified: head/devel/ncurses/Makefile
==============================================================================
--- head/devel/ncurses/Makefile Wed Dec 9 11:57:01 2015 (r403375)
+++ head/devel/ncurses/Makefile Wed Dec 9 11:57:16 2015 (r403376)
@@ -3,7 +3,7 @@
PORTNAME= ncurses
PORTVERSION= 6.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://invisible-mirror.net/archives/${PORTNAME}/ \
ftp://invisible-island.net/${PORTNAME}/
@@ -26,7 +26,7 @@ CONFIGURE_ARGS= --datadir=${PREFIX}/shar
--with-pkg-config=yes --enable-pc-files \
--includedir=${PREFIX}/include/ncurses \
--with-shared \
- --without-curses-h --with-termlib --program-prefix= \
+ --with-termlib --program-prefix= \
--enable-rpath --disable-root-environ \
--with-manpage-format=gzip --srcdir=../ \
--without-manpage-renames \
@@ -94,6 +94,7 @@ post-extract:
post-patch:
@${REINPLACE_CMD} -e 's,$$(INSTALL_PROG) ncurses-config, at INSTALL_SCRIPT@ ncurses-config,' ${WRKSRC}/misc/Makefile.in
+ @${REINPLACE_CMD} -e 's,/usr/include,${PREFIX}/include,g' ${WRKSRC}/misc/ncurses-config.in
post-configure:
cd ${.CURDIR} && \
Modified: head/devel/ncurses/pkg-plist
==============================================================================
--- head/devel/ncurses/pkg-plist Wed Dec 9 11:57:01 2015 (r403375)
+++ head/devel/ncurses/pkg-plist Wed Dec 9 11:57:16 2015 (r403376)
@@ -10,6 +10,7 @@ bin/infotocap
bin/captoinfo
bin/ncurses%%ABI_VER%%-config
bin/ncursesw%%ABI_VER%%-config
+include/ncurses/curses.h
include/ncurses/cursesapp.h
include/ncurses/cursesf.h
include/ncurses/cursesm.h
More information about the svn-ports-all
mailing list