Commit Graph

2036 Commits

Author SHA1 Message Date
espie
131635f281 simplify parse_file a bit, okay steven@ 2008-10-31 10:28:05 +00:00
steven
bac6de4a16 add support for -export-symbols-regex, seems to work 2008-10-30 23:53:28 +00:00
espie
f9c152cd42 okay, directories are not 100% yet... 2008-10-30 22:34:06 +00:00
steven
4cfa4bc828 support -export-symbols 2008-10-30 22:22:34 +00:00
espie
08ed051132 fix the reversesubst bug. In retrospect, it's obvious...
add a few print's for large ports where you wait forever...
2008-10-30 22:00:58 +00:00
steven
cdef84d3bb same search path debug info for find_la 2008-10-30 19:13:11 +00:00
steven
bfe5af2eef in find_lib, setup search path before starting search instead of modifying
some of the paths as we go; print search path in debug mode
rename a few variables for clarity
remove a spurious print statement

looks good to bernd
2008-10-30 19:02:19 +00:00
steven
e9fc27ce46 deal with multiple -rpath arguments; add the paths correctly to the run-time
path when linking an executable.

looks good to bernd@
2008-10-30 18:15:06 +00:00
espie
8635ef162c if item does not exist, don't check whether it's a shell. 2008-10-30 17:52:56 +00:00
espie
cdc0b08d42 shorter message 2008-10-30 16:35:31 +00:00
espie
3f7613a275 don't annotate stuff with @owner root unless there are mode thingies around. 2008-10-30 16:19:23 +00:00
espie
cc5ae1ec74 write out simpler packing list filenames all the time 2008-10-30 16:02:14 +00:00
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