Commit Graph

1096 Commits

Author SHA1 Message Date
espie
5b18fe959e ... works much better if I commit pkgpath.mk as well... 2008-07-03 17:00:38 +00:00
espie
8e680d768f make full-*-depends targets invocable at the subdir level, as requested
by ajacoutot@
2008-07-03 15:43:22 +00:00
fgsch
13bf7688dd fix fetching files from MASTER_SITE[0-9]. found earlier by me during
a full port-lib-depends-check and later reported on ports
by Tim Donahue (tdonahue at vonsystems dot com). espie@ ok.
2008-06-06 01:17:13 +00:00
fgsch
0ae2ac563d ignore ports marked as such on port-lib-depends-check. rearrange targets
while im here. espie@ ok.
2008-06-05 08:14:00 +00:00
fgsch
537c203d29 allow port-lib-depends-check to be recursive; espie@ ok. 2008-05-23 16:53:28 +00:00
espie
95097113a0 add a bit of glue so that mirror-maker will be able to use the same locks
as the rest of the tree
2008-05-18 11:22:14 +00:00
espie
64d146b5bf remove intermediate targets we're no longer needing 2008-05-18 10:05:21 +00:00
espie
b6f6bdaee7 compute a set of missing files to show a better message for FETCH_MANUALLY
(got annoyed at java each time I had to figure out WHICH file got updated
and I had to fetch out of... the ten of them)
2008-05-18 09:58:09 +00:00
espie
59ea16ab14 no reason for fetch-all not to be a recursive target 2008-05-17 11:02:22 +00:00
espie
eac6cf7b3c simplify computation of MAKESUMFILES: start with what's already been done,
and just append to it.
2008-05-15 10:09:29 +00:00
espie
456b53e76f hide ALLFILES and REALLY_ALLFILES, they have confusing names anyways 2008-05-15 09:57:03 +00:00
espie
377f320ea8 clean-up fetch/fetch-all framework 2008-05-15 09:51:17 +00:00
espie
7e5366d9fb no reason not to allow install-all as a subdir target, so...
allow it!
2008-05-13 14:52:44 +00:00
deanna
2b77239a61 Add X11BASE to SUBST_VARS
ok espie@
2008-05-12 14:45:48 +00:00
espie
6c2917a593 stylistic changes 2008-05-11 19:50:55 +00:00
espie
25bde73a04 forgot one 2008-05-11 19:50:42 +00:00
espie
63905f17d2 zap indirectors that are no longer needed 2008-05-11 19:44:12 +00:00
espie
5e19e9e080 slightly simpler hook loops: use :U just once, since it applies to
every word. Also use :T to select the final word of the PKGPATH, so
that hooks work seamlessly for `non-core' modules, thus removing the
need for most modules to be core.
2008-05-11 19:36:12 +00:00
espie
4a25b37ecc clean-up pre-install hook. 2008-05-11 12:05:51 +00:00
espie
5caea536bd put back a default definition of FAKE_FLAGS, for style, since this did not
break anything.
2008-05-11 11:19:19 +00:00
espie
321669c708 conform to other hook naming. 2008-05-11 11:12:09 +00:00
espie
b9752adc83 sanity check: one CATEGORY should match the PKGPATH.
Surprisingly, this catches about 20 ports with their pants down.
2008-05-08 22:35:51 +00:00
ajacoutot
690b31ffc5 - add ^LOCALBASE to SUBST_VARS; now that SUBST_CMD is here, this will
become handy

ok espie@
2008-05-06 19:20:16 +00:00
espie
7ede32a06c use a trap to remove the tmp file, thus helping making sure it does not
stay around
2008-05-04 12:58:03 +00:00
espie
58b1418be0 make the lock on distfile more useful. In case we got stuck in the
SIMPLE_LOCK for a while, this means something else is fetching
the same distfile, so first check whether our target actually exists
before we try to fetch it all over again.
2008-05-04 12:53:14 +00:00
espie
2c22929416 extend VAR_SUBST syntax slightly: a supplementary ^ at the beginning of
the variable subst means the subst shouldn't occur anywhere, but only at
beginning of name... useful for backsubst of SYSCONFDIR, since etc is so
frequent. Extended to other variables such as PREFIX.

tweak make-plist to use OpenBSD::Subst.

*this means this only works with current, but you've had a week to update...*
2008-04-12 13:04:21 +00:00
espie
3a17c26da8 add support for SUBST_CMD 2008-04-07 11:12:42 +00:00
pvalchev
ce69f8a036 'sh' now has shared libs; from brad 2008-03-29 01:58:33 +00:00
simon
c2eff19a79 run cpanreport with perl 2008-01-28 00:03:01 +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
espie
10fa94b01a insist on mkdir -p... now that FAKE_FLAGS is `fixed' this works.
Tested thru a full bulk-build
2008-01-18 20:58:15 +00:00
espie
bf85c6df5a make it possible to lock/unlock manually a given directory.
This can be used to work on a port update while building other stuff
without risking the global build from interfering until the update is
finished.
2008-01-12 14:12:43 +00:00
espie
9ca2e064cf do the same thing with REGRESS_FLAGS as FAKE_FLAGS 2008-01-04 18:38:51 +00:00
espie
17d70806a3 tweak FAKE_FLAGS semantics to saner defaults. 2008-01-04 17:48:33 +00:00
espie
e0c15c5448 scaffold for running make in parallel, to be documented soon. 2007-12-28 12:49:12 +00:00
espie
4cdccf971e add a PKGDB_LOCK that can be used by pkg_add to -F nolock in src/ build
mode.
2007-12-28 12:46:03 +00:00
jolan
72e58f4c30 support .tbz2, ok espie@ 2007-12-05 06:55:41 +00:00
merdely
32c84fc9c3 Create $PLIST_DB directory if defined.
Fix a spacing nit.

ok espie@
2007-12-01 14:44:47 +00:00
sturm
6438da2ade back out, this breaks PLIST_DB 2007-10-29 21:50:40 +00:00
sturm
09b5470166 unbreak, the regular expression never matched and $' was empty there
ok espie@
2007-10-29 20:00:53 +00:00
steven
19811ccb50 protect FLAVOR with :Q when passed to the shell, since it may contain
whitespace.
2007-09-30 15:07:40 +00:00
steven
bad04c5480 pass FLAVOR to update-plist.
ok espie@
2007-09-21 08:04:06 +00:00
steven
9cb9ca7c2e use :Q for BROKEN
ok sturm@
2007-09-21 06:58:21 +00:00
naddy
1715498931 quote shell meta characters when generating readmes; ok espie@ 2007-09-16 21:38:34 +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
fb338f26c3 make mirror-maker sturdier:
- pass an argument for the file into which we want to save the result, to
avoid getting it polluted with error messages (defaults to /dev/stdout for
debug).
- create the makefile fragment as a temp file and only copy it when complete.
- copy it in one chunk, so that one can read a partial mirror-maker file
and have it be usable.

This does allow for people to start a make mirror-maker in one shell, and
start fetching stuff right away, before mirror-maker is finished.

This also produces usable mirror-maker Makefiles even if the ports tree
contains bogus entries.
2007-07-28 12:58:34 +00:00
espie
a52a0f1494 make sure ARCH gets defined also for individual port.
Noticed by Stuart Henderson
2007-07-09 13:32:56 +00:00
espie
43c841c254 avoid recomputing ARCH all the time. 2007-07-08 17:57:56 +00:00
simon
641ac136d2 let MODAPACHE_FINAL point to the correct location
noticed by & ok steven@
2007-06-30 15:27:29 +00:00
espie
33473a3fbb better, make it fetch file under DISTDIR 2007-06-30 14:48:04 +00:00