1569 Commits

Author SHA1 Message Date
naddy
626cc84e5e pass PORTSDIR_PATH through to make-plist so it will be honored by
update-plist; ok espie@
2015-07-19 17:31:44 +00:00
espie
b30d135992 save PKGPATHS in stride with PKGNAMES, to be used for quick introspection
purposes.
2015-06-11 09:26:01 +00:00
pascal
7bf974224a Switch gcc4 default to 4.9 (except on alpha) to fix bulk builds now that
libreoffice requires 4.9.

tested in a bulk build by aja@
2015-05-28 08:12:38 +00:00
czarkoff
38618cae6a Set HOMEPAGE to https://github.com/${GH_ACCOUNT}/${GH_PROJECT} for ports that
use GH_* variables.

OK sthen@
2015-05-23 10:53:24 +00:00
espie
db2b669193 if the build-user of dpb can't get to bulk/update directories, it's
not really an issue. This is probably the issue aja saw earlier today,
and I just ran into it myself.
2015-05-16 17:04:51 +00:00
jasper
6b318f7309 add PORTROACH_COMMENT, requested by sthen@:
"For use when there's a specific reason why you have been slacking on the
update and want an easy place to make a note of it :-)"
2015-05-14 18:00:27 +00:00
espie
0a51f3d69a move obsolete stuff check AFTER Makefile.inc and modules handling, so it
catches issues in there as well
2015-05-11 12:07:17 +00:00
espie
34d88abf1c create "common" dirs using install -d and a knob for changing ownership
This should help people working on communalized machines (and also dpb
in round-robin mode).
2015-05-03 08:06:03 +00:00
espie
c52298ee5b move the check for sudo to "just-in-time" when actually used, so that
we can build WITHOUT sudo.
2015-04-27 12:52:01 +00:00
zhuk
af8de2124f Mark PKG_ARCH as indexed (i.e., MULTI_PACKAGE-specific) as it should be.
Tested in a bulk build by landry@ - thanks!

okay espie@
2015-04-22 07:07:19 +00:00
sthen
96c507db43 Make it fatal to specify both GH_TAGNAME and GH_COMMIT, when this happens the
GH_COMMIT is quietly ignored. Problem noted by Adam Wolk, discussed with a few
in the room.
2015-04-05 13:32:16 +00:00
kspillner
1f8da62289 The Go programming language is only for amd64 and i386, so add a GO_ARCHS
define for convenience.  Not used yet, but will be useful for some upcoming
Go ports.

ok sthen@
2015-03-18 16:19:39 +00:00
brad
e03b01bfeb Switch hppa over to using 4.8.
ok pascal@ tobiasu@
2015-02-12 16:14:00 +00:00
brad
fb5105c5dd garbage collect the ELF property 2015-01-04 06:09:45 +00:00
brad
21d111aaa8 garbage collect ELF_TOOLCHAIN 2015-01-04 05:47:07 +00:00
espie
0f37bc1185 a few defined/empty clean-ups for regularity
- always add COPTS/CXXOPTS/CXXDIAGFLAGS. they're not defined, so what ?
the result is empty.
- always define WARNINGS and MODULES
- fix a small misoptimization after the recent DISTFILES handling cleanup
- regroup obsolete variables under a generic heading. bsd.port.mk(5) is
enough.
2014-12-13 11:08:15 +00:00
espie
b71e8ce969 tweak the 'auto-detect archive types' checks.
The extra _USE_* variables are a remnant of the original code (with manual
checks), they're not really needed.

Reorg things to be simpler/more consistent: group PATCHFILES and EXTRACT_ONLY
together, activate BUILD_DEPENDS on simpler patterns.

Also, conform to more style, have PATCHFILES/SUPDISTFILES always defined,
and test on empty.

shown to naddy@ and sthen@, fixed a few issues, and passes a full bulk
build.
2014-12-10 22:39:24 +00:00
espie
46288911fc tweak show*-size so that it doesn't need to run as root. If some dirs
are -rx, we change them back as a last resort. :-/
Okay sthen@
2014-11-22 10:07:38 +00:00
espie
65e627866d dump-vars MAKEFILE_LIST
(no synchronization issue, as it will simply not show up with old make)
2014-11-03 16:35:05 +00:00
espie
4de17522bd FAKE_AS_ROOT=No as a default.
"just turn it on!" naddy@

happy to oblige.
2014-09-16 19:10:54 +00:00
espie
4a165d667d explicit path to perl to prevent gnu autoconf fucking up in ptlib
okay aja@
2014-09-16 09:08:02 +00:00
ajacoutot
ee627ad0a6 When using GNU configure, always run with --disable-gtk-doc unless
textproc/gtk-doc is in BUILD_DEPENDS and force ac_cv_path_GTKDOC_* to null.
Even when --disable-gtk-doc is passed, if the gtk-doc tools are present at
configure time, they will be run (at a time where the gtk-doc package may have
been removed; for e.g. during a bulk).
This is what we've been doing under x11/gnome for a while now.

sthen@ espie@ and jasper@ agree
2014-09-13 16:28:47 +00:00
naddy
98c2dcbeed add default support for extracting *.tar.lzma; ok juanfra@ 2014-09-13 15:09:24 +00:00
espie
c5fc4eddea force umask 022 in fake !sudo situations. 2014-09-09 09:34:04 +00:00
chrisz
f8b9bb665e PowerPC native code is broken at the moment.
Therefore build native code only for the time being.
Hopefully this can be reverted soon.

ok jca@
2014-09-07 16:27:24 +00:00
jasper
4e48ba8d2c PORTSCOUT -> PORTROACH 2014-09-05 14:45:02 +00:00
espie
7dcf537452 fix FAKE_AS_ROOT=Yes... don't create links in that case. 2014-09-03 09:05:25 +00:00
jasper
9ea47b1ad0 hookup PORTSCOUT
ok espie@
2014-09-02 14:26:39 +00:00
sthen
bf29dea2dd When copying pkg/README{,-*} from the port directory, pass -m to SUBST_CMD
to ensure that a sane file mode are set.

Also use SUBST_CMD -m for rc.d scripts (it wasn't available at the time the
current code using a separate chmod was written).

Discussed with espie, slight tweaks to previous diff to take _FAKESUDO into
account.
2014-08-11 11:34:42 +00:00
jasper
4372752da9 fix path to install(1) 2014-08-10 11:34:27 +00:00
espie
40715699cf okay, SUBST_DATA/SUBST_PROGRAM/SUBST_MAN are always -c, so encode it as well 2014-08-10 09:02:21 +00:00
espie
6e0d873217 framework to allow fake as non-root, based on an idea and initial patch by
naddy.

Not turned on yet, as it involves a critical new file.

Basically:
- introduce new variations on SUBST cmds to install various files
- use pkg_subst -i in !root mode
- unhardcode install path where possible, to allow for an install-wrapper
that disregards owner/groups.
- do links during fake to disable chown/chgrp/install.

Extra tweak (always-wrap) to actually encode "perl ${PORTSDIR}/infra/bin/install-wrapper"  as an install script, required by a few ports that keep track of
the install script for later (eg., ruby, postgres).
2014-08-10 08:59:48 +00:00
espie
ab33cdac90 fix a remnant of MULTI_PACKAGES reorg, a few years ago: there's no reason
to count LIB_DEPENDS and WANTLIB in build-deps, only the actual subpackaged
version count (reminder: even single package ports are actually multi-packaged,
with SUBPACKAGE=-, hence we will count LIB_DEPENDS- and WANTLIB-).

This was actually a discrepancy between manual builds and dpb builds, as the
output of dump-vars won't show plain LIB_DEPENDS. This caused a bit of
confusion wrt multimedia/mlt. Hence the actual fix.
2014-07-23 10:19:08 +00:00
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