espie
b71c54aa8d
clean-up
2011-06-24 14:44:05 +00:00
espie
2a43e0ad2a
optimize newwantlib:
...
- if _DEPRUNLIB is empty, there's no need for any computation since the
result will be empty.
- zap the loop on _LIB4* for port-wantlib-args, as run-dir-depends already
grabs them.
- expose wantlib_args and corresponding targets for pkg_create to take
advantage of.
- add a dirty way for developers to waive the fake vs. ports check (PLEASE
use with EXTRA CAUTION).
2011-06-24 14:34:15 +00:00
espie
78782b3f3f
turns out WKRDIR is not quite as constant as I wished...
...
found out by naddy@
2011-06-23 22:03:15 +00:00
espie
e428771bff
decent error message
2011-06-23 21:49:18 +00:00
espie
fb83b9e131
oops
2011-06-21 17:11:45 +00:00
espie
ad884b7af4
save the wantlibs into files before comparison and give a more useful
...
error message. This was always intended, I wanted to make things work
before making them beautiful.
2011-06-21 17:04:32 +00:00
espie
3fde18c238
zap old legacy compat with old depends with lots of leading :::
2011-06-15 16:31:11 +00:00
espie
a307462266
fix some limitations of _print-package-args
...
* cut it into separate targets for readability and better testing
* filter libraries more efficiently
* use internal variable for resolve-lib
create two targets for solving wantlib: one (_fake-wantlib-args) which uses
the information under the fake directory and installed packages, and another
(_port-wantlib-args) which walks packing-lists. The second one can be used
to collect meta-info even when nothing is installed, and thus provide better
package-signature accuracy, or help with lib-depends-check.
The first one uses what's actually in place when a package is built.
For now, we're paranoid and use both when building a package, erroring out
if they don't match, even though _port-wantlib-args is somewhat slower.
2011-06-15 16:29:48 +00:00
naddy
297ddb4ef7
add --disable-silent-rules for CONFIGURE_STYLE=gnu; ok kili@
2011-06-02 15:54:10 +00:00
ajacoutot
06abdaec00
Punctuation in the xz WARNING.
2011-06-01 16:04:12 +00:00
espie
e5e8d25a93
initial support of xz, to be polished.
...
most important part is nagging the user that this WILL not build on
some architectures and be very inconvenient on some others.
2011-06-01 12:04:06 +00:00
espie
6fc3e924f5
dpb -f will need FETCH_MANUALL to tell people to fetch those
2011-05-16 23:40:24 +00:00
kili
9862026031
Fix missing quote around $$pkg.
...
ok espie@
2011-04-23 08:25:50 +00:00
espie
bdca4a9a30
prefer the V- version for non-MULTI_PACKAGES vars.
...
fixes E on libf2c-old on i386.
2011-04-16 12:21:44 +00:00
espie
ab5cd9d6f3
redo the IGNORE dance in a smarter way:
...
derive IGNORE-sub from IGNORE, and then test IGNORE-sub
Define complete value for IGNORE very late, _MULTI_PACKAGES trimming only
requires subpackage-specific info.
fix bug in describe, correctly differentiate between empty and !defined
ONLY_FOR_ARCHS.
2011-04-16 10:31:20 +00:00
jasper
eaf9dad616
remove USE_MOTIF bits
...
ok aja@ sthen@
2011-04-10 17:55:41 +00:00
espie
c37a0a8a83
define IGNORE${SUBPACKAGE} for each SUBPACKAGE.
...
Prevents dpb from building subpackages that are NOT_FOR_ARCHS or
ONLY_FOR_ARCHS, as tested by quite a few porters.
2011-04-03 07:19:05 +00:00
fgsch
f33f72e660
add repackage to the recursive targets.
...
with input and ok espie@
2011-03-28 00:16:13 +00:00
espie
c7b6b23044
tweak logic slightly to avoid duplicate error messages which make no sense
2011-03-22 19:56:51 +00:00
sthen
fc8ddee2f7
adjust the BUILD_DEPENDS for USE_GROFF to require 1.21; ok espie@
2011-03-21 09:38:53 +00:00
espie
e544151d8e
allow things to proceed after flavor_fragment in SUBDIR handling.
...
Also puts the FULLPKGPATH in extra_msg to figure out where bad dependencies
come from
2011-03-20 19:28:07 +00:00
ajacoutot
c604c9ac83
Make clean=plist consistent with the other clean targets, do not error
...
out if the plistdb directory does not exist.
ok jasper@ espie@
2011-01-16 20:36:49 +00:00
espie
ac029da04c
pass an extra -q to pkg_info -r... that way, we can have "the human version"
...
be more verbose...
2011-01-10 12:59:36 +00:00
espie
df8ae14936
allow BUILD_DEPENDS = somepath>=version:patch
...
THIS REQUIRES A pkg_info WITH THE -r OPTION, e.g., current !
2011-01-09 13:07:53 +00:00
espie
f90f6db6eb
totally forgot about PATCHFILES
2011-01-04 21:54:36 +00:00
espie
d876093129
old forgotten PKG_SPEC commit
2010-12-20 16:39:53 +00:00
espie
746282fe00
pass PORTSDIR to pkg_create so that it can check more things
2010-12-20 13:05:40 +00:00
espie
ef56915d0c
- pass PORTSDIR for libtool, since people seem to want to stuff their
...
ports tree in weird places.
- show CHECKSUM_FILES if DPB=fetch or better.
2010-12-14 11:37:38 +00:00
espie
884b53366c
dpb does not need EPOCH + REVISION
2010-12-07 11:26:37 +00:00
ajacoutot
336c24d6ba
Add a default HOMEPAGE for cpan ports when none is specified.
...
All work including upcoming huge bump done by Mikolaj Kucharski, thanks!
ok jasper@
2010-12-03 11:43:05 +00:00
espie
abf72e33c3
SHARED_ONLY is Yes or No
2010-11-26 20:24:36 +00:00
espie
2c0a53e285
show the old-style depend.
...
fix :configure depends for versions.
move PKGSPEC to !dpb dump-vars
2010-11-25 18:06:37 +00:00
espie
21be510d2b
fix quoting (spotted by jeremy@), make old style depends an error
2010-11-23 18:34:20 +00:00
espie
1c9acc51a6
tweak where stem-* is computed, to be documented and used later
2010-11-20 19:57:59 +00:00
espie
811d94d9d6
new depends
2010-11-20 19:56:47 +00:00
espie
e4c6484205
small tweaks:
...
compute _CHECK_DEPENDS earlier
set extra_msg to have flavor_fragment show something better than empty
directories
2010-11-16 19:26:18 +00:00
espie
6c85f407d1
missed _print-plist-with-extra-depends, noticed by jasper@
2010-11-16 09:39:45 +00:00
espie
86a41b10d0
most abreviated format for depends. there's a consensus that it's good,
...
and it works.
2010-11-16 09:16:26 +00:00
espie
b1497e737a
revamp the way dependencies work
...
- strip extra : at start of depends (old LIB_DEPENDS are gone, right)
- rely on the fact, :extra is only patch|configure|build for any depends.
- use _parse_pkgspec to do things intelligently.
- _set_stem2default to handle STEM-*.
- switch internal stuff to new style.
This is backwards compatible. But this does require -current dpb, -current
sqlports, and -current pkg_add to work !
2010-11-14 11:17:36 +00:00
espie
199b16a59a
all old LIB_DEPENDS=libspec:pkg:path should be gone, so the warning becomes
...
an error.
2010-11-11 19:03:25 +00:00
espie
e7a2eb26ed
"fake" extra @depend lines for LIB_DEPENDS in port-lib-depends-check, so
...
that they show up even if there's no WANTLIB for them yet
2010-11-11 12:38:51 +00:00
espie
c2993506c5
oops. noticed by sthen@/jasper@
2010-11-09 23:55:28 +00:00
espie
38061a5145
trap does not exit, avoid unlocking twice, even though it's harmless
2010-11-09 11:18:47 +00:00
espie
a4f88880eb
- add check-register, that basically does print-plist
...
- switch motif to WANTLIB
- start warning about old style LIB_DEPENDS. It's time !
2010-11-07 00:03:38 +00:00
sthen
89545fa5be
Let pkg/README-subpackage work, before this we looked for README--subpackage.
...
ok espie@
2010-10-28 22:39:44 +00:00
jasper
974d938556
- remove "suspicious empty line" emacs whines about
2010-10-28 21:09:52 +00:00
espie
feefd4a81a
give readmes to SHAREOWN/SHAREGRP
2010-10-28 14:26:36 +00:00
espie
ff7b318b8c
turns out dpb doesn't need this in the end...
2010-10-28 11:14:23 +00:00
espie
367244bbf1
pass FULLPKGNAME to SUBST_VAR (impossible to do readmes otherwise)
2010-10-27 17:38:18 +00:00
espie
d9d6c3c0f1
tweak readme: say that we're installing something
...
put that into mtree (to be done in src as well)
install in LOCALBASE, independently from PREFIX (newer pkg_adds are happy
with @cwd outside of PREFIX)
2010-10-27 14:34:33 +00:00