Commit Graph

2014 Commits

Author SHA1 Message Date
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
espie
4374ceee96 move parts of make-plist into a separate module to try to clean up the
mess a bit...
2008-10-27 10:33:46 +00:00
steven
af0ac41778 slightly more readable
use same comment as gnu .la file
2008-10-27 09:36:42 +00:00
espie
646dba29d0 useless comment ;) 2008-10-26 16:24:22 +00:00
espie
1c7c0e6f80 zap local $_ 2008-10-26 16:02:06 +00:00
steven
e0416b8ada sort subs 2008-10-26 09:52:10 +00:00
steven
9fbc3582ca slight code reorg, somewhat more readable 2008-10-26 09:44:22 +00:00
bernd
5f93c223a6 Add SUBPACKAGE to _ALL_VARIABLES. ok espie@ 2008-10-25 15:06:26 +00:00
sturm
2342cf4f65 BIN_PACKAGES is obsolete
from  Mikolaj Kucharski
2008-10-24 16:34:19 +00:00
steven
f259217b48 abort if neither a .la file nor a real library can be found 2008-10-20 21:00:30 +00:00
steven
728795eed1 don't try to strip .la files on installation
use same libtool version as in ports tree
2008-10-20 20:20:09 +00:00