Commit graph

46 commits

Author SHA1 Message Date
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
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
741aecb607 * Nuke all references to and definitions of INFO_DIR in package Makefiles
and replace with appropriate references to PKGINFODIR instead.

* Properly account for split info files during installation.

* Move info file listings directly into the package PLISTs.

This fixes info-file-related PLIST problems.
2006-03-20 18:15:37 +00:00
jlam
bd1acb366c Don't use ${LOCALBASE} to refer to the package's install directory -- use
${PREFIX} instead.
2006-03-16 23:52:30 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
joerg
ed183a59f0 de-extern-errno 2005-12-02 23:53:42 +00:00
gdt
6079a666c1 Note that this is the old version of guile. 2005-07-19 19:01:03 +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
475ab002d7 Add RMD160 digests 2005-02-24 09:03:05 +00:00
wiz
f3ca3cbb14 To be on the safe side, bump PKGREVISION for previous. 2004-11-30 18:17:31 +00:00
wiz
b20ea845bc Set PTHREAD_AUTO_VARS to make this link
against libpthread again after
recent pthread.bl3.mk rototillage. From jlam.
2004-11-30 17:57:03 +00:00
kristerw
bc74385e32 Include mk/pthread.buildlink3.mk so that linking with libguile works
on NetBSD 1.6 too.
2004-11-21 14:16:49 +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
dc99bb80f2 Update linkage to libltdl (via guile{,14}), which is now its own package.
Unfortunately, guile{,14}/buildlink3.mk directly includes it, and I don't
know which dependencies actually need libltdl, so it was a recursive bump.
Hopefully this recursive inclusion can be ripped out of
guile{,14}/buildlink3.mk at some point and bubble down to dependencies that
actually use libltdl, avoiding this headache in the future....
2004-10-15 14:50:05 +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
jlam
ca70938428 Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the
linker and the compiler, respectively.  In places were we are invoking
the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is
inserted in case the flag is a word, e.g. -rpath.  The default values
of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the
compiler that you use.  They may be overridden on a ${OPSYS}-specific
basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG,
respectively.  Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-27 06:29:06 +00:00
snj
b253bd6794 Convert to buildlink3. 2004-05-03 20:49:33 +00:00
wiz
d1cc9c349b Remove PREFIX-setting hack, which makes this package bl3 compatible. 2004-05-03 15:57:06 +00:00
snj
e763a40bb9 Use buildlink3. 2004-05-02 03:19:50 +00:00
seb
5777891d19 Remove info files entries from PLIST. 2004-03-02 11:43:39 +00:00
jlam
ec993afa1a 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:32 +00:00
grant
f1ab3f4ed4 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 13:51:13 +00:00
jlam
a9f08159c4 Back out last change related to moving ncurses/buildlink2.mk to
curses.buildlink2.mk.  This was wrong because we _really_ do want to
express that we want _n_curses when we include the buildlink2.mk file.

We should have a better way to say that the NetBSD curses doesn't
quite work well enough.  In fact, it's far better to depend on ncurses
by default, and exceptionally note when it's okay to use NetBSD curses
for specific packages.  We will look into this again in the future.
2003-09-28 09:13:55 +00:00
grant
7a71199b50 move ncurses/buildlink2.mk to mk/curses.buildlink2.mk, as it provides
support for base system curses/ncurses as well as ncurses itself.

suggested by wiz.
2003-09-27 17:07:34 +00:00
seb
56b682547a USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:59:08 +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
seb
001c29835c Convert to USE_NEW_TEXINFO. 2003-07-05 14:50:17 +00:00
uebayasi
2d06759ab3 Make this threaded; link libpthread.so in advance and use threaded versions
of libc functions.  Otherwise, it dies when libpthread.so is dynamically
loaded by dl_open(3).

Supposed to fix PR21522, Gnucash dies on startup.

Bump revision to 2.
2003-06-05 05:03:58 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
wiz
0ecd600f22 USE_NCURSES is automatically set for SunOS, just include devel/ncurses'
buildlink2.mk unconditionally.
2003-01-24 12:36:25 +00:00
jlam
07212bde90 * Add GUILE14, GUILE14_CONFIG, and GUILE14_SNARF that may be used by packages
to invoke the guile, guile-config, and guile-snarf binaries from the
  guile14 installation.

* GUILE14_PREFIX, the result of "pkg_info -p guile14".

* GUILE14_SUBDIR, the subdir relative to ${LOCALBASE} where guile14 is
  installed.

* Replace for ${BUILDLINK_DIR}/bin/guile in config files when unbuildinking.

* Symlink the guile14 libtool archives into ${BUILDLINK_DIR}/lib to suppress
  find the libtool archives from a guile package installed into ${LOCALBASE}.
  We can no longer include both guile/buildlink2.mk and guile14/buildlink2.mk
  as a result of this change.
2003-01-24 04:22:16 +00:00
uebayasi
ac45996704 bin/guile-snarf is also used by some. 2003-01-19 04:38:01 +00:00
uebayasi
175f0f7f4f 'guile-config' didn't produce runtime path information in 'link' command. Fix
it, bump revision to 2.
2003-01-17 04:43:06 +00:00
wiz
1f7f102ec1 Fix typos in comments. 2003-01-16 17:02:25 +00:00
wiz
838d2459e5 This package does not conflict with the guile package any longer. 2003-01-16 16:42:06 +00:00
uebayasi
91be2aa51a Install into ${LOCALBASE}/guile/1.4 to coexist incompatible later versions.
Bump revision.

Many thanks to Johnny Lam for Buildlink related instructions from him.
2003-01-16 02:20:47 +00:00
uebayasi
917d29d213 Rename older (<1.6) Guile as guile14.
Packages using Guile now all depend on guile14.  These packages are
expected to be made depend on newer Guile (1.6.x) when updated in the
future.
2003-01-07 03:56:17 +00:00
uebayasi
b849028f13 Refrect the move (lang/guile -> lang/guile14.) 2003-01-07 02:21:23 +00:00
uebayasi
92d2bf0866 Reimport of Guile 1.4.1 for possible backward compatibility issues. 2003-01-07 00:58:27 +00:00