espie
c7a54bd5f9
move stuff around
2008-10-30 15:54:23 +00:00
espie
fe2c0626b1
okay, just make sure the short name is / terminated, so we back-subst as much as we can in comments as well.
2008-10-30 15:38:09 +00:00
espie
75b4e00b20
use stringize to keep comments as they are...
2008-10-30 15:35:51 +00:00
espie
8ba18ac256
restore newauth stuff to working status
2008-10-30 15:28:29 +00:00
steven
1440297f2c
revert part of r1.35 which reversed deplibs, seems to cause very long loops
2008-10-30 15:03:07 +00:00
espie
2e6362364c
slight refactor. might be able to move @exec to end of directories when
...
needed eventually...
2008-10-30 13:49:11 +00:00
espie
ea071e4e85
try to put comments more or less where they belong
2008-10-30 13:39:22 +00:00
espie
33f7e414f7
start doing sensible stuff with sampledir
2008-10-30 13:10:59 +00:00
espie
23f6056807
fuzzy matching for @exec stuff
2008-10-30 12:55:21 +00:00
espie
1dbe68ce21
clean-up some more
2008-10-30 12:21:30 +00:00
espie
53167b4f73
standardized error messages
2008-10-30 11:44:43 +00:00
espie
4ffd43c84c
copy things later: first pass just finds existing things in the plist,
...
then we try to register extra shit to the `nearest' item, and then we
populate the new plist.
also integrate shell marker fix from okan@ (forgot about that)
2008-10-30 11:12:25 +00:00
espie
3cba2503ae
comment no longer applies. Yeah!
...
okay chantal goya@
2008-10-30 10:51:14 +00:00
espie
dbf937cb2d
rearrange things so that stuff to copy over can be dealt with after we know
...
what's still around.
2008-10-30 10:50:36 +00:00
steven
2105813ddd
don't add -pthread flag over and over again
2008-10-30 10:46:53 +00:00
steven
c2b79288a8
support -export-dynamic
...
from jakemsr@ long ago
2008-10-30 10:39:38 +00:00
steven
6a3d7e330e
zap some rather useless features
...
bernd agrees
2008-10-29 23:13:22 +00:00
steven
cbf11d3bf6
convert some more lines to use the debug function
2008-10-29 23:09:07 +00:00
bernd
03982df912
foo.la files which have libdir set are going to be installed and should
...
end up in dependency_libs. ok steven
2008-10-29 16:16:49 +00:00
steven
8563b27b22
build static library if -rpath is not set
...
only fill in libdir if -rpath is set
2008-10-29 16:10:53 +00:00
espie
7e9919aaf4
make things obvious: if your pkg_add is not up-to-date, this doesn't work.
2008-10-29 15:42:41 +00:00
steven
0d31269c32
error out if we cannot find a library file in the library hash
...
restrict addition of a flag to library link mode
2008-10-29 15:28:22 +00:00
steven
4ba440c926
use a subroutine for printing debug info
...
print some more debug info while here
2008-10-29 12:13:01 +00:00
espie
adb07d8b6f
this can happen, and it's perfectly sensible in fact
2008-10-29 11:26:02 +00:00
steven
02481d9d12
revert a fix from bernd, it breaks other stuff
...
build deplibs the reverse way, seems to improve the ordering a bit
2008-10-29 10:09:33 +00:00
espie
24f7bfbb3e
use lstat so it always return something even if the link points nowhere
...
(we don't care about the destination owner anyways)
2008-10-29 00:22:56 +00:00
bernd
70853d5e36
Fix globbing to find libraries. ok steven
2008-10-28 17:16:31 +00:00
bernd
c884da49b1
Unbreak dependency_libs generation for .la files. ok steven
2008-10-28 17:15:00 +00:00
espie
b2162c8751
do a much better job at handling owners and groups
2008-10-28 14:32:08 +00:00
ajacoutot
3b893bbd83
- revert; USE_GCC* does not belong to the gcc* MODULES usage and
...
the man page has always been wrong about it
requested by and ok steven@
2008-10-28 13:29:05 +00:00
espie
ecccb89c45
do a visitor to copy basic annotations (to be rearranged at some point)
2008-10-28 13:29:01 +00:00
espie
00018f7d81
people with complex multi-packages are going to love this: try to figure
...
out where to put new stuff based on existing directories.
2008-10-28 13:01:05 +00:00
espie
1181a04df0
oops again
2008-10-28 12:32:39 +00:00
espie
d7052d3837
refactor code a bit
2008-10-28 12:28:50 +00:00
ajacoutot
c78568ec50
- reverse logic so that gcc3/4 is actually used when USE_GCC* is set
...
- set USE_GCC* to Yes by default when using a gcc* MODULE which makes
much more sense
discussed with and ok robert@
2008-10-28 12:26:39 +00:00
espie
57273c051a
oops.
2008-10-28 12:07:23 +00:00
espie
86fc36109c
instead of the old mess, create a haystack hash with every full file name,
...
so that we can match directly against the file system.
Also keep a list for each element, which allows us to multi-match when
needed... For instance fvwm2 is now happy with this.
2008-10-28 11:59:12 +00:00
bernd
f2d591ad64
Print a warning if a lib isn't found in %libs so we don't try to use
...
an uninitialized variable.
steven agrees
2008-10-28 11:31:48 +00:00
bernd
61891ab14d
parse_file now caches the file contents in %file_cache so we don't
...
have to to IO on the same files again and again.
don't skip any .la files in resolve_la yet to not break the order
(fixes misc/amanda)
added some debugging prints
ok steven
2008-10-28 11:16:27 +00:00
steven
401035aa94
find -lfoo libraries also inside ./.libs directory
2008-10-28 10:01:13 +00:00
steven
bec920d5eb
try to use pic objects if no non-pic objects can be found
...
throw some warnings
2008-10-28 10:00:22 +00:00
steven
0dba86f80d
use -whole-archive linker flag when linking a shared library with static
...
libraries
2008-10-28 09:58:55 +00:00
espie
07bd3b52fe
small tweaks
2008-10-27 21:00:11 +00:00
bernd
65dd5daf1a
unbreak
2008-10-27 16:53:13 +00:00
espie
d369ce8e34
endfake no more
2008-10-27 13:25:35 +00:00
espie
c31a347ab1
zap the end_fake for now, it's confusing issues...
2008-10-27 12:18:40 +00:00
espie
08790e6f9b
DYNLIBDIR died ages ago
2008-10-27 11:28:12 +00:00
espie
81f915855f
zap very old code that was used to remove @exec mkdir and @exec install-info
2008-10-27 11:19:57 +00:00
espie
a223161d21
turn the stuff we read from the FS into actual objects
2008-10-27 11:12:01 +00:00
steven
826ea4d32c
support -objectlist option; makes devel/cln build
2008-10-27 10:34:18 +00:00