Commit graph

155 commits

Author SHA1 Message Date
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
jlam
bda6801430 Create directories before putting files in them. This should fix
PR pkg/28480.
2004-12-11 00:32:16 +00:00
jlam
9636b9d697 Reverse the tests so that we actually check for the existence and not
the non-existence of the library -- this more accurately reflects what
we want to say.
2004-11-28 05:44:34 +00:00
jlam
9a38f17ac4 Standardize how we search for libraries in builtin.mk files. We define
_BLNK_LIB_FOUND.<lib> to "yes" or "no" depending on whether -l<lib> is
found in the base system.
2004-11-26 23:16:35 +00:00
tv
d133a216ec Oy, what a hack. But then, so is Interix....
On Interix, force inclusion of devel/ncurses/buildlink3.mk from
mk/curses.buildlink3.mk.  This forces inclusion of its builtin.mk too.

In devel/ncurses/builtin.mk, if using Interix's builtin ncurses, always
transform -lncurses to -lcurses.  (-lncurses is static, but -lcurses is
shared; we want the shared version.)
2004-10-13 20:10:31 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
jlam
9809354d38 Remove explicit dependency on groff -- set USE_TBL instead. 2004-07-21 19:58:57 +00:00
drochner
e257f0a8da depend on groff 2004-07-09 13:51:20 +00:00
wiz
4237d54a34 Unused. 2004-07-06 22:41:15 +00:00
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