espie
55ef3a8806
dpb refuses multiple subpackages in a pkgpath, there's no reason for
...
pkgpath.mk to do otherwise.
2011-11-20 15:38:08 +00:00
sthen
2893ab28a2
add a commented-out ACCEPT_JRL_LICENSE, useful for bulk builders
2011-11-19 20:22:08 +00:00
espie
2f85417164
document partly how dependency internals work
2011-11-19 16:35:46 +00:00
espie
dce00fcc63
more dire warning about abusing internal _* shit.
2011-11-19 15:07:31 +00:00
espie
65096ef4f0
document fragments related to dependency parsing
2011-11-19 14:59:27 +00:00
espie
8663ec5dfb
set conventions, document locking internals
2011-11-19 14:35:56 +00:00
espie
7873819719
more flesh
2011-11-19 14:17:59 +00:00
espie
478a792605
first pass at documenting stuff for very curious people, more to come
2011-11-19 13:37:41 +00:00
espie
3aa1b0516a
unzap the ECHO_MSG
2011-11-19 11:43:05 +00:00
espie
2334188bc1
oh, hum... use TMPDIR instead of hardcoding it.
2011-11-19 11:36:53 +00:00
espie
cb960e35d0
mv _cache_fragment to pkgpath.mk
...
create a new category of recursive targets that can use this fragment,
and use them, e.g., print-package-signature from top-level should benefit
a lot.
2011-11-19 11:33:39 +00:00
espie
4c9d60034c
do the no_mips64 dance here, no need to duplicate it in lots of Makefiles
2011-11-18 11:01:47 +00:00
espie
599f0be88c
also don't emit the same string twice.
2011-11-17 23:14:43 +00:00
sthen
5749b5be10
rename MODGCC{3,4}_ARCHES to MODGCC{3,4}_ARCHS, suggested by naddy,
...
phessler and jasper agree
2011-11-17 18:03:43 +00:00
espie
e8b4473500
setting PKGPATH in pkgpath.mk is not enough, pass it thru the environment
...
as appropriate.
(typical make package would call getpkgpath 15 times instead of 1!)
2011-11-17 17:53:22 +00:00
sthen
cf870b6b54
.poison MODGCC4_ARCHS, just to be different this module uses MODGCC4_ARCHES
2011-11-17 14:32:24 +00:00
espie
75f7695cea
quick&dirty manpage
2011-11-16 23:11:29 +00:00
espie
c295da80f5
fix option handling
2011-11-16 23:05:28 +00:00
sthen
3796502e06
a couple more, mostly from amit kulkarni
2011-11-16 23:00:41 +00:00
espie
1d5b371ed7
a second FULLPATH=Yes needed
2011-11-16 22:59:42 +00:00
espie
ed36f69a32
fix for recent infrastructure changes
...
also fix for FULLPATH !
2011-11-16 22:57:54 +00:00
espie
12e4da425d
move
2011-11-16 22:57:03 +00:00
sthen
f18e4d4cba
Add a sample file with a number of settings which many porters are
...
using in mk.conf, especially a bunch of .poison lines for common typos,
including suggestions from aja, espie, naddy and others. Can be used
with .include in mk.conf.
oks from at least william@ phessler@ and several users like it too.
2011-11-16 18:45:28 +00:00
espie
1dcb17d4da
try to avoid SUDO while cleaning up the cache.
...
this avoids prompting for password during make extract.
problem noticed by rpointel@
2011-11-16 14:40:59 +00:00
espie
3b4f419753
add comments to a few thing
...
be more precise into recreating $d, using bizarre shell patterns
2011-11-16 10:57:23 +00:00
jasper
9f406a8adc
- remove bogus XXX
2011-11-16 10:56:57 +00:00
espie
e1d6af2f53
simplify external call a bit
2011-11-16 10:37:35 +00:00
espie
07da0fb496
flatten the DEPENDS_CACHE structure, at the expense of one extra sed.
...
avoids problems with ownership of various directories, as seen by naddy@
2011-11-16 10:30:47 +00:00
espie
450f2ff1ca
rephrase to remove unneeded needed variable.
2011-11-15 20:41:41 +00:00
espie
645b599225
same code
2011-11-15 20:32:35 +00:00
espie
2517b318eb
speed-up dependency checking a bit:
...
- resolve-lib -needed, less perl invocations (gains a lot)
- show-run-depends, less fancy than run-dir-depends, a bit faster...
- don't create cache for internal targets (external stuff already did it)
define _PERLSCRIPT in pkgpath.mk since getpkgpath should use it...
2011-11-15 20:08:36 +00:00
espie
06e9fb91d4
new option: -needed, to speed lib-depends-args.
2011-11-15 20:02:38 +00:00
sebastia
b448bf3fb0
Reserve uid 685 for misc/rocrail, a digial model railroad daemon
...
OK phessler@
2011-11-14 22:31:44 +00:00
jasper
f3ebafe1ff
Output an error message if we're supposed to link with a non-existent library,
...
instead of puking perl errors.
ok espie@
2011-11-14 22:14:38 +00:00
jasper
3dcf344837
Make output slightly more similar like gnu libtool in various
...
modes. Simplify Exec->command() a bit too while here as suggested by espie@
ok espie@
2011-11-14 22:12:08 +00:00
espie
7021d5e8f9
rework the dependency code to be slightly simpler.
...
systematically use a cache while scanning for libraries.
This speeds up MULTI_PACKAGES a bit...
2011-11-14 22:02:15 +00:00
espie
8890044380
weights in the -I option as well
2011-11-14 21:59:45 +00:00
espie
2f6111d127
explain to the engine how to install stuff when it's ready (no error
...
checks though).
new -I option to do that.
change -C option to be more useful.
2011-11-14 21:57:47 +00:00
espie
5ffb1d6f17
allow check for local cores
2011-11-14 21:56:04 +00:00
espie
c5a81668f4
show parents when we recurse thru subdirs. a bit noisy, but useful when
...
you want to figure out why some big stuff you wanted to avoid is building
2011-11-14 19:03:41 +00:00
espie
982d021ed2
we have :QL, so make depends handling a bit saner.
2011-11-14 16:18:36 +00:00
espie
2be274b94e
IFS setting can be local to the read
2011-11-14 13:12:20 +00:00
espie
ff5f349783
nit pick some very old stuff
2011-11-14 12:10:27 +00:00
espie
520b395530
a bit more micro-optimization: allow print-plist-libs-with-depends
2011-11-14 10:29:58 +00:00
espie
aba2721637
simplify lock code so that lock/unlock actually works, even if I lose
...
small-grained locks for fullpkgpath
also fix a stupid parenting bug...
2011-11-13 22:18:04 +00:00
espie
2ab4b2c7e7
better FETCH_MANUALLY handling:
...
- expose MISSING_FILES
- treat them as a special kind of IGNORE
- handle that in DPB
that way, ports that are IGNORE'd for other reasons (not correct arch)
stay ignored, and relevant ports with missing distfiles get better error
messages
2011-11-13 10:34:35 +00:00
espie
e15fa3097d
oops, fix FETCH_MANUALLY bug.
...
Prepare for MISSING_FILES
2011-11-13 10:28:32 +00:00
espie
8f77bf5ec5
make stuff slightly more verbose all the time
2011-11-12 13:19:26 +00:00
jasper
8419514ea8
drop ftp.no.gnome.org; it's been unreachable for months now
...
ok aja@
2011-11-11 16:58:09 +00:00
jasper
387709c507
- drop a few dead gnu mirror and add another working one.
2011-11-11 16:36:35 +00:00