Commit graph

108 commits

Author SHA1 Message Date
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
wiz
781c43d96f Unused. 2004-04-25 11:50:56 +00:00
wiz
77d703fbd9 Set CPPFLAGs like in bl2. 2004-04-25 11:49:40 +00:00
wiz
a3a59bd8b9 Add. 2004-04-25 11:47:08 +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
13cc643cae comment unused lines of configure, rather than leaving an empty if;
then.
2004-02-09 11:56:32 +00:00
grant
57891cda0a replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 14:11:09 +00:00
grant
f04327a8c5 no need to #include <malloc.h>.
fixes build on FreeBSD.
2003-10-19 16:05:21 +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
432e160048 Add BUILDLINK_CPPFLAGS for packages that need to find rpm headers. 2002-10-20 23:22:37 +00:00
jlam
9e78325de0 I'm not sure why this file was missed by the "cvs commit". 2002-10-20 23:20:59 +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
wiz
fb54a338ce Unused. 2002-10-05 12:25:00 +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