Commit graph

84 commits

Author SHA1 Message Date
joerg
395259c84a Replace rename with l to work with both old and new wrappers. 2014-12-11 22:13:08 +00:00
dholland
53b5a5d74f PR 49066 Kamil Rytarowski: rpm requires libmagic on all platforms.
(not just solaris)
PKGREVISION -> 2
2014-08-08 15:00:54 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
markd
9484821782 Build on Linux. 2013-12-16 09:53:44 +00:00
ryoon
9c6b8d1cdc Fix build failure with "error: possibly undefined macro: AC_MSG_ERROR."
* Add pkg-config to USE_TOOLS.
2013-09-24 13:17:18 +00:00
ryoon
df9eddc79a Fix build on OmniOS.
* Add -fno-stack-protector to CFLAGS to fix link error for SunOS.
* Patch configure.ac and regenerate the related stuff.
* Buildlink sysutils/file for libmagic.
* Detect dirfd, setprogname and htonll in configure script.
* Create PLIST for NetBSD and SunOS.
2013-09-20 17:26:14 +00:00
joerg
239ba82b17 Fix broken #elif on OSX. Fix missing prototypes. Don't conflict with
libc mergesort on *BSD. Use system libtool.
2013-09-15 12:32:22 +00:00
ryoon
6ebbbe3c10 Update to 4.11.1 from 2.5.4
Changelog:
* Many bugfixes and improvements.
* New commands.
2013-09-13 12:41:32 +00:00
sbd
57628a2bf0 Due to gmake bug #30612 rpm needs atleast gmake-3.82nb1 which includes
the bug fix.
2013-05-21 07:57:50 +00:00
asau
9912a3809d Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. 2012-10-08 09:57:15 +00:00
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