Commit graph

102 commits

Author SHA1 Message Date
schmonz
2bf9c38465 Depend on the proper PKGREVISION of libtool-base and libtool-info.
Fix from fredb, approved by skrll.
2002-05-23 20:07:00 +00:00
schmonz
84ab2d3d0a Make libtool work on Darwin, based on the patches in pkg/16104 by
Jeff Putsch <jdputsch@attbi.com>. Also repair a typo that had prevented
'-fno-common' from being passed along (found and fixed by skrll).

Bump PKGREVISION.

Approved by skrll.
2002-05-21 14:03:36 +00:00
skrll
d6e4227f3d Remove hash for patch-ac-new which doesn't exist. Pointed out by wiz. 2002-05-13 08:02:33 +00:00
kei
c9032afd57 Define PKGREVISION, not PKGREV to handle nbX of the package. libtool package
now uses the standard way.
2002-04-15 18:25:45 +00:00
skrll
8186bff76a Fix a bug when inferring the CXX tag which meant that for certain
libraries the following could occur

	- a.out platforms: c++rt0.o would be missing and therefore
	  global contstructors would not work.

	- ELF platforms libstdc++ and libm would not be explicitly
	  linked in.

This affected notably libqt and explains the build failure of kdelibs2 on
arm32.

Bump PKGREVISION and require it.
2002-03-26 16:31:27 +00:00
skrll
e0af29a32d Fix the pattern that matches valid library files so that it allows '.'
in the library name. This fixes pkg/15981 from Dan McMahill
<dmcmahill@netbsd.org>

Patch up the test configure scripts while we're here.

Bump the PKGREV, but don't require it just yet.
2002-03-21 09:00:12 +00:00
skrll
bc353bae49 Pull in a change from libtool-current that changes the dependency
recording strategy and a flag (--preserve-dup-deps) to provide the old
stratey if needed. The new strategy reduces the length of the
dependency_libs information stored in .la files and therefore the length
of link lines. This has a positive effect on performance.

Pull across the documentation updates for the change.

Bump the PKGREVISION.

This was tested by building and running both KDE and Gnome.
2002-03-01 15:40:43 +00:00
skrll
040e953d38 Set AUTOMAKE_OVERRIDE=NO
The side effect of touching configure.in is to recreate ltmain.sh from
ltmain.in. We patch ltmain.sh and so the changes get lost.

This should fix pkg/15481 from Tom Haapanen <tomh@metrics.com>
2002-02-11 14:57:58 +00:00
skrll
350f63106d Allow objects of the form libfoo_pic.a to be linked into shared objects as
well as the normal shared objects. This means that the new toolchain, that
links in libgcc_pic.a, will build proper shared objects again.

Bump to nb5 and make this the required version.

Fixes pkg/15120 from Matthias Scheler <tron@colwyn.zhadum.de>
2002-01-04 15:20:25 +00:00
jlam
b046ac04fe DEPEND on only libtool-base if we need libltdl.so. Pulling in all of the
documentation files is unnecessary.
2001-12-27 00:22:43 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
skrll
1b93af249c Fix a typo that has there for ages so that the previous fix for new
toolchains actually works.

I had reports that the problem that the definition of
"output_verbose_link_cmd" was supposed to fix had indeed been fixed.
(Never believe everything you read)
2001-10-26 10:58:02 +00:00
skrll
1034b557a9 Fix ltcf-cxx.sh to work on -current/new toolchains. That is make sure that
/usr/lib/crtbeginS.o and /usr/lib/crtendS.o make it into
{pre,post}dep_objects.

Fixes pkg/14353 from Witold J. Wnuk <witek@pd37.warszawa.sdi.tpnet.pl>

Tested as "still" working on 1.5.2.

Bump minor number of pkg and make pkgsrc depend on this version.
2001-10-26 07:47:38 +00:00
veego
63ad910dee SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-10-18 15:20:01 +00:00
skrll
f74c9eaa84 There is only one system library path: /usr/lib. Don't include /lib and
/usr/local/lib.

Discussed with Johnny Lam <jlam@netbsd.org> and Bernd Ernesti
<veego@netbsd.org>

Problem reported by Jeremy C. Reed <reed@reedmedia.net> on tech-pkg
2001-10-04 07:58:02 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
jlam
d2eb68d2a6 Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default
installation directory in case the package isn't installed.
2001-07-27 13:33:18 +00:00
jlam
7b1d3cb465 Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>.  This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed.  Idea by Alistair Crooks <agc@pkgsrc.org>.
2001-07-20 01:54:31 +00:00
skrll
013534b1a1 fdl.texi has been part of the distibution for sometime now... 2001-07-09 11:10:31 +00:00
enami
4aa395440f Make this compile on NetBSD/newsmips (i.e., mipseb). At least amanda
can be built now.
2001-07-06 00:55:10 +00:00
jlam
cb76bd5efc Move inclusion of bsd.buildlink.mk to start of file. 2001-07-01 22:59:08 +00:00
jlam
34d11d8a0f Generalize how the dependency pattern may be specified. Instead of just
FOO_REQD=1.0 being converted to foo>=1.0, one can now directly specify
the dependency pattern as FOO_DEPENDS=foo>=1.0.  This allows things like
JPEG_DEPENDS=jpeg-6b, or fancier expressions like for postgresql-lib.
Change existing FOO_REQD definitions in Makefiles to FOO_DEPENDS.
2001-06-23 19:26:48 +00:00
jlam
9f139334e9 Add a buildlink.mk file for libltdl.* for use by other package Makefiles. 2001-06-20 21:33:01 +00:00
skrll
52396237fe Fix --mode=execute quoting problem.
Bump to nb2. Fix has been sent to libtool maintainers.
2001-06-20 08:10:49 +00:00
skrll
2ade3dfe16 Update libtool to a newer snapshot.
Notable changes are:

	* Fix memory leak in libltdl
	* Handle large dependency_libs entries in .la files better
	* Integration of a lot of the NetBSD changes
2001-06-14 14:55:45 +00:00
abs
614825756d Handle shared libraries the same on Linux as Solaris and NetBSD 2001-05-22 10:31:07 +00:00
agc
4c970f9765 If a tag has not been given, and we're using a compiler which is not one
of the ones with which libtool was built, attempt to infer the compiler
from the first word of the command line passed to libtool.

We only reach this test if libtool is about to die with a message about
lacking a specific tag, so this change is the least intrusive that can
be made.

This means that different CC options can now be recognised when compiling.

Bump version number to nb6
2001-05-09 10:24:11 +00:00
skrll
8e7c2715a6 Fix problem where CXX and CXXFLAGS were incorrectly used when --tag=CC is
specified.
2001-05-08 13:38:41 +00:00
wiz
dfb2d5edc6 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 00:44:09 +00:00
skrll
e575af0c4d Oops. Shouldn't have removed the FILESDIR.
This fixes PR/12690 from Tim Walls <tim.walls@pa.press.net>
2001-04-18 18:08:29 +00:00
skrll
65e72cd9d4 Share a common distinfo. 2001-04-17 16:56:15 +00:00
agc
d7d36b3561 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 10:57:56 +00:00
skrll
5c5f1dbbce Implement a new deplibs_check_method called match_pattern and use it.
The use of file(1) was always disliked and it proved to cause problems
on some platforms.

Fixes pkg/12516 from Dam McMahill <mcmahill@mtl.mit.edu>
2001-04-03 17:06:16 +00:00
skrll
eab52d3728 Bump the buffer size even more for KDE2. As Hubert points out libtool
really shouldn't be creating a dependency_libs line quite as long as
it does...
2001-03-26 07:35:50 +00:00
skrll
3b77ca1864 Change the workaround for old compiler versions so that it actually works.
Actually simply the workaround in the process.

Fixes problems noted by SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp> on
tech-pkg and David W. Talmage <talmage@ricochet.net> in private email.

Tested by SUNAGAWA Keiki.
2001-03-18 17:10:27 +00:00
skrll
a8d1e7fa28 Re-enable the -release option of libtool. ELF is fully supported with a.out
support to follow. Note this in documentation.

Bump revision of libtool to nb3 and update dependencies.

Update (sort) known affected PLISTs.

Fixes pkg/12368 by Kimmo Suominen <kim@tac.nyc.ny.us>
Fixes problems with cross/* noted on tech-pkg and packages by
	Chuck Cranor <chuck@research.att.com>, and
	Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
2001-03-12 11:23:01 +00:00
skrll
18042ca643 Use MASTER_SITE_LOCAL 2001-03-01 08:40:15 +00:00
skrll
54ba5eaa02 Restore old numbering scheme for libraries on Solaris as discussed on
tech-pkg.
2001-02-28 21:20:30 +00:00
skrll
1649d7d5e2 Revert previous change it didn't work. Instead force the inclusion of a
CC tag configuration so that --tag=CC works.
2001-02-28 18:18:22 +00:00
skrll
184da7784d Fall back to the default configuration when unable to infer a tag.
This helps with c compilers that libtool doesn't recognise.

Bump the revision.
2001-02-28 10:16:57 +00:00
skrll
210431ba31 Add a missing file. 2001-02-27 21:56:08 +00:00
skrll
ba7d9319bd Update libtool to be based on a CVS snapshot of the multi-language branch 2001-02-27 08:20:23 +00:00
wiz
94dc65fbec Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:38:16 +00:00
skrll
d18265003e Add a missing colon 2001-02-11 10:12:04 +00:00
hubertf
3885198f90 Split into libtool-base and libtool-info, for easier system bootstrap.
This meta-package pulls in the other two parts.

XXX any modifications should be made to this pkg's Makefile.common, patches,
XXX files dir etc. *only* !
2001-02-03 05:34:57 +00:00
tsutsui
91b95f4cc1 Use $CC_FOR_BUILD on checking system types in config.guess. 2001-01-26 17:33:26 +00:00
skrll
3e9ab94d03 Improve argument checking for -version-info. Bump to nb11. 2001-01-26 16:42:44 +00:00
tsutsui
d3a77be809 Use "uname -p" or "sysctl -n hw.machine_arch" to check system types
in config.guess. (From gnusrc/gnu/dist/toolchain/config.guess 1.3)
2001-01-24 12:55:34 +00:00
jlam
ea6b629982 Move check for C++ contructors/destructors to occur earlier to prevent
passing $whole_archive_flag_spec to nm.
2001-01-15 15:18:23 +00:00
jlam
794515481f The "check" target is defined in bsd.pkg.mk for some other purpose, so
don't usurp it.
2001-01-15 14:40:32 +00:00