jasper
df430ae277
- revert libtool to -r1.16, as -r1.17 breaks at least dynamips, lftp and
...
silc-server.
found by landry@ and myself the hardway
ok sthen@ espie@
2010-10-28 22:19:03 +00:00
espie
1c010712c9
keep the output from dump-vars around, and save it in the logfile is
...
something bad happens.
get rid of special reporter for Vars, E= is enough, people should look
in the paths/logfile now.
2010-10-28 14:54:38 +00:00
steven
233c853561
strip static libraries with --strip-debug
...
seems to fix databased/db library
2010-10-28 09:08:27 +00:00
steven
d067b2c283
some cleanup
2010-10-27 23:42:49 +00:00
steven
6de5af54a3
behave more like gnu by not using pic objects for a static library.
2010-10-27 23:41:27 +00:00
espie
309af926e4
kill more code related to P= (will simplify next parts)
2010-10-27 22:53:32 +00:00
steven
08de79dc77
make ltprog a list of elements without whitespace.
...
this should prevent exec errors later on.
fixes telepathy-glib, noticed by landry@
2010-10-27 17:37:55 +00:00
steven
dda823ac11
create an executable wrapper only if we encounter not-installed shared libs
...
(still based on .la file content)
this fixes at least fix www/wml and maybe some others
2010-10-27 12:43:41 +00:00
steven
e0fd79dc30
this can never have worked for real...
...
change .a -> .la
in case we ever run into this particular case
2010-10-27 11:03:17 +00:00
steven
27f392bd95
do not pass libtool's -static option to the linker
...
instead do what it is supposed to do: not dynamically linking with
not-installed libtool libraries
openldap linking incorrectness pointed out by pea@
this might fix some other stuff as well
2010-10-27 09:05:30 +00:00
espie
7933e75f03
make -p optional
2010-10-27 09:04:37 +00:00
espie
d297996843
fix system for new interface
2010-10-26 21:56:40 +00:00
espie
1fecde2518
rework PkgPath to distinguish between empty and default flavors...
...
turns out we probably don't need FULLSUBDIR after all.
compute SUBDIR better, possibly with quotes.
Remove trailing / on subdirs, in case people use completion.
2010-10-26 15:45:09 +00:00
espie
663157b0c7
add an option for dpb to keep going if there are errors left.
...
there's a bug in the display (to be fixed) as errors won't show properly
and you have to look manually though...
2010-10-24 10:01:57 +00:00
steven
354a48eda4
do not write modules in shared_libs.log
...
noticed by ajacoutot@
2010-09-28 18:52:36 +00:00
steven
1e8a0905a2
- when writing a program wrapper, use the correct path
...
a/path/to/.libs/foo instead of .libs/a/path/to/foo
- make sure the symlinks pointing to the library are also in this path
problem spotted by naddy in net/gnet regression tests
2010-09-28 18:42:17 +00:00
steven
9098b5f565
drop relative -L paths from dependency_libs before installing the .la file.
2010-09-25 17:14:48 +00:00
steven
3ae0723a0e
drop libraries from deplibs which we are not going to install.
...
this should fix exiv2.
2010-09-25 16:58:52 +00:00
steven
44e0bdbcd7
also add -lfoo arguments to deplibs if there is no key yet for this library,
...
because the key may be set in a recursion step, but we only add to deplibs
at level 0.
this seems to produce more correct deplibs.
first step to fix kde/bindings.
2010-09-25 15:20:04 +00:00
steven
9b80461fa6
put .o files on command line in objects array as well.
...
this fixes errors in gst-plugins-bad.
while here, check the object list and bail out if it's empty
2010-09-25 13:32:06 +00:00
steven
d9fe54e890
don't use empty valued libdir here
2010-09-24 21:07:30 +00:00
steven
205a6c48cc
move test to discover shared libs in .la files to pass 2 because then we
...
actually have all the .la files we need (especially so if users insist on
using -lfoo instead of foo.la).
this makes it behave better for the creation of executable wrappers.
should fix sysutils/bacula.
2010-09-24 20:57:54 +00:00
steven
8618d9ee5f
when a lib has multiple different library names, populate the .libs dir with
...
symlinks to all of them.
this fixes kde/multimedia, which builds a libmpeg-0.3.0.so (using -release),
also known as libmpeg.so, and then links something with -lmpeg ...
(before this commit, we only had a symlink to the former)
it should really just use libmpeg.la instead, but let's have libtool handle
such attempts anyway.
might fix other stuff i'm not yet aware of, too.
2010-09-19 17:30:52 +00:00
steven
525b6fd50d
when we had for example -lX11 -L/usr/X11R6/lib,
...
we could not find /usr/X11R6/lib/libX11.la
therefore, parse -L arguments before everything else so we know in which
directories to search libraries.
fixes libcaca, and possibly others
2010-09-18 16:22:26 +00:00
espie
761854d37a
reset recorder if we get contents from packages, since it would grow too
...
much.
2010-09-15 09:36:57 +00:00
espie
4090fab496
make it work even if LOCALBASE is not defined
2010-09-15 09:36:02 +00:00
espie
9aa92a99d4
saner: always go thru a DumpRecorder, and perform full save/retrieve from
...
a dump recorder.
2010-09-13 14:38:05 +00:00
espie
afd72e8781
missing end $, noticed by Markus Lude
2010-09-08 11:06:12 +00:00
espie
3cbf41bbc9
prepare to move this too
2010-09-06 17:12:36 +00:00
steven
a0c67c389d
move portslogger to bin/
...
ok naddy@
if you have build scripts that use portslogger, adapt the path
2010-08-30 19:02:33 +00:00
jasper
c055be22f3
- strip leading 'lib' when we write the library name to the shared_libs.log
...
file.
ok steven@
2010-08-26 17:48:27 +00:00
espie
551aa46116
zap old option, fix usage and man for common stuff
2010-08-20 17:03:36 +00:00
espie
04cb4e82a5
move a large part of check-lib-depends into separate modules
2010-08-20 15:29:41 +00:00
espie
9b38b584e9
better namespace for make-plist internals, prepare to cut up check-lib-depends
2010-08-20 15:22:21 +00:00
espie
77858d70dc
and libtool
2010-08-20 15:09:54 +00:00
espie
0e23b453cb
and getpkgpath as well
2010-08-20 15:01:12 +00:00
espie
4699391cb5
rename/modernize
2010-08-20 14:59:41 +00:00
espie
22a16e663e
add shell scripts too
2010-08-20 14:50:36 +00:00
espie
0f5a54733f
+extract-dependencies
2010-08-20 14:44:56 +00:00
espie
f14352730d
and dolock
2010-08-20 14:40:31 +00:00
espie
b1ddddbdfb
add & document pkg_subst
2010-08-20 14:38:31 +00:00
espie
4a8d784a7d
merge back jasper's commit
2010-08-20 14:23:02 +00:00
espie
cc115f2ce5
finish renaming check-conflicts, add (c), document check-conflicts
2010-08-20 14:09:59 +00:00
espie
8409f0fef7
copy some stuff to the new organization, rename find-all-conflicts to
...
check-conflicts for consistency
2010-08-20 13:50:11 +00:00
espie
8fd332a665
cp dpb in there.
...
(old build/dpb will die eventually, but do the rename now)
2010-08-20 13:42:29 +00:00