Commit graph

25 commits

Author SHA1 Message Date
joerg
af60c10a8f Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 22:06:39 +00:00
joerg
b02a0f888e Remove @dirrm entries from PLISTs 2009-06-14 18:24:43 +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
shattered
653cff3dc0 Reset MAINTAINER on tsarna's request.
OK by wiz@.
2009-01-25 20:12:14 +00:00
shattered
bf09602a7e Fix a couple of places where 32-bit values were being used for 64 bit
values (i.e. pointers).  From PR 40257.

OK by wiz@.
2009-01-19 16:36:40 +00:00
shattered
d80f1f9d97 Disable usage of POSIX thread priority functions on NetBSD < 4.99.50
(they are all stubs before that).  This stops wxGTK (and in turn,
Audacity and others) from displaying annoying "Cannot get priority range
for scheduling policy 0" message at startup:

http://mail-index.netbsd.org/tech-pkg/2005/11/22/0020.html
http://mail-index.netbsd.org/netbsd-users/2006/07/02/0004.html
http://mail-index.netbsd.org/netbsd-users/2007/06/28/0002.html

OK by wiz@.
2009-01-08 21:58:17 +00:00
joerg
eaa345516d Revert old state after mistyped cvs import. 2008-09-22 19:54:27 +00:00
joerg
3b38ccaec2 Reimport x11/wxGTK as x11/wxGTK24. 2008-09-22 19:43:11 +00:00
joerg
ae1846abe8 No need to include x11.b3.mk directly here. 2007-02-20 01:37:48 +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
1418238a13 Fix build with FreeType 2.2.1. 2006-06-19 21:16:19 +00:00
wiz
375b5e4933 More PKGREVISION bumps for png-1.2.9nb2 update. 2006-04-17 14:52:10 +00:00
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +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
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
768c589c29 Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.
2006-01-24 07:31:52 +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
joerg
867d769554 Teach wxGTK24 about DragonFly. 2005-11-07 17:58:00 +00:00
ben
8a395f3b91 GTK2 no longer depends on libpangox as of GTK2 version 2.8.x.
However, wxGTK24 still depends on libpangox.
Copy PANGOX test from unicode section of configure script.
This causes libpangox to show up as a dependency in pkg-config.
This fixes build problems with programs depending on wxGTK24.
This addresses PR#31536.
2005-10-11 02:40:21 +00:00
veego
c615b66ca6 - Patch from Thomas Klausner to not install the local files, which would
conflict with the wxGTK package
- The package removes the old wx-config prior before creating the link to
  the real wx24-config, unfortunally it tried to remove wx-config instead
  of wx24-config. wx-config is now used by the new wxGTK (v2.6) package.
Bump the PKGREVISION.
2005-08-14 18:10:08 +00:00
jlam
7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables.  Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.

For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
2005-08-10 20:56:10 +00:00
wiz
ac7c232c4f Import old 2.4 branch of wxGTK as wxGTK24, for packages that still need it. 2005-08-07 11:27:28 +00:00