Commit graph

145 commits

Author SHA1 Message Date
jlam
6d92080aa2 Match the template builtin.mk file in bsd.builtin.mk, and make the two
packages that use builtin.mk files (graphics/xpm and pkgtools/x11-links)
use the new format correctly.
2004-03-29 05:43:28 +00:00
jlam
35ebc5eaab Always create the curses.h -> ncurses.h symlink to match buildlink2
behaviour.
2004-03-20 19:28:46 +00:00
bouyer
5ad6b0e6eb Add a few more files that are not installed on SunOS. 2004-03-19 21:26:29 +00:00
jlam
d0b4c54eb6 Split out the code that deals with checking whether the software is
built-in or not into a separate builtin.mk file.  The code to deal
checking for built-in software is much simpler to deal with in pkgsrc.

The buildlink3.mk file for a package will be of the usual format
regardless of the package, which makes it simpler for packagers to
update a package.

The builtin.mk file for a package must define a single yes/no variable
USE_BUILTIN.<pkg> that is used by bsd.buildlink3.mk to decide whether
to use the built-in software or to use the pkgsrc software.
2004-03-10 17:57:14 +00:00
wiz
7c34813f59 Add two patches (that will end up in the next ncurses release) to make
this build with NetBSD make older than Dec 26 2003.
Problem was that ${FOO:$o=.lo} was not expanded as in GNU make
before that date; problem found by Thomas Dickey.
Remove USE_GNU_TOOLS+=make.
2004-03-08 13:26:03 +00:00
wiz
383fb10142 Add some missing man pages. 2004-03-04 23:51:32 +00:00
wiz
f7e56c1f8f Use GNU make, so this builds again (for me (TM)). 2004-03-04 23:51:24 +00:00
adam
c7bf6dcf79 Changes 5.4:
* Interface changes
* New features and improvements: library, programs
* Major bug fixes
(See ANNOUNCE for details)
2004-03-03 13:36:09 +00:00
jlam
aa67f9a228 In the USE_NCURSES case, if we're not using the built-in ncurses, then
set BUILDLINK_USE_BUILTIN.ncurses to "no".
2004-02-19 17:36:38 +00:00
jlam
5332d1d8f0 I had the result backwards -- if ncurses is built-in and
/usr/lib/libnurses.so exists, then we want to use the built-in ncurses
if USE_NCURSES is set.
2004-02-19 14:56:33 +00:00
jlam
bf6e059da4 Reorder some lines so that BUILDLINK_USE_BUILTIN.<pkg> set in the
environment overrides all other settings.
2004-02-18 16:35:27 +00:00
jlam
740efe9cab Deal with USE_NCURSES if the built-in ncurses really is ncurses. 2004-02-17 16:02:52 +00:00
kristerw
949927ae12 Correct a test that got inverted in rev 1.19, which prevented creation
of the ncurses.h -> /usr/include/curses.h symlink on NetBSD.
2004-02-15 05:57:16 +00:00
snj
4b79b6276d Fix fatal typo in last: check USE_NCURSES, not USE_NCURSE. 2004-02-14 01:03:54 +00:00
jlam
1b8c76c873 Make this file understand USE_NCURSES again. It got lost some time during
the introduction of PREFER_{PKGSRC,NATIVE}.
2004-02-14 00:53:55 +00:00
jlam
a409e54e41 s/_BUILTIN_NCURSES/BUILDLINK_IS_BUILTIN.ncurses/g 2004-02-12 21:08:19 +00:00
jlam
d2b62c66fb Create a new variable PREFER_NATIVE that has the opposite semantics
as PREFER_PKGSRC.  Preferences are determined by the most specific
instance of the package in either PREFER_PKGSRC or PREFER_NATIVE.  If
a package is specified in neither or in both variables, then PREFER_PKGSRC
has precedence over PREFER_NATIVE.
2004-02-12 02:35:06 +00:00
jlam
1edfa505ed Reorganize code so that any dependencies are checked as part of deciding
whether the software is built-in or not.  This facilitates implementing
the forthcoming PKGSRC_NATIVE variable.
2004-02-12 01:59:37 +00:00
jlam
7c68eb548f Move the INCOMPAT_FOO checks to a more natural location within the
block that decides whether package FOO is built-in or not.  If the
platform is listed in IMCOMPAT_FOO, then treat FOO as being not
built-in.
2004-02-11 11:30:49 +00:00
jlam
1b2674fcd7 The BUILDLINK_DEPENDS.<pkg> lines should match between the buildlink3.mk
and any pre-existing buildlink2.mk files.
2004-02-10 20:45:01 +00:00
jlam
7699290f10 If we're passing through MAKEFLAGS variables whose values may contain
spaces, use the :Q modifier instead of double-quoting the value.  This
avoids breakage when executing the just-in-time su targets.
2004-02-06 19:04:24 +00:00
jlam
317cc72791 Make PREFER_PKGSRC just yes/no or a list of packages. This makes it
simpler to understand.
2004-02-05 07:17:14 +00:00
jlam
e7133cac25 Rename BUILDLINK_PREFER_PKGSRC to PREFER_PKGSRC so that we can use its
value outside of buildlink-related files.
2004-02-05 07:06:15 +00:00
jlam
07a9d8dfb2 Support a new global variable:
BUILDLINK_PREFER_PKGSRC
	This variable determines whether or not to prefer the pkgsrc
	versions of software that is also present in the base system.

	This variable is multi-state:
		defined, or "yes"	always prefer the pkgsrc versions
		not defined, or "no"	only use the pkgsrc versions if
					needed by dependency requirements

	This can also take a list of packages for which to prefer the
	pkgsrc-installed software.  The package names may be found by
	consulting the value added to BUILDLINK_PACKAGES in the
	buildlink[23].mk files for that package.
2004-02-05 06:58:02 +00:00
jlam
17d1ca394e These packages need a C++ compiler. 2004-02-02 13:02:49 +00:00
jlam
01a5abff01 Support BUILDLINK_DEPENDS.<pkg> being a list of values. 2004-01-24 03:12:31 +00:00
jlam
94c47fcab3 * Fix stupid bug where this file worked for NetBSD and broke for all
other platforms (a YES should have been a NO, plus it was in the wrong
  place!).  This should fix PR 24129.

* Add more sophisticated ncurses version detection for platforms that
  actually have real ncurses in the base system.  This should be a win
  for FreeBSD systems.

* Downgrade the required ncurses to 5.0.  The previous bump done in
  revision 1.8 wasn't necessary since ncurses never had a dependency on
  libiconv.
2004-01-21 04:28:06 +00:00
jlam
84b66b9a6b Symlink curses.h to ${BUILDLINK_PREFIX.ncurses}/include/ncurses.h so that
this works for both overwrite and pkgviews installation types.
2004-01-19 10:34:26 +00:00
cjep
ad0e1d4402 Whitespace fixes 2004-01-10 17:47:38 +00:00
jlam
1e60f2af54 Be a bit more accurate: we want to match a ".", not any character. 2004-01-10 08:40:07 +00:00
jlam
69c1fe0d3b Create ${PREFIX}/share/examples in pkgviews (NO_MTREE) case. 2004-01-07 01:16:04 +00:00
jlam
d916fe5c4e bl3ify 2004-01-05 12:48:30 +00:00
jlam
d279e6f535 Use S/+$// instead of C/\+$// to save a backslash. Very highly
recommended by seb :)
2004-01-05 11:05:44 +00:00
jlam
5bc310cfaa Sprinkle a few double quotes here and there. 2004-01-05 09:34:23 +00:00
jlam
c9ff27d270 Sow BUILDLINK_USE_BUILTIN.<pkg> and reap _NEED_<PKG> variables. 2004-01-05 09:31:31 +00:00
jlam
47bb2aae5f Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk. 2004-01-04 23:34:04 +00:00
jlam
339cd13cb2 Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
2004-01-03 23:06:43 +00:00
cjep
15d9504c29 Whitespace fixes 2003-12-30 23:14:17 +00:00
reed
d9b7f0b71f Allow ncurses to install useful reset, tset, tput and clear utilities
(and manpages).  This is in regards to my PR #23103.
I bumped PKGREVISION in Makefile but not in buildlink2.mk file.
The ncurses libraries and headers didn't change. No need to bump
PKGREVISIONs for all the packages that depend on libncurses.
2003-12-20 08:49:27 +00:00
salo
fc5b95dbf7 basename -> ${BASENAME}, from Soren Jacobsen via PR pkg/23538. 2003-11-23 07:12:01 +00:00
agc
d30d36cb6f pkglint nit - get rid of trailing whitespace 2003-10-04 20:25:11 +00:00
jlam
a9f08159c4 Back out last change related to moving ncurses/buildlink2.mk to
curses.buildlink2.mk.  This was wrong because we _really_ do want to
express that we want _n_curses when we include the buildlink2.mk file.

We should have a better way to say that the NetBSD curses doesn't
quite work well enough.  In fact, it's far better to depend on ncurses
by default, and exceptionally note when it's okay to use NetBSD curses
for specific packages.  We will look into this again in the future.
2003-09-28 09:13:55 +00:00
grant
7a71199b50 move ncurses/buildlink2.mk to mk/curses.buildlink2.mk, as it provides
support for base system curses/ncurses as well as ncurses itself.

suggested by wiz.
2003-09-27 17:07:34 +00:00
grant
f56e4ec111 handle the case where the base system has no (n)curses. 2003-09-27 10:27:39 +00:00
grant
8b22a01dc2 whitespace police 2003-09-27 10:20:29 +00:00
yyamano
586ecdad65 Mark curses on Darwin as incompatible.
Close PR pkg/21649 by Michael Wolfson.
2003-09-23 09:58:12 +00:00
grant
56ed461304 use USE_GNU_TOOLS+= so we can co-exist with a user's setting. 2003-08-02 04:24:58 +00:00
grant
c9d0c5fdc8 USE_GNU_TOOLS=awk 2003-08-02 03:56:37 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00