Commit graph

131 commits

Author SHA1 Message Date
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
jperkin
d287c406eb Avoid MACHINE_ARCH for static file, fixes 64-bit build. 2014-08-05 06:12:57 +00:00
jperkin
d6d926b76f Fix conflict between RPM's system.h and SunOS libelf.h. 2014-07-28 15:11:00 +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
dholland
7e751949e4 Set BUILDLINK_ABI_DEPENDS correctly (with +=, not ?=)
It turns out there were a lot of these.
2012-05-07 01:53:12 +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
joerg
674dbd1712 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 20:47:52 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +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
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
e718bb7a09 oups, missing patch 2007-02-18 11:17:42 +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
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
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
ea5f9f80b6 Strip ${PKGLOCALEDIR} from PLISTs of packages that already obey
PKGLOCALEDIR and which install their locale files directly under
${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries.  From now
on, pkgsrc/mk/plist/plist-locale.awk will automatically handle
transforming the PLIST to refer to the correct locale directory.
2006-04-17 07:07:11 +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
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +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
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
agc
07b46baa43 Add RMD160 digests 2005-02-24 11:02:49 +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
tron
299ee93c38 Set default dependence method to build because this package doesn't
provide any shared libraries.
2004-07-24 10:53:14 +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