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
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
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
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
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
steven
826ea4d32c
support -objectlist option; makes devel/cln build
2008-10-27 10:34:18 +00:00
steven
af0ac41778
slightly more readable
...
use same comment as gnu .la file
2008-10-27 09:36:42 +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
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
steven
002ab91cdb
-n is an alias for --dry-run
2008-10-20 20:16:05 +00:00
steven
211fecd1ec
sort libraries by version number only instead of alphanumerically by filename
...
prevents libfoo.so.10.0 < libfoo.so.9.0
pointed out and similar diff by bluhm@ before ports lock
2008-10-10 20:32:28 +00:00
espie
553bc2d94c
pkg_subst without file args acts as a filter
2008-06-09 12:01:39 +00:00
espie
252db942d7
copy rights and owner, based on jasper's remarks
2008-05-06 16:13:15 +00:00
steven
276ab95894
say it's experimental. avoid it for regular ports building for now...
2008-05-01 22:02:32 +00:00
espie
ade8f6f21e
scaffold for CMD_SUBST
2008-04-07 11:10:16 +00:00
jakemsr
41e50b340e
escape special characters in arguments before splitting arguments on
...
spaces.
ok steven@
2008-02-17 02:01:42 +00:00
simon
6692106c6c
ease sending cpan reports by adding the default recipient address
...
requested by & ok okan@
2008-01-29 21:00:27 +00:00
simon
bf1bcd25c5
let `make regress' write test reports
...
to use it set CPAN_REPORT=Yes, CPAN_REPORT_FROM to your email address
and CPAN_REPORT_DB to a directory (like PLIST_DB)
initially by steven@
feedback from steven@, msf@, rui@, espie@, merdely@, okan@
ok msf@
2008-01-27 23:28:25 +00:00
steven
00e2cb6285
- store more info in .la files, simplifies the resolver
...
- process -R flags
- try to use the right -l flag
- skip prefer-pic/non-pic for now
- various tweaks
2007-11-16 15:37:20 +00:00
steven
2ff99c7644
don't create symlinks to static libraries
2007-11-09 15:20:57 +00:00
steven
fd610b14e1
install libraries with mode 644 if possible.
2007-11-05 12:45:34 +00:00
steven
011438b584
handle -prefer-pic and -prefer-non-pic options in compile mode.
...
shorten second getopt configuration line a bit.
2007-11-05 12:15:35 +00:00
steven
520b2657e2
also use -R flags when linking libraries, and add them into dependency_libs.
2007-11-05 11:27:34 +00:00
steven
3b08865b7c
rework comments a bit
2007-11-03 13:40:08 +00:00
steven
8638149d6e
handle current,revision,age stuff a bit better, and make sure it all gets
...
written in the .la file
2007-11-03 10:15:41 +00:00
steven
b5e8a26a13
drop -L flags containing .libs directories from installed .la file
2007-11-03 09:20:34 +00:00
steven
df477a7ef0
- library names don't have to start with 'lib'
...
- use libname.lax directory for extraction
- eliminate duplicates from dependency_libs
2007-11-03 08:47:46 +00:00
steven
2cd6019414
oops, keep -f test before creating a symlink
2007-11-01 17:21:25 +00:00
steven
cc9a22211a
remove symlinks before creating them.
...
add --config output, only one variable for now which some port uses.
2007-11-01 10:39:33 +00:00
steven
3a7ffa8c6f
- use .lai extension for better compatibility with gnu
...
- write .lai file at build time, and only install .la for shared libraries
- create symlink to .la file from the .libs directory
2007-10-31 21:49:08 +00:00
steven
802692b22c
put the final libdir correctly in .la file from the start.
...
this also simplifies reworking of dependency_libs upon installation.
2007-10-31 17:32:55 +00:00
steven
c4dfa87bce
- read and ignore -thread-safe option
...
- ignore multiple arguments for -version-info, just take the first
2007-10-29 18:47:19 +00:00
steven
ffcdf90dd5
resolve symlinks during installation
2007-10-29 15:56:56 +00:00
steven
fbad1b3d27
don't escape special characters which are surrounded by quotes.
2007-10-29 11:49:52 +00:00
steven
51efcbbcc7
libtool replacement
...
work in progress, do not use this yet.
input from and "commit it" espie@
2007-10-28 14:34:09 +00:00
naddy
44899eea9b
* fix check for CVS keywords
...
* extend check to all CVS keywords, suggested by kurt@
ok kurt@
2007-10-01 20:39:23 +00:00