1536 Commits

Author SHA1 Message Date
zhuk
d380821b1c Add TEST_ENV, working on same principle as TEST_FLAGS. Needed, e.g., when
we're not using g?make, like CMake+Ninja. Also helps to simplify some
do-test constructions, including upcoming multimedia/mlt.

Documentation bits to follow.

okay espie@
2014-07-14 08:21:00 +00:00
espie
3636c644c1 prevent that specific fuckup, since sqlports will catch it... 2014-07-12 19:22:34 +00:00
espie
fed0ac4a66 support GH_* variables 2014-07-12 17:35:32 +00:00
sthen
9a149cb870 strip ^v from WRKDISTs when generated from a github tag name, ok dcoppa,
discussed with rpe "looks like a viable solution"

FreeBSD handles this differently as they use codeload.github.com rather
than github.com/.../archive/ URLs which seem to be structured differently
2014-07-10 23:19:55 +00:00
robert
09ffc3e0bc trailing whitespace cleanup 2014-07-09 10:28:42 +00:00
robert
5e974ec283 add support for fetching distfiles from github
the following variables can be used, all of them besides
GH_TAGNAME is mandatory

GH_TAGNAME ?=
GH_COMMIT ?=
GH_ACCOUNT ?=
GH_PROJECT ?=

ok espie@
2014-07-09 10:27:11 +00:00
sthen
3d3dfb8338 tweak the message used when a file is present in distinfo but not
DISTFILES/SUPDISTFILES; noticed by naddy, also discussed with (and this
diff from) espie
2014-06-05 10:06:09 +00:00
espie
b35193ad17 adjust references to regress -> test
noticed by Fabian Raetz, thanks
(incomplete cleanup though)
2014-05-17 18:32:39 +00:00
espie
9ce115c5fb nope, the chosen file is intentionally the last file built during a normal
xenocara build, to prevent screw up.

Whine loudly for whatis.db, as things are normally built with current.
2014-04-25 15:28:52 +00:00
sthen
4030dde3b5 check for X11BASE/include/X11/X.h instead of X11BASE/man/mandoc.db, which
isn't yet in all package snapshots.  ok aja@
2014-04-25 15:13:51 +00:00
kili
b93ecc6587 Follow the makewhatis(8) switch (s/whatis\.db/mandoc\.db/).
ok espie@, naddy said he did the same changes.
2014-04-18 21:14:20 +00:00
ajacoutot
cd625ac3dd Add ^LOCALSTATEDIR to the default SUBST_VARS.
bulk testing by jasper@ (thanks!)
ok for now espie@
2014-04-15 08:52:35 +00:00
espie
726e05fda8 makes it impossible to build ports if your sudo setup is incorrect, instead
of working haphazardly half the time.

NOTE: you *must* fix your sudoers for ports to keep working, make sure you
are able to pass thru SUDO_PORT_V1 ! (and the rest that's already there)

okay matthieu@, sthen@
2014-04-08 13:29:34 +00:00
jasper
cbcfc5f16b this easter egg wasn't supposed to go in (yet) 2014-04-01 18:41:33 +00:00
jasper
53bb160e75 switch over port to MODGNOME_TOOLS that didnt have it yet 2014-04-01 18:38:52 +00:00
jasper
4a880144f5 sync with recent hp300/mvme{6,8}8k/m68k removal
ok aja@
2014-03-19 13:28:04 +00:00
sthen
2ea2cd04c4 ugh, forgot to commit this 2014-03-13 22:10:53 +00:00
landry
467d26b5d9 Remove trailing spaces (long line iz looooooong!) that snuck in when i
failed at copy&paste.
2014-03-10 21:35:04 +00:00
landry
243a20d699 Default to gcc 4.8 for ports using gcc4 module.
Stay at 4.6 for hppa & alpha for now, since lang/gcc/4.8 doesnt build there
yet.
Discussed with espie@ pascal@ sthen@ tobiasu@ ajacoutot@
2014-03-10 20:26:00 +00:00
ajacoutot
02cd405e2b Add an intermediate variable because some tools like python to not
properly parse variables with trailing spaces and add a bogus "" argument.

input/ok espie@
2014-03-09 21:40:57 +00:00
espie
4af4841543 allows for a global cache to depends. to be documented once this is fully
figured out...
2014-03-09 20:33:37 +00:00
espie
f5f0d95820 - replace `` with $$() in most places.
stylistically, I tend to prefer ``, but since we use a lot of fragments,
the parenthetical nature of $() is better.
- give a more complete name to portstree-/inst-  depends lists, so that several
"make package" can run in the same cache.
- create temp dependency files atomically by using mktemp/chmod/mv
(global cache)
2014-03-09 20:03:27 +00:00
espie
b0b03e9d58 cosmetic: print-package-signature -> print-update-signature
(to be referenced by documentation, to stop confusing crypto signatures
with other signatures).

(old name kept over release, to be scraped completely afterwards, user-visible
change only)

okay sthen@
2014-02-11 10:34:34 +00:00
espie
077c9b671b pass -DSIGNER thru from SIGNING_PARAMETERS to pkg_add. 2014-01-09 10:44:33 +00:00
espie
eea773fc47 record history 2014-01-07 10:39:17 +00:00
espie
4a258ab53d new internal _PKG_ADD_LOCAL, that's stricly used to add packages built on
*this* machine.
Visible: SIGNING_PARAMETERS. Set for signing every package on the fly.
(if SIGNING_PARAMETERS is not empty, don't wave -Dunsigned)
2013-12-30 12:33:07 +00:00
espie
5e698a1f18 fix initial size match for DIST_SUBDIRS 2013-12-07 15:41:47 +00:00
espie
29e4606615 zap extra experiment, noticed by rpe@ 2013-12-02 21:47:37 +00:00
espie
a69d8e1708 adjust distfiles handling to allow for filename{url}sufx
to become
filenamesufx (stored name)
urlsufx (fetched url)

to be documented

okay sthen@
2013-12-02 08:23:16 +00:00
espie
c944f3939b add "show-prepare-test-results" target, to be used by dpb for running tests 2013-11-30 16:06:56 +00:00
sthen
3a2dfaa992 Remove support for VMEM_WARNING, as it's manually "maintained" it isn't
very accurate, and isn't sensitive to differences between arches.
ok ajacoutot dcoppa zhuk espie
2013-11-25 14:13:33 +00:00
espie
8a3feb1a92 turns out that dpb is happy with BUILD_PACKAGES being wildy different
from MULTI_PACKAGES, so there's no reason left to tweak MULTI_PACKAGES
directly for pseudo-flavors.

saner.
2013-11-10 12:27:50 +00:00
juanfra
ddf83dc013 Add lzip support to the ports framework.
ok espie@ sthen@
2013-11-07 01:23:19 +00:00
espie
15995508bc fix some subtle case of BULK=auto (for instance, non-regression tests in
lang/icon/interp): needs more information than just "we're solving deps"
to know whether to clean things or not.

-> similar problems as locking oneself, similar solution, replace
_SOLVING_DEP with _DEPENDENCY_STACK that tracks the dependencies.

okay mbalmer^Waja
2013-11-03 15:45:00 +00:00
jasper
468e05ba33 s/beagle/armv7/
ok abieber@
2013-10-22 13:19:40 +00:00
naddy
b164eddd96 remove last mentions of GCC2_ARCHS variable 2013-08-09 11:02:28 +00:00
naddy
f1d7acc394 vax now uses gcc3.
Retain GCC2_ARCHS until all references to it have been removed.
2013-08-07 11:11:52 +00:00
espie
55f0a0e59b turn on TRUST_PACKAGES by default, zap knob 2013-08-07 07:20:24 +00:00
espie
d802e111af vax does not have all libm functions (yet), don't waste time building
stuff that will not link anyways.
2013-07-09 19:48:56 +00:00
landry
f3ef2ad0fb Doh, fix typo. 2013-07-08 18:37:18 +00:00
landry
19b9184761 Restore previous behaviour wrt PKG_CREATE_NO_CHECKS. Keep it to 'no' by
default (for production/bulks), setting it to 'yes' disables the check
as it was before (for slow archs), and setting it to 'warn' will now
show the differences between wantlib lists, but as a warning and not an
error (which was the behaviour introduced in previous commit for 'yes'
case)
ok espie@
2013-07-08 18:27:30 +00:00
espie
2f15f8848d tweak PKG_CREATE_NO_CHECKS: the check is always useful and
inexpensive, so do it anyway. PKG_CREATE_NO_CHECKS=Yes turns
it into a warning.

Test bunny landry@
2013-07-08 12:45:56 +00:00
espie
9c4273a9f1 no longer depend upon base's elf toolchain 2013-07-05 21:48:01 +00:00
jasper
25b64d04b4 if LOCALBASE isn't the default /usr/local, pass -L to pkg_add so we can still
install packages with 'make install'

w/ and ok espie@
2013-07-04 08:04:04 +00:00
espie
6aa72ffb2b okay, remove dumb optimization 2013-06-25 20:21:03 +00:00
espie
d11813d1c2 document the reason why fetch should see everything 2013-06-25 19:47:49 +00:00
espie
265cd0dff3 dpb still needs MULTI_PACKAGES 2013-06-25 08:46:55 +00:00
espie
c97ca817ec introduce a VARBASE, so that all 3 directories where package install stuff
(/etc, /usr/local, /var) can be overridden eventually
2013-06-21 12:28:54 +00:00
espie
657ee62669 expose FAKE_SETUP so that modules that want to do their own
"do-install" can do so in a proper way.
2013-06-21 12:27:32 +00:00
espie
4ab9c5bdaf somehow, I forgot to dump-vars PREFIX 2013-06-21 10:45:12 +00:00