Commit graph

32 commits

Author SHA1 Message Date
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
drochner
0d1c8618fe update to 0.5.1
changes:
New optimizations have been provided for SSE2 and ARM instruction sets,
while a lot of warnings triggered by recent compiler changes have been
fixed.
A new function has been added to guess the aspect ratio of streams where
it is not properly coded. Also it is now possible to retrieve the value
of the MPEG-2 repeat_first_field flag, and to be notified when the
sequence header of a stream changes (eg. aspect ratio on-the-fly changes).
2008-08-07 18:23:18 +00:00
heinz
10206108e9 The package supports installation to DESTDIR. 2007-07-01 15:58:37 +00:00
drochner
10a728c9da reduce this to the pure library (as PKGNAME already suggests), saves
a dependency on SDL
bump PKGREVISION
2007-02-22 17:43:51 +00:00
joerg
e0fbc9fdad Modular Xorg support. 2007-01-10 14:58:24 +00:00
drochner
10dfa4ae1f update to 0.4.1
changes:
-build system fixes
-acceleration on amd64 and ppc
-bugfixes
2006-10-17 16:18:14 +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
adam
00c73b070e Fix buildling on Darwin/Mac OS X with GCC 4 2006-06-19 13:21:14 +00:00
wiz
ad782541d0 Bump PKGREVISION and BUILDLINK_ABI_DEPENDS (where applicable)
for SDL shlib changes.
2006-06-12 16:28:05 +00:00
wulf
0acb70d830 Updated libmpeg2 to 0.4.0bnb4: Applied patch supplied by njoly@pasteur.fr
fixing x86_64 assembler code issues as identified in PR #33136.
2006-04-21 07:15:38 +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
7e1c5bfbc9 Convert aalib to options framework, adding an 'x11' option, and remove
aalib-x11 and aview-x11.
SDL dependencies change, so bump PKGREVISION (and BUILDLINK_RECOMMENDED)
for affected packages.

Addresses PR 32046 by Leonard Schmidt.
2005-12-11 09:40:37 +00:00
grant
756716bbec don't assume a shared library can be built from non-PIC code. 2005-08-20 11:44:09 +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
adam
bc28514c15 hacks.mk does not work; even more correct patch submitted 2005-08-10 20:18:18 +00:00
wiz
d774725534 Change path from devel/pkgconfig to devel/pkg-config.
No PKGREVISION bump since pkg-config is only a BUILD_DEPENDS.
2005-07-21 16:29:42 +00:00
grant
9cbc23dfb2 CONFIGURE_ARGS should be appended to, ie. += 2005-07-18 07:26:02 +00:00
grant
2e2f8a181d no need for patches to remove commandline args, just use
BUILDLINK_TRANSFORM's "rm", and only on Darwin. hi adam :)
2005-07-18 07:25:33 +00:00
adam
aa45b99424 Removed -O3: causes compilation errors on MacOSX 2005-07-16 13:05:51 +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
wiz
1f2ba12d0f PKGREVISION bump for glut dependency removal (SDL/buildlink3.mk). 2005-03-27 15:43:32 +00:00
wiz
04b0623deb Fix a typo, |fmt. 2005-03-23 16:56:58 +00:00
wiz
4605d53937 Update to 0.4.0b:
January 21, 2004: minor bugfix release - MMX color conversions were
accidentally disabled in 0.4.0 (Ooooops !)
2005-03-23 16:27:02 +00:00
agc
5ae9517d74 Add RMD160 digests. 2005-02-24 11:24:01 +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
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
minskim
1b5384162b Enable pkgviews installation. 2004-08-05 17:35:58 +00:00
jmmv
0e8fae6837 Move libmpeg2 from graphics to the multimedia category.
This is version 0.4.0.
2004-04-14 12:07:30 +00:00