Commit graph

64 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
obache
1ced54dcf7 DESTDIR ready. 2007-12-11 14:49:25 +00:00
uebayasi
7ee3c88da2 Honour ${COMPILER_RPATH_FLAG} in a SUBST_SED.hoge. 2007-06-07 13:01:27 +00:00
obache
4d37028035 Using message catalogue files.
Pointed out in PR 36254 by Robert Elz.

Bump PKGREVISION.
2007-05-05 09:13:31 +00:00
uebayasi
1dc01a9ac8 Simplify PKG_SYSCONFDIR handling by assuming all packages have a consistent
PKG_SYSCONFDIR.
2007-04-27 04:08:19 +00:00
uebayasi
15cbcf1bf1 Forgot to remove this. 2007-04-27 03:54:30 +00:00
uebayasi
938f1ca282 Update eb to 4.3.
Very concise change summary:
o support color pictures with references (4.3),
o add "cross" search support (4.2), and
o many bug fixes.
2007-04-24 15:01:03 +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
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
jlam
9efb905554 Properly locate -liconv when linking ebinfo in the case where we use
the pkgsrc libiconv implementation.
2006-04-07 18:40:46 +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
wiz
360adae5d9 Fix config file installation to not conflict with pkginstall
framework. Bump PKGREVISION.
2006-02-20 23:12:21 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +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
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +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
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00
jlam
bf9129c41e Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by making
PKGSRC_USE_TOOLS go away.  There is now only a single USE_TOOLS variable
that specifies all of the tools we need to build/run the package.
2005-07-15 18:27:48 +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
jlam
7425b543e8 Note that gtar is required by the package. 2005-05-16 01:15:30 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
b8e0eb28f4 Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be
useful.
2005-03-24 21:12:50 +00:00
uebayasi
6cfee6478c Update eb to 4.1.3. Small bug fixes, no functional changes. 2005-03-05 11:06:42 +00:00
agc
c71cac836a Add RMD160 digests to the SHA1 ones. 2005-02-24 14:48:39 +00:00
uebayasi
48bb86f4de Define PKGSYSCONFDIR.eb as a shell command sequence, so that it
could be evaluated by configure scripts at the configure stage.

(Otherwise, pkg_admin(1) and pkg_info(1) can be executed only once
before EB as a dependency is not installed yet, which results in
that those commands return void.)
2004-12-17 01:14:19 +00:00
uebayasi
46537e6c37 Fix pkg_admin(1) syntax. 2004-12-16 13:11:19 +00:00
uebayasi
3e64ed8a32 * Run commands carefully in make(1)'s ``VAR!= cmd'' syntax. Problem
reported by Krister Walfridsson.
* Set INSTALLATION_DIRS so that pkgviews installation succeeds.
2004-12-06 09:09:48 +00:00
uebayasi
d0f4dad232 Fix PLIST. 2004-11-29 13:02:42 +00:00
uebayasi
378041d9b3 EB 4.x needs Perl to build documents. Noted by kristerw@. 2004-11-22 02:21:13 +00:00
uebayasi
b899dccdcf Slight SUBST_* improvement. 2004-11-21 01:37:36 +00:00
uebayasi
d4ffb52c03 Update eb to 4.1.1.
Changes since 3.3.4 are:

* Accept remote access.
* Adopt BSD license.
* Include only Japanese HTML documents (English documents are removed!).
* Accept Japanese encodings other than EUC-JP.
* Improve EB_BookList API.
* Many bug fixes.

While here, enable pkgviews installation.
2004-11-20 16:00:35 +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
snj
b70890f6c3 No longer used. 2004-05-05 00:13:14 +00:00
uebayasi
987f2678e2 Regen. 2004-03-28 12:47:42 +00:00
uebayasi
49b668fd2d Put distfiles in a versioned subdirectory for two version-less files (LIST,
LIST-ja).
2004-03-28 12:46:17 +00:00
uebayasi
3a1182fa2e Update to 3.3.4. Minor bug fixes. Bl3'ify. 2004-03-19 15:59:16 +00:00
seb
663375b81e Remove info files entries from PLIST. 2004-03-10 01:42:39 +00:00
jlam
3ebe053d90 LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:49 +00:00
grant
60ad86155b replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 15:06:57 +00:00
seb
56b682547a USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:59:08 +00:00
seb
38cd119b43 Convert to USE_NEW_TEXINFO. 2003-08-03 00:30:43 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
salo
f4781886b6 Updated to version 3.3.2.
Addresses PR pkg/21116 by Makoto Fujiwara.

Changes:

- honour PKG_SYSCONFDIR
- add another two appendixes
- delint

3.3.2:
======
- Fix version number of the shared library.
- Support for Nichi-Ei-Futsu Jiten (YRRS-059).

3.3.1:
======
- Support for EPWING Geinus Eiwa Daijiten.
- Fix a bug in handling of multi-search.
- Fix a bug of debug mode.

3.3:
====
- Fix a bug of eb_read_binary_mpeg().

3.3beta3:
=========
- Fix multi search.
- Fix some minor bugs.

3.3beta2:
=========
- Fix some serious and minor bugs.
- Install `eb3.m4' in `$(datadir)/aclocal'.

3.3beta1:
=========
- Fix some bugs.

3.3beta0:
=========
- Revise file name and compression type detection codes for EPWING.
- The eb_multi_title() function is added, which gets a title of the
  specified multi search.
  Using this function, the `ebinfo' command also outputs multi search
  titles when `--multi-search' (or `-m') option is specified.
- Fix a bug of `ebrefile'.
- Add two text hooks for inline image support.
2003-04-13 01:29:15 +00:00
wiz
16533e6d57 Update checksum for LIST and LIST-ja. Change: one new title (CD-ROM ban
Genius Eiwa Waei Jiten).  Addresses PR 20665.
2003-03-11 23:37:27 +00:00
cjep
be016a2a13 Fix package (broken in recent i386 bulk build) and fully update to 3.2.3.
* Use genius2-1.1.
* Fix distinfo to match Makefile distfile list.

Changes since 3.2.2 include:
* eb/subbook.c (eb_set_subbook_epwing): Open `honmon2' for
  sound or graphic file if `honmong' or `honmons' doesn't exist.
* eb/binary.c (eb_set_binary_wave): Fix a bug that the function
  composes broken WAVE header.
* eb/text.h, eb/readtext.c: Define `EB_HOOK_BEGIN_DECORATION' and
  `EB_HOOK_END_DECORATION', requested from Kenichi SUTO.
2003-02-08 12:38:08 +00:00
uebayasi
ca5aa6ba12 Update my email address. 2003-02-06 04:24:11 +00:00