Commit Graph

1448 Commits

Author SHA1 Message Date
espie
32e43e0139 zap :L for clean like we did for flavors. Same argument applies. 2013-01-19 11:34:11 +00:00
brad
680490be39 Enable LLVM on mips64.
ok sthen@
2013-01-08 00:36:17 +00:00
espie
1e1cd224d5 don't bother outputting empty but defined variables.
this trims 1/3 of the lines from a dump-vars output...
2013-01-07 17:46:14 +00:00
espie
3468bf1fd7 allow unlock to be called with SUBDIR= 2013-01-06 11:57:21 +00:00
espie
092496c30a following landry's suggestion, add module hooks for post-install
I'm not too happy about stuff that will remove .la automatically though,
seems to me this shouldn't be generated in the first place.

ETOOMUCHMAGIC ?
2012-12-31 09:14:07 +00:00
espie
dcf231188f forgot to GC this along with the imake weirdness.
seen by landry@
2012-12-30 20:40:40 +00:00
miod
aec30b0bda m88k ports now use gcc 3; ok espie@ 2012-12-01 21:12:28 +00:00
espie
c1c86bf73d be a bit more specific in _SOLVING_DEP, so that ports that regress-depend
on themselves won't clean themselves when BULK=Auto.
problem reported by sthen@, okay sthen@
2012-11-27 11:35:57 +00:00
espie
40d8555822 fix reverted lock logic. From Vadim Zhukov. 2012-11-19 14:19:35 +00:00
espie
eef2946135 add a new value for BULK and use it as default:
BULK=auto  will invoke bulk behavior on dependencies, but not during
normal build.
(internally, deps have _SOLVING_DEP=yes, so we can distinguish them)

okay ajacoutot@
2012-11-19 12:24:50 +00:00
espie
e009da097e remove some old cruft
checked by naddy@ for no incidence on current builds
2012-11-19 12:19:30 +00:00
espie
3d3c336bb7 waive the other xenocara check if we're building it, as noticed by naddy. 2012-11-05 20:29:35 +00:00
espie
35f70aaf08 determine the xenocara makefile name directly, as it is inconvenient
to do if you're not sure you have the right WRKSRC.
2012-11-03 09:40:05 +00:00
espie
9ce8be5926 fix base/xenocara location 2012-11-01 09:58:53 +00:00
espie
21af771d16 add a bit of experimental scaffolding to build xenocara from ports
- resurrect USE_X11 in a smart way: auto-determine it correctly from
WANTLIBS (accounts for most ports)
- define a BUILD_XENOCARA knob that builds fake based on mtree for
X11BASE.
- if BUILD_XENOCARA_TOO=Yes, prepare to hook to a xenocara "fake" meta
package.

All of this off by default, the xenocara shadow tree is not in yet
anyways. Zero impact on regular builds.
2012-10-29 22:27:05 +00:00
sthen
41d0a0310e fileutils has been replaced with coreutils, handle this in the autoconf cache
fragment which normally handles gmkdir.  ok jasper@
2012-10-25 12:26:29 +00:00
espie
36029e80d7 optimize a bit for dpb: remove extra variables we don't ever use
in "pure dpb mode", only write out variables for BUILD_PACKAGES, not
MULTI. This should reduce the number of pkgpaths generated, among other
things.
2012-10-11 08:07:10 +00:00
espie
f9ad29c2e9 tweak things a bit... no need for an extra _fullpath variable.
also, use a broken() function to simplify THAT particular shell fragment.
I've been running with this for ages...
2012-10-10 10:55:33 +00:00
espie
8d2a6ea015 fix typo 2012-09-24 15:49:00 +00:00
matthieu
35e488a93f Switch to imake from ports. ok landry@. 2012-09-23 08:03:55 +00:00
espie
26e4cbeb78 some more data for dpb, special for naddy's killer box. 2012-09-22 19:00:04 +00:00
espie
5429993fd7 go back partially on SUBST_CMD: keep the SUBST_CMD-sub stuff, but
have a "default" SUBST_CMD that will substitute the non-subpackage version
of the variables.

SUBST_CMD = ${SUBST_CMD${SUBPACKAGE}}
is a bad idea, because SUBPACKAGE may vary in unexpected ways, like you
get the 'default' value when building manually, and you might get a
different subpackage when building with dpb, leading to weird errors.

So, old users/users during patch/configure/build can use base SUBST_CMD
without much surprise.
2012-08-31 16:48:26 +00:00
sthen
c1dca8885f add sparc to LLVM_ARCHS, from Brad. (sparc64 is still listed, CLang does not
work on sparc64 at present, but other parts of LLVM may still be useful).
2012-08-29 00:41:01 +00:00
sthen
0e9cefc2e8 don't list arm twice in ALL_ARCHS, pointed out by Brad some time ago 2012-08-21 16:32:04 +00:00
ajacoutot
057028b194 RCS id cleanup; also add OpenBSD RCS Id where missing... 2012-08-19 22:30:36 +00:00
espie
3b656100b7 well, another error... 2012-08-19 10:36:35 +00:00
avsm
cb284e6f57 Add ocaml_native and ocaml_native_dynlink properties to the arch defines.
These will be used shortly by the ocaml-4 port update.
2012-08-18 21:45:28 +00:00
espie
a6da6e2d7f slow architectures might clean /tmp too eagerly, move the default
LOCKDIR to a local location that's less susceptible to surreptitious
cleanup, that is under WRKOBJDIR

after discussion with sthen@
2012-08-18 07:58:20 +00:00
espie
083fc635e8 fix subpackage bugs.
- correct syntax for variable (Vadim Zhukov)
- both _DO_LOCK and _cache_fragment want to use traps.
Since that's the only place where the problem occurs, simply put the second
trap in a subshell...
2012-08-17 22:32:29 +00:00
espie
a2a18547bc have perl module work like it should: define extra TARGET_* variables,
and have do-install/do-build use them.

Replace pre-configure with folded in shell fragment.
Don't hardcode perl location, we don't hardcode those things but rely
on PATH instead.

check that Makefile.PL actually produced a Makefile, since the way it
errors out does not exit 1, thus leading to configure having failed and
ports thinking it succeeded...

okay sthen@
2012-08-15 09:38:11 +00:00
jasper
112dc86963 add config.no-fileutils, tested in a full bulk
ok sthen@ espie@
2012-08-12 17:19:00 +00:00
espie
3831fd5d30 - make SUBST_CMD be subpackage dependent, fixes substitution problems in
README-sub (as noticed by aja@)
- stronger checks for X correctly installed: don't ignore ports if X11
is not there, error out right away. Make sure /usr/local/lib/X11/app-defaults
is a link, and that whatis.db is there (as should be fixed  by release in
xenocara)
2012-08-04 14:23:30 +00:00
naddy
0d7d591395 Remove message digest algorithms other than SHA-256 for checksumming
distfiles.  MD5 is known to be insecure and RIPEMD-160 and SHA-1
are considered inferior to SHA-256.

Also, the concatenation of different hashes is not more secure than
its strongest component; see Antoine Joux, "Multicollisions in
iterated hash functions. Application to cascased constructions"
http://www.iacr.org/cryptodb/archive/2004/CRYPTO/1472/1472.pdf

Discussed with many, ok sthen@
2012-07-10 12:04:25 +00:00
sthen
1cdff98732 add LLVM_ARCHS, handled like MONO_ARCHS for easier detection of which
arch can use LLVM.  ok espie@
2012-07-08 18:35:48 +00:00
espie
a352e9cafe prepare for new pkg_add switch 2012-07-06 12:00:52 +00:00
jasper
c7b20a8d82 zap mac68k references 2012-06-20 21:17:38 +00:00
espie
134ac2cd91 allow users to say MESSAGE-main=
to have empty messages, useful in a multi-package context
(as noticed by aja@)
2012-06-20 13:26:17 +00:00
espie
7b5d36d556 switch to libtool from src, since it will now be in the snaps. 2012-06-19 16:43:47 +00:00
espie
5a916fc963 handle the very special case of ports-readmes, after discussion with
landry, sthen
2012-06-18 12:15:52 +00:00
espie
6ffbfdc3a9 fix sig for LIB_DEPENDS 2012-06-15 10:31:52 +00:00
espie
f217f9b069 match src/ change.
*keep ports and src in synch* or out-of-date won't work at all.
2012-06-14 13:34:24 +00:00
espie
d808116161 Use :Q, it will quote a lot more in a correct way. 2012-06-09 21:14:43 +00:00
sthen
8f529f75b3 quote the permit_cdrom and permit_ftp variables used in the new checksum
code, as they can contain spaces.  ok espie@
2012-06-08 23:51:21 +00:00
espie
98a72af47d typo 2012-06-08 15:17:02 +00:00
espie
3294a50c3d add support for sha256 packages as they're built.
after discussion with aja@
2012-06-08 14:46:54 +00:00
sebastia
011bac4f6e Fix typo
ok dcoppa@, aja@
2012-06-07 20:52:41 +00:00
pascal
769ccfc457 Add BE_ARCHS and LE_ARCHS vars to be able to determine endianness.
ok espie@
2012-06-04 18:41:46 +00:00
espie
482f234b05 this is tricky enough to warrant an actual comment 2012-05-28 09:54:18 +00:00
espie
27f4c3dc4f forgot cruft from readmes 2012-05-28 09:43:17 +00:00
espie
b6c9f9baf3 zap old readmes infrastructure, replaced by new age databases/ports-readmes
which is ways more accurate anyways.
2012-05-28 09:38:04 +00:00