Commit graph

74 commits

Author SHA1 Message Date
adam
ad3fef93cf Revbump after db5 update 2012-01-18 14:35:13 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00
zafer
518f71625d update master_sites 2011-03-17 21:19:53 +00:00
sbd
7db34beac2 If db4 is selected as the DBD_TYPE then PTHEADS_LDFLAGS is needed for linking. 2010-07-21 22:29:36 +00:00
heinz
f63b157751 Added LICENSE information. 2010-01-21 17:41:06 +00:00
dholland
9f5ec6db56 Give a little help finding db185 libs for configs/machines where db185
isn't in libc, such as Linux or with BDB_DEFAULT=db4 BDB185_DEFAULT=db4.

From Aleksey Cheusov in PR 37293.
2009-12-07 04:06:02 +00:00
sketch
6d0b5e6ddc Revert previous, it breaks NetBSD. Will have to stay broken on Solaris for
a little longer.
2009-09-22 13:16:00 +00:00
sketch
8f9678ead2 Add an hack to get this building on platforms with USE_DB185. 2009-09-22 08:37:15 +00:00
heinz
c05a759fd3 The package supports installation to DESTDIR. 2008-01-12 23:43:53 +00:00
gdt
e310d0d051 add:
MAKE_JOBS_SAFE=		no
2007-05-13 00:55:14 +00:00
tonio
c60903adf7 make sure to include stdlib where alloca() is used, to fix build under freebsd,
to pick the builtin alloca
2007-02-18 11:17:03 +00:00
rillig
26b6a3baf4 Fixed PKGMANDIR. 2006-10-22 06:39:43 +00:00
wiz
776a05be72 Reset maintainer for people who lost their commit bit. 2006-09-03 00:56:28 +00:00
joerg
a9aea9f59e Still set USE_PKGLOCALEDIR for the PLIST magic. 2006-06-16 14:04:11 +00:00
jlam
c0611be9b7 The rpm configure script doesn't check whether libintl.so has any
library dependencies, e.g. libiconv.so.  Set BROKEN_GETTEXT_DETECTION=yes
to force LIBS to include -lintl and the right depenendent libraries
to work around this bug.  This is acceptable since every executable
in misc/rpm is linked to -lintl anyway.  This fixes PR pkg/33708.
2006-06-13 14:43:21 +00:00
jlam
1cf9796f3c BUILD_USE_MSGFMT and USE_MSGFMT_PLURALS are obsolete. Replace with
USE_TOOLS+=msgfmt.
2006-04-13 18:23:29 +00:00
jlam
daad0f3d6c Modify the pkginstall framework so that it manages all aspects of
INSTALL/DEINSTALL script creation within pkgsrc.

If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts.  If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:

	INSTALL_SRC=	${PKGDIR}/INSTALL
	DEINSTALL_SRC=	# emtpy

As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts.  By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).

In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework.  The only public variables relating to the templates are:

	INSTALL_SRC		INSTALL_TEMPLATE
	DEINSTALL_SRC		DEINSTALL_TEMPLATE
				HEADER_TEMPLATE

The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.
2006-03-14 01:14:26 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
tron
fb3920eecb Invoke "${RANLIB}" manually after installation. This makes this package
usable under Mac OS X. Bump package revision and minimal required of
this package because of this fix.
2006-01-21 20:42:39 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
tv
b7d83b016d Mark as not for Interix. (getmntent(3) is nonpublic/undocumented there;
it may work, but will need portability checking.)
2005-01-19 16:28:20 +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
grant
b64a4ec172 the included popt library is broken on some platforms because it assumes
alloca is available without explicitly pulling it in. use the devel/popt
pkg instead and fix PKGLOCALEDIR handling while I'm here.

fixes install on Solaris.
2004-07-24 04:43:10 +00:00
wiz
4e282b0529 Convert to bl3; use bdb/bl3 instead of db/bl2. 2004-04-25 11:46:54 +00:00
grant
77e0012ef4 include db/buildlink2.mk for db185 support and pass
BUILDLINK_CPPFLAGS.db.

fixes build on Linux.
2004-02-09 11:57:20 +00:00
grant
57891cda0a replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 14:11:09 +00:00
jlam
b2677a2cb0 Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL if
USE_PKGINSTALL is "YES".  bsd.pkg.install.mk will no longer automatically
pick up a INSTALL/DEINSTALL script in the package directory and assume that
you want it for the corresponding *_EXTRA_TMPL variable.
2003-08-30 22:51:11 +00:00
jlam
7bdb242213 Don't bother with overriding the main templates... just add on to the
scripts.
2003-08-30 19:45:00 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
pooka
9f558a218f don't rename cz.mo at post-configure stage, since it doesn't yet exist
fixes build on FreeBSD
2003-07-01 11:55:01 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
tron
c9026b50ae Remove obsolete mirror on "ftp.gwdg.de" from master site list. 2002-12-28 08:48:09 +00:00
salo
f2a0c3d054 USE_PKGLOCALEDIR, remove unnecessary patch, delint. 2002-12-01 16:25:56 +00:00
jlam
2afa2a6b7b The default value for RPM_DB_PREFIX comes from bsd.pkg.default.mk. 2002-10-20 23:19:40 +00:00
jlam
8e60140f36 * Use bsd.pkg.install.mk instead of homegrown INSTALL/DEINSTALL script
creation.

* Enhance INSTALL/DEINSTALL scripts so that they may remove the RPM
  databases on deinstallation if RPM was never used.

* Allow new knob RPM_DB_PREFIX that defaults to "/var/pkg" that is the
  prefix for the path to the RPM databases.  The databases are kept in
  ${RPM_DB_PREFIX}/lib/rpm.
2002-10-20 23:09:27 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
jdolecek
1eaf6e8782 czech locale should go under locale/cs, not locale/cz
pointed out by Thomas Klausner
2002-04-04 19:56:37 +00:00
lukem
6da054cb03 only conflict on rpm2cpio < 1.0nb1 2001-10-24 00:26:51 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
jlam
b496d8e4c7 Use FILES_SUBST{,_SED} instead of a separate listing of variables to
substitute by sed for INSTALL/DEINSTALL.
2001-08-16 04:45:52 +00:00
jlam
56c0ff6d58 Convert to use only buildlink.mk files and mark as USE_BUILDLINK_ONLY.
Add necessary dependency on zlib.
2001-07-14 06:35:11 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
kei
e86e6140eb add CONFLICTS as misc/rpm package has rpm2cpio program. Problem noted by
IWAMOTO Toshihiro in private mail.  Thanks.
2001-03-07 07:07:11 +00:00
jlam
12a0b47217 Automatically initialize RPM database on pkg_install if necessary. Also
correct DEINSTALL message to refer to the correct directory for the RPM
database.
2001-02-26 14:36:11 +00:00
hubertf
d32e698de6 Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
2001-02-25 04:17:35 +00:00