diff options
author | wiz <wiz> | 2001-11-30 01:26:32 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-11-30 01:26:32 +0000 |
commit | e961c2cf9c68c9b31dc42fd7461a4885f40a0e4f (patch) | |
tree | 657469433851835a520358101ce255222ea46c96 /Packages.txt | |
parent | 3f5dcd19719fe012209360c51103b7e3bfcb2866 (diff) | |
download | pkgsrc-e961c2cf9c68c9b31dc42fd7461a4885f40a0e4f.tar.gz |
Remove REPLACE_CURSES from bsd.pkg.mk (not needed anymore), and don't
document it and USE_CURSES in Packages.txt anymore (packages should
really use devel/ncurses/buildlink.mk instead).
Diffstat (limited to 'Packages.txt')
-rw-r--r-- | Packages.txt | 38 |
1 files changed, 2 insertions, 36 deletions
diff --git a/Packages.txt b/Packages.txt index b671d528df8..141896e4cc4 100644 --- a/Packages.txt +++ b/Packages.txt @@ -1,4 +1,4 @@ -# $NetBSD: Packages.txt,v 1.216 2001/11/29 01:12:24 hubertf Exp $ +# $NetBSD: Packages.txt,v 1.217 2001/11/30 01:26:32 wiz Exp $ ########################################################################### ========================== @@ -2041,41 +2041,7 @@ unconditionally prevent users from generating binary packages! ============================== Some packages need curses functionality that wasn't present in NetBSD's own -curses prior to 1.4Y. For packages using such functionality there are two -options, setting USE_CURSES or including ../../devel/ncurses/buildlink.mk -in the package's Makefile. - - - 10.20.1 USE_CURSES - =================== - -If USE_CURSES is set in a package's Makefile, NEED_NCURSES is set -automatically to YES or NO, depending on whether a dependency on ncurses is -needed on this system. You can use this variable to e.g. add arguments to -configure to tell the package whether to use ncurses. - -Additionally, you can set REPLACE_NCURSES to some filenames; in each of -these files, each occurrence of 'ncurses' is replaced by 'curses' if the -package doesn't need ncurses. You may need this in some cases if ncurses -are installed, and the package's configure script prefers ncurses. - -For example, in pkgsrc/mail/mutt, the relevant lines are: - - USE_CURSES= YES - REPLACE_NCURSES= configure configure.in - ... - .include "../../mk/bsd.prefs.mk" - - .if defined(NEED_NCURSES) && ${NEED_NCURSES} == "YES" - CONFIGURE_ARGS+= --with-curses=${LOCALBASE} - .endif - -Please note that the check for NEED_NCURSES has to be below the -inclusion of bsd.prefs.mk, since the variable is set there. - - - 10.20.2 devel/ncurses/buildlink.mk - ================================== +curses prior to 1.4Y. If ../../devel/ncurses/buildlink.mk is included in a package's Makefile, then a curses library and headers with ncurses functionality are linked |