Commit graph

87 commits

Author SHA1 Message Date
gdt
fa53018331 Set LICENSE. 2012-12-13 00:57:23 +00:00
asau
354ee694fd Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 21:25:15 +00:00
obache
c0b140e57c Don't set BUILDLINK_LIBS for db1, db2 and db3, same as db4.
It will add BDB libraries to LIBS, and may introduce unwanted linked against BDB
libraries, whether needed or not.
2012-02-05 12:16:56 +00:00
joerg
f0e3267b87 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 18:36:19 +00:00
joerg
0268c554bd Remove @dirrm entries from PLISTs 2009-06-14 17:38:38 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
wiz
bec0102961 Fix
../dist/configure: 1: Syntax error: Unterminated quoted string
appearing on -current.
2008-05-01 23:41:21 +00:00
tnn
882d3eb4fe Put back a couple of IRIX conditionals the way they used to behave,
e.g. match IRIX 5.x but not 6.x. Some of these may indeed apply to 6.x
too, but let's be conservative. PR pkg/38224.
2008-03-11 18:47:40 +00:00
jlam
0ed370d43b + Name the programs installed by the db(2) package db2_*.
+ Put documentation under ${PREFIX}/share/doc instead of
  ${PREFIX}/share/doc/html.  Packages that install documentation under the
  "html" directory are supposed to move them to the "doc" directory when
  they're updated, but these packages are basically EOL'ed so just move
  them now.

+ Add full DESTDIR support.

Bump the PKGREVISION of databases/db to 3 and databases/db3 to 4.
2008-02-21 19:32:23 +00:00
obache
aed2ea2f16 Change *_SITES to oracle (old one does not exist anymore). 2008-01-12 06:31:17 +00:00
wiz
8a5b10ea93 Update HOMEPAGES and MASTER_SITES; from Sergey Svishchev. 2007-12-02 13:04:06 +00:00
tnn
24d5b54409 Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead. 2007-10-16 23:48:58 +00:00
joerg
5e43280b23 Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes.
The redundant parsing of bsd.prefs.mk is mostly avoided now and
parse time e.g. for x11/kdebase3 gets reduced by up to 10%.
2006-12-12 21:52:34 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
joerg
b8a862d8ee Fix path in patch. 2006-06-30 11:22:04 +00:00
rillig
05cf9f8da2 Added patch-ae, which fixes the java-db3 build with jdk-1.5. 2006-06-26 09:53:56 +00:00
rillig
4d6c38255b It suffices to load bsd.prefs.mk once. 2006-05-31 10:09:24 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
1cebc7c947 Add case for DragonFly and modify -lpthread detection to check for
-pthread as well. This can be simplified once PTHREAD_* on NetBSD
is fixed.
2005-12-02 19:39:23 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jschauma
cc21798bb0 Start to make this work on (even older) IRIX: check for __sgi rather than sgi
This was originally reported in PR 28819 by Georg Schwarz for db4 and
also noted by Georg to apply to this package.
2005-02-27 21:50:26 +00:00
agc
671d62d2e2 Add RMD160 digests in addition to SHA1 ones. 2005-02-23 16:33:05 +00:00
grant
2f3542f78c tell configure to ignore inttypes.h on irix 5 because it is known to
be incompatible with sys/types.h.

fixes PR pkg/28545 from Georg Schwarz.
2004-12-18 16:12:41 +00:00
grant
671be4b15a fix URL in MASTER_SITES. 2004-12-16 04:36:29 +00:00
jlam
b67b0725c4 Rework the Berkeley DB detection in buildlink3:
* Add a db1.builtin.mk file that detects whether DB-1.85 functionality
    exists in the base system, and remove the distinction between
    "native" and the other Berkeley DB packages -- we now refer to
    db[1234].  This paves the way for any future databases/db1 package.

  * USE_DB185 shouldn't need to be set by any packages -- its correct
    value is now automatically determined by bdb.buildlink3.mk depending
    on whether we explicitly request db1 or not.  By default, if you
    include bdb.buildlink3.mk, you want DB-1.85 functionality and
    USE_DB185 defaults to "yes", but if you explicitly remove db1 from
    the list of acceptable DBs, then USE_DB185 defaults to "no".

  * Set BDB_LIBS to the library options needed to link against the DB
    library when bdb.buildlink3.mk is included.

  * We only add the DB library to the linker command automatically if
    we want DB-1.85 functionality; otherwise assume that the package
    configure process can figure out how to probe for the correct
    headers and libraries.

Edit package Makefiles to nuke redundant settings of USE_DB185.
2004-11-15 17:54:49 +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
ca70938428 Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the
linker and the compiler, respectively.  In places were we are invoking
the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is
inserted in case the flag is a word, e.g. -rpath.  The default values
of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the
compiler that you use.  They may be overridden on a ${OPSYS}-specific
basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG,
respectively.  Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-27 06:29:06 +00:00
grant
234b8d1088 provide BUILDLINK_CPPFLAGS, LDFLAGS and LIBS for each pkgsrc db
implementation.
2004-07-10 03:01:38 +00:00
wiz
087979a56f Set BUILDLINK_LIBDIRS.db?, as mail/exim expects. 2004-07-07 08:45:39 +00:00
wiz
60019e1e08 Unused. 2004-07-04 09:55:19 +00:00
jlam
e6aa5ca27d Move the HTML documentation into ${PREFIX}/share/doc/html. Bump the
PKGREVISION due to user-visible difference.
2004-06-28 22:11:37 +00:00
kristerw
b26f6f49e5 Include "../../mk/pthread.buildlink3.mk" 2004-05-13 20:23:21 +00:00
jmmv
de41038839 When -lpthread is used, link the db3 library against it, so that programs
using -ldb3 alone don't complain about missing symbols.  This fixes the
build of some programs (like nvi), as exposed in Linux.
2004-04-07 15:13:06 +00:00
jlam
703c2a4805 Add missing .if eaten by my fat fingers in vi. 2004-03-31 05:34:32 +00:00
jlam
9b22ee7e7d Always pass the location of the db[34] headers since we install them in a
non-standard location.  Also match the new USE_DB185 behaviour where it
defaults to "yes".
2004-03-30 16:19:51 +00:00
jlam
312f1fab55 Transform -ldb-[34] to -ldb[34], respectively, as they're the better known
names for the newer Sleepycat DB libraries.
2004-03-22 18:18:26 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00
jlam
f3e38fb48d bdb.buildlink3.mk is used to select a Berkeley DB implementation for
use by pkgsrc.  It will automatically depend on either db, db3, or db4
if the native one isn't sufficient.  The two variables that control its
behaviour are:

BDB_DEFAULT is a user-settable variable whose value is the default
       Berkeley DB implementation to use.

BDB_ACCEPTED is a package-settable list of Berkeley DB implementations
       that may be used by the package.

E.g., if you always want to use DB4 as the Berkeley DB for all of the
packages, then you can just set:

	BDB_DEFAULT=	db4

in your /etc/mk.conf.

Packages that currently include db*/buildlink3.mk should be made to
include bdb.buildlink3.mk instead.
2004-03-10 18:06:06 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
jlam
b259a0a438 CONFIG_{GUESS,SUB}_OVERRIDE are now relative to ${WRKSRC} and will
automatically substitute for any config.{guess,sub} files found up to a
directory depth of 2.
2004-02-14 15:29:15 +00:00
abs
a1d0b1b68b USE_LANGUAGES=c c++ 2004-02-11 01:46:30 +00:00
sekiya
21caf78aaa Override config.sub and config.guess. For mipseb support. 2004-02-08 05:14:44 +00:00
jlam
a7d877ca6a Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
a value only once due to the multiple inclusion protection in the
bulldlink3.mk files.  In the case where a package includes several
buildlink3.mk files that each want a slightly different version of another
dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.
2004-01-24 03:26:45 +00:00
agc
dc52048e01 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:07:06 +00:00
jlam
a39c6cf9fa bl3ify 2004-01-05 20:48:01 +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