Commit graph

23 commits

Author SHA1 Message Date
joerg
416f555206 Update to libtool-2.2.6b. This switches libtool to the new main branch.
Changes are many, important for pkgsrc:
- much higher speed (up to 30% faster for the overall build of libX11)
- less magic for detection of the tag

The pkgsrc integration of f2c has been changed to be more sane.
libtool itself now depends on the f2c frontend to use proper
auto-configuration and only fakes up the library. This part is
encapsulated in mk/compiler/f2c.mk.
2009-12-15 17:35:36 +00:00
joerg
f28e8c4e5b Fix a potential security issue in libltdl by making sure that the
current directory is not included in the search path. Bump revision
of libltdl. Patch backported from tez@
2009-12-15 17:07:43 +00:00
rillig
79a38fed91 cleanup: replaced _PKG_SILENT and _PKG_DEBUG with RUN. 2009-05-16 07:22:01 +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
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
rillig
7fdde49022 Fixed pkglint warnings, reindented the code.
Added a comment to the generated Makefile saying who has generated it,
so I don't have to look for that again.
2006-10-05 12:41:24 +00:00
rillig
a5ffa7a9b6 The libltdl directories need a "check" target as well. Otherwise
lang/kaffe does not pass the tests, for example.
2006-10-05 12:07:00 +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
tonio
cbd716ffcc add a symlink for libltdl.dylib when OPSYS == Darwin
This fixes lang/kaffe build
2006-05-19 09:12:29 +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
drochner
f1c947963b allow LIBLTDL_CONVENIENCE_SUBDIR to be a list of directories;
there is at least one prospective pkg which contains two copies
of libltdl
2006-02-07 19:07:24 +00:00
tv
f6b0d765bb Update libtool to 1.5.22. Too many changes for CVS commit logs; here's
some highlighted changes:

* Fixes minor /tmp race condition bug.
* Integrated Interix support; no longer requires pkgsrc hackery.
* shlibtool is a wrapper using the (now working) "--tag=disable-static".
* Several other bugs fixed, removing some pkgsrc-local changes.
2006-01-30 22:19:56 +00:00
tv
2f0e9f2df5 Add LIBLTDL_CONVENIENCE_SUBDIR variable to allow packages to indicate that
bundled libltdl is not in the subdir "libltdl".
2004-12-24 23:44:30 +00:00
jlam
36d37026bd dlopen.buildlink3.mk will automatically include dlcompat/buildlink3.mk
only on Darwin, so remove OPSYS check in dlcompat/buildlink3.mk and
make packages include dlopen.buildlink3.mk instead.
2004-11-26 09:39:30 +00:00
jlam
ca7e02b3ee These packages install libraries that dlopen() shared modules. 2004-11-25 22:55:54 +00:00
sketch
9a843aa718 Not all implementations of ln(1) can handle -fs arguments where the target
still exists.  Explicitly rm the target before ln.
2004-11-15 12:19:40 +00:00
tv
60b4f52ab5 Add do-nothing "clean" target to fake libltdl Makefile. 2004-11-05 17:31:28 +00:00
tv
a68a85ed71 Also override libltdl.la (the non-convenience version). 2004-11-04 04:27:35 +00:00
tv
840de7f0dc Specialized bl3 include used to intercept "convenience" copies of libltdl
embedded within program source, which is often not very up-to-date.
2004-10-17 15:34:27 +00:00
tv
d6aaca37ef Fix unterminated conditional (properly). 2004-10-14 19:31:57 +00:00
tv
2a23973002 Split out libltdl into its own package, so that it can be used and updated
independently of the libtool script.
2004-10-14 19:03:45 +00:00