Commit Graph

115 Commits

Author SHA1 Message Date
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
kurt
853bf4e006 - don't use PATCHORIG for patch files in a port's patches dir since that
confuses 'make patch'. improvement and ok naddy@
2007-09-28 17:11:10 +00:00
espie
7a9f1afb15 add message that shows we exited a directory after an error, stops log there
during rebuilds.
2007-08-25 07:56:04 +00:00
espie
0c6983c419 allow locking command to take extra parameters, store them inside the lock
file (as a comment)
2007-06-02 12:03:56 +00:00
espie
9a70356e28 use new ProgressMeter interface 2007-06-01 15:01:50 +00:00
espie
d0d6d56f7e allow extract-dependencies to use several seeds, which is necessary
for multi-packages ports (databases/sqlite3 == databases/sqlite3,-main).
2007-02-06 20:01:06 +00:00
espie
7b1ed78b46 pass -a to diff always, as it will often get confused with unicode/iso-latin
stuff.
2007-02-03 17:08:13 +00:00
jasper
1616b919e5 zap trailing whitespace in the output 2007-01-17 19:44:19 +00:00
espie
e7bba25064 avoid weird error if we run this without patches 2006-11-21 11:18:34 +00:00
espie
3d0bde7b9b zap duplicate specs 2006-11-20 12:13:43 +00:00
espie
aaa9a0cd63 remove hack to recognize .0.0. 2006-09-18 12:56:22 +00:00
espie
a7c0d256e1 also zap .n as a final. 2006-09-18 11:30:08 +00:00
espie
03409d0fb5 zap .n.m suffix, just keep .0.0 as a special case for now. 2006-09-18 11:27:47 +00:00
espie
2bf397a8e6 allows >= for lib-specs, needs some quoting for shell... 2006-08-01 10:00:54 +00:00
ian
edc8f04975 Minor clarification of message, ok espie@ 2005-12-06 17:15:38 +00:00
espie
a7f7af295a more error checking.
reported by Simon Kuhle
2005-11-06 09:34:20 +00:00
espie
eae1e7329e move DIFF_ARGS around 2005-11-05 11:38:46 +00:00
sturm
76a0bc8eef create LOCKDIR if it doesn't already exist
ok espie@
2005-11-01 10:54:42 +00:00
bernd
097bf89941 Add a quick (-q) option for the impatient people. But look out! If you
use the -q option, out-of-date looks for changed package names but not
for changed package signatures!

If you want to see ALL of you outdated packages, don't use -q.

"go ahead, commit" espie@
2005-11-01 10:11:40 +00:00
espie
f5f73908d5 more reports 2005-10-29 12:27:31 +00:00
espie
76fc40b70e fix 2005-10-29 12:14:26 +00:00
espie
3e5d6bac8a better error message for slackers who can't read perl. 2005-10-29 12:12:39 +00:00
espie
ce319b8661 Add -r option so that tool can be used to do more. 2005-10-22 18:05:34 +00:00
espie
8e7f909b8d Use the caching mechanism set up in bsd.port.mk to speed it up x3. 2005-10-10 22:25:06 +00:00
bernd
67538a1775 - only compute signatures if the package name doesn't change
- some error checking
- print differences between package signatures

ok espie@
2005-10-10 22:08:27 +00:00
espie
c4ced942c9 protect against cases where @ARGV == 0, which can happen very seldom... 2005-10-10 19:43:33 +00:00
espie
031729bf37 make sure to get ALL libs, that is, several lines in case we need pkg_info
to get the right libraries.
2005-10-10 19:04:06 +00:00
espie
01c2d27f64 let resolve-lib return a useful error code 2005-10-09 13:27:39 +00:00
espie
43ed8edb9c tweak the way library dependencies are resolved to speed them up.
Now, resolve-lib can take a big list of libraries with full paths,
and it can solve a big list of spec at once.
Basically, we move most of the parsing of spec paths into resolve-lib.

Since print-package-signature does build a full list of libs, let's solve
it all at once, instead of invoking a costly perl script repeatedly.

Add some caching possibilities for out-of-date. Specifically:
- store libraries for each package under the directory _PORT_LIBS_CACHE
- use the dependency cache _DEPENDS_FILE to avoid recreating dependency
chains, add a new file _DEPENDS_CACHE that will accumulate all dependencies,
and extract these with a simple script extract-dependencies.

Use echo to build libraries lists instead of ls, that's a bit simpler...

Some more clean-up will happen: it's probably simpler to parse libspecs
at once, extract the libraries needed and go fetch the corresponding libraries
just once.
2005-10-09 12:01:22 +00:00