Commit Graph

1012 Commits

Author SHA1 Message Date
espie
23c2d177a9 allow people to run check-lib-depends automatically, grabbing the files
from WRKINST and the packing-list from the just built package.
Reuse the register_plist pattern.
2007-04-03 10:14:14 +00:00
espie
1cca659066 configure may not exist. found oud by steven@ 2007-04-02 10:43:39 +00:00
espie
f020e9e32b new target: port-lib-depends-check, can verify libraries directly from the
fake area, without needing to build bogus packages first.
2007-03-31 15:36:43 +00:00
espie
5bc25e411a display warnings if autoconf version differs. 2007-03-30 13:55:07 +00:00
espie
949afb38a5 like xenocara: REORDER_DEPENDENCIES has been tested enough, silence it
by default.
2007-03-30 13:44:50 +00:00
espie
c6897dc077 CHECKSUM_FILE never changes -> can be used directly 2007-03-30 13:41:44 +00:00
espie
634644d8e4 tweak the way mirror-maker emits stuff, so that the Makefile contains lines
suitable for cksum -c.
2007-03-28 15:45:03 +00:00
espie
fb9fcd5fbc use cksum -c so we can get `magic' base64/hex matching. 2007-03-28 13:21:43 +00:00
espie
bc0a71b1bb remove stupid hack that makes _print-packagename display README on
subdirs. Confuse the hell out of broken dependencies, and is not
even needed.

fix typo.
2007-03-19 21:32:35 +00:00
naddy
2c2c250df3 makesum: don't try to create distinfo if there are no distfiles; ok espie@ 2007-03-15 18:11:54 +00:00
espie
b5a3fca2a6 use _CKSUMFILES in clean=dist, and recurse if we notice there are
SUPDISTFILES, so we get them as well.

This misbehavior noticed by Mikolaj Kucharski.

(the intention is obviously to regrab everything to verify whether
anything changed, and that includes SUPDISTFILES)
2007-02-16 19:08:54 +00:00
espie
3b1db2b2c1 use cksum -a $$cipher instead of $$cipher to compute crypto hashes.
Only functional change:
Add sha256 at the end of the list of supported ciphers, so that new
makesums will add the new cipher.

The rest is business as usual.
2007-02-11 11:44:17 +00:00
espie
2c0953c14e minor tidbit: define FULLPKGPATH based on FULLPKGPATH${SUBPACKAGE} in
the multi-packages case, as should be.

introduce _ALLPKGPATHS, and use it in show-required-by, so that
show-required-by works for multi-packages.

problem noticed by bernd@
2007-02-06 20:04:01 +00:00
espie
50ea26a11c rely on new make feature, avoid old work-around (need a current make to
work)
2007-02-03 17:09:39 +00:00
espie
fa6fc8a2f7 sometimes (not very often), config.h.in files live in any directory 2007-02-03 17:08:59 +00:00
espie
a7cedd9db7 add the ability to cleanly delimit embedded plist info.
will help unconfuse lib-depends-check and make-plist wrt error messages.
2007-01-15 13:43:52 +00:00
bernd
c5e1d48b7a Fix typo. This unbreaks 'make update'. 2007-01-04 11:34:14 +00:00
espie
9f019509e8 prefer subpackage-dependent version of variables for substitutions.
this lets the correct PREFIX be substituted in packages, among other things.

Problem discovered in php5-extensions
2006-12-31 13:12:35 +00:00
espie
8b31dd60d8 use a simple perl script to compute initial pkgpaths... Cwd can replace
pwd -P, and we select the longest prefix from PORTSDIR_PATH.

This lets mystuff-like dirs get stripped from PKGPATH correctly, as long
as PORTSDIR_PATH is set correctly.
2006-12-26 15:00:24 +00:00
espie
5efd6b68e4 duplicate the print-plist targets, add a version -with-depends, which is
slower, but shows dependency lines as well...

Also fix target evaluation to work like it does elsewhere
2006-12-18 12:52:34 +00:00
espie
25c626b21e activate our pkg-config. 2006-12-16 11:53:46 +00:00
espie
b3ba10ebac repair pkg_mklocatedb from src 2006-12-11 15:52:14 +00:00
steven
e3820f5171 DEPPATHS per subpackage, ok espie 2006-12-11 14:01:03 +00:00
espie
c89eab44fc pass all subpackage information to make-plist.
Adapt make-plist to use the same code as pkg_create to deduce fragment
names, remove some old special cases that should no longer matter.

Zap directories from dependencies in a way depending on the dependency.
Far from perfect yet, as directories should be registered multiple times
in packages that do not depend on each other, and could also be used to
figure out where to put new files...
2006-12-11 13:36:06 +00:00
espie
9d1d088f4c missed a few = signs.
Avoid writing anything when no libspecs.
2006-12-11 11:05:43 +00:00
espie
5792254153 Add proper "Returning to build of..." to unconfuse the logger in the case
of FORCE_UPDATE.   Also break out in case update fails (otherwise the old
installed package would be enough to continue building).

Sprinkle REPORT_PROBLEM to know more precisely what stuff is breaking.

replace some
if eval cmd; then
with
if (eval exec cmd); then

because if eval... seems to break early, even with the test guard, thus
giving a chance to REPORT_PROBLEM to do stuff instead of having to wait.

(Note: a trap would probably be simpler ?)
2006-12-09 14:56:41 +00:00
espie
1afd447f95 wrap calls for _print-package-args to print reliable errors (better than:
`some Makefile somewhere is broken ! find it')
2006-12-08 10:19:08 +00:00
espie
a9bf5ac052 ending up with an empty SUBPACKAGE is an explicit error. 2006-12-05 19:23:42 +00:00
espie
26075e9de6 move TMPDIR to pkgpath.mk to allow its use from both bsd.port.mk and
bsd.port.subdir.mk

Use absolute paths to build readmes files, based on READMES_TOP, which
can be (or not) PORTSDIR.

Generate category readmes in tmp directory as well.

minor clean-ups
2006-12-02 11:27:46 +00:00
espie
b219b82d19 move the generated readme stuff to a temporary directory, much cleaner that way. 2006-12-02 11:08:49 +00:00
espie
6f8c254c9e fix READMES again 2006-12-02 10:27:40 +00:00
espie
8fb5e71cef clean-up spacing 2006-12-02 00:10:24 +00:00
espie
1259dc14cb let license-check recurse correctly, thus we are checking ALL licences,
finally.

Remove work-around for undefined SUBPACKAGE stuff, since we're no longer
hardcoding it at the Makefile level, and thus the ERROR check works.
2006-12-01 17:56:38 +00:00
espie
5f5c120220 use the pkg-config in /usr/local preferably, until we get a decent
pkg-config in /usr/bin...
2006-12-01 17:37:15 +00:00
espie
197d308a2f remove the last redirectors, regenerate readmes on the fly... 2006-12-01 17:33:16 +00:00
espie
0e7d3606d9 make it possible to override a FULLPKGPATH if you REALLY know what you're
doing... DO NOT USE, unless you really know.
2006-12-01 11:34:04 +00:00
espie
dfa3a77ddb fix describe 2006-11-30 23:08:07 +00:00
espie
a8356d9ae2 un-recursive dump-vars, remove vars that don't make a lot of sense now. 2006-11-29 09:42:08 +00:00
espie
c72f6e29fd hidden SUBPACKAGE in _register_plist: put it back into ${_PACKAGE_COOKIE${_S}} 2006-11-28 23:13:30 +00:00
espie
6d481f3f77 apply the same transformation to install/install-all 2006-11-28 20:40:55 +00:00
espie
cd97d2252c move a few things around inside one single MULTI_PACKAGES loop 2006-11-28 20:31:25 +00:00
espie
46484d5a90 fix a typo
mv some PKG_ARGS where they belong, and s/SUBPACKAGE/_S
2006-11-28 20:26:38 +00:00
espie
fe36feb551 remove a lot of redirectors, add a lot more loops, build stuff based
on internal variables mostly.
2006-11-28 20:20:25 +00:00
espie
fda8ee6238 let PKG_ARGS be SUBPACKAGE dependent, define them all 2006-11-28 19:59:15 +00:00
espie
4d572376b6 fix for xview 2006-11-28 19:13:47 +00:00
espie
0f300c1d5c big internal changes: if MULTI_PACKAGES is not defined, define it to '-',
so that the `normal' cases is MULTI_PACKAGES, (with possibly one
special '-' subpackage).

Adjust a few tests accordingly so that people don't notice the '-'
SUBPACKAGE: mostly do not print some directory changes, adjust FULLPKGPATH,
and set up PLIST- templates correctly.
2006-11-28 18:25:42 +00:00
espie
2e52dd7f15 display something when switching directories during updates 2006-11-28 18:17:57 +00:00
espie
fea2461c67 prepare to be able to have every subpackage present at once. 2006-11-28 16:28:56 +00:00
espie
1aa5f43449 explicitly duplicate stuff to SUBPACKAGE, often a nop, but make sure
people get correct information.
2006-11-28 16:24:00 +00:00
espie
b43469a3f4 unbreak xplanet for now 2006-11-27 20:29:50 +00:00