Commit graph

33 commits

Author SHA1 Message Date
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
dcba72b319 The package supports installation to DESTDIR. 2007-12-15 15:30:16 +00:00
obache
1c067f59dc Disable assembler code for Interix.
Suggested in PR 36571 by John Ruschmeyer.
2007-06-28 10:11:33 +00:00
joerg
cf197ec75f Fix libXv for !native case. 2007-06-15 17:52:05 +00:00
joerg
6e82078eef DESTDIR support. 2006-11-05 17:17:04 +00:00
tron
2d5c56c392 Disable assembler code for Mac OS X x86. That should fix a build problem
reported by Davide Zanon on the "pkgsrc-users" mailing list.
2006-10-07 20:35:48 +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
dogcow
44a5577f79 fix compilation with gcc4; patch from cvs libdv 2006-06-15 20:16:41 +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
reed
24cd400625 This is to fix PR 30267. (I have noticed same problem.)
The build needs optimization. So if CFLAGS doesn't contain at least
-O then add it. (Thank you Juan for idea.)

On the tech-pkg-ja@jp.NetBSD.org list, I was told (19 Dec 2005):

> This change can be accepted when judged only from my environment (i386),
> since the expression of "if empty(CFLAGS:M-O*)" is evaluated
> after setting of the environment variable (-O2).
> However, I do not have the positive proof whether this expression is evaluated
> after setting of the environment variable (-O2), in all environments.

So hopefully this doesn't break for anyone else.
2006-03-11 04:08:47 +00:00
jlam
6ad6aef9d4 Replace references to ossaudio.buildlink3.mk with oss.buildlink3.mk.
Remove deprecated ossaudio.buildlink3.mk.
2006-03-09 21:04:39 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +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
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
jmmv
84ab5fef54 Add DragonFly support; patch from Joerg Sonnenberger. 2005-06-05 09:49:01 +00:00
jmmv
fbc1e6ed01 Split libdv into two packages: libdv itself, which installs only the codec
library, and libdv-tools, which installs all the associated tools.
While doing this, clean-up useless dependencies in libdv's buildlink3.mk
file.

The main purpose of this change is to let mplayer use the dv codec (which
is the default setting) while not depending on unused packages (gtk+).
2005-06-03 15:40:30 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
5ae9517d74 Add RMD160 digests. 2005-02-24 11:24:01 +00:00
dmcmahill
bd2b07baff Add a check for Xv and if we don't have it then add --disable-xv 2005-02-24 01:42:46 +00:00
wiz
ffff30aa81 Update to 0.104:
* libdv.pc: added -lm to make build more portable.
        * applied x86-64 patch from Dean Kolosiek.
2005-01-03 12:48:29 +00:00
jlam
00686c240d Set PTHREAD_AUTO_VARS to "yes" after pthread.buildlink3.mk was changed
not to automatically add pthread-related CFLAGS, LDFLAGS, and LIBS to
the configure and build processes.
2004-12-04 23:09:06 +00:00
wiz
71d1a5e48c libdv.so uses pthread functions directly, so include pthread.bl3.mk
and fix libdv.so link line so that it links against libpthread.
2004-11-28 14:34:28 +00:00
adam
bef34805b4 Changes 0.103:
* Unknown (you have to track the mailing list)
2004-11-25 14:52:20 +00:00
jlam
af591191d2 Remove redundant uses of PTHREAD_{CFLAGS,LDFLAGS} now that they're added
automatically by pthread.buildlink3.mk.  Also, factor out the pthread
library out of PTHREAD_LDFLAGS into a standalone variable PTHREAD_LIBS
and use it in packages where necessary (usually the ones that don't
have a GNU configure script).
2004-11-12 06:39:19 +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
kristerw
37a4828e7d The configure script requires pkg-config. 2004-06-27 18:48:09 +00:00
grant
e940f5af45 add buildlink3.mk 2004-06-26 18:33:00 +00:00
grant
7802b7fe8d improve 2004-06-26 18:18:02 +00:00
grant
4431c9380f Initial import of libdv 0.102 into the NetBSD packages collection.
The Quasar DV codec (libdv) is a software codec for DV video, the
encoding format used by most digital camcorders, typically those that
support the IEEE 1394 (a.k.a. FireWire or i.Link) interface. libdv was
developed according to the official standards for DV video: IEC 61834
and SMPTE 314M.

Submitted in PR pkg/24313 by Osamu OISHI with cleanup and update to
0.102 by me.
2004-06-26 17:48:29 +00:00