Commit graph

117 commits

Author SHA1 Message Date
wiz
28a4483bc7 NO_PATCH is deprecated, says pkglint. Remove it. 2003-03-28 21:14:10 +00:00
jschauma
4175e46380 PKGREVISION++ after last fix for irix. 2003-03-28 15:05:01 +00:00
jschauma
032fd314e2 Do the right thing on irix and use version=sunos
as recommended by Nick Hudson.
2003-03-27 18:56:57 +00:00
skrll
5d1a5a5fda Don't use -nodefaultlibs when linking C libraries - this was for old broken
ELF toolchains. glib2 on -current will now link correctly as -pthread will
have an effect.

PKGREVISION++
2003-01-31 20:33:51 +00:00
skrll
3690edb715 Whitespace. 2003-01-31 20:29:09 +00:00
grant
da2439d664 set need_version=no on Darwin, from libtool 1.4.3.
This should fix PR 19271 from Jason Thorpe.

ok'd by nick.
2003-01-21 22:43:42 +00:00
jlam
1abdd450fe Install a ${PREFIX}/bin/shlibtool as part of the devel/libtool-base
package.  shlibtool will not build static libraries.  Add handling in
bsd.pkg.mk for a variable named "SHLIBTOOL_OVERRIDE" that is analogous to
LIBTOOL_OVERRIDE and causes any listed libtool scripts to be replaced with
a symlink to shlibtool, and teach buildlink2 about shlibtool.  Bump
PKGREVISION of devel/libtool* packages to 11.
2003-01-10 08:44:18 +00:00
jlam
17a94ef325 Instead of libtool-base>=${LIBTOOL_REQD}, directly specify >=20010614nb1,
which was the last version with a different shared library number on
libltdl.so.
2003-01-06 09:49:08 +00:00
jschauma
4d51560769 When checking for operation mode, add a case for 'CC', Irix' C++ compiler.
(Only apply this change to ltmain.sh, this time! ;-)
2002-12-25 19:35:21 +00:00
wiz
c8a29388ad Unbreak libtool (hi Jan!) 2002-12-25 03:30:26 +00:00
jschauma
7f56109057 Make sure that shlibs built on IRIX use the same major version number as on
others.
2002-12-23 19:32:12 +00:00
jlam
2ec487e5ac Convert libtool packages to use buildlink2. 2002-12-23 14:49:54 +00:00
grant
6220163ace fix shared library names on FreeBSD to be like NetBSD and Solaris in
preparation for FreeBSD pkgsrc support.

bump PKGREVISION.

ok'd by nick.
2002-11-17 11:55:01 +00:00
wiz
bb162fafac Unused. 2002-10-21 14:21:28 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
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