1501 Commits

Author SHA1 Message Date
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
espie
470734edc3 revert work-around, USE CURRENT SHELL!!
(fix message thinkos noticed by naddy@)
2013-06-15 19:45:11 +00:00
espie
d0868c66cc work around what's probably a bug in our ksh in sh mode. 2013-06-13 18:13:54 +00:00
espie
88e514ae2b cater to weird posix semantics. Check that we generated both wantlib files
before comparing them. In case there's a former error, there's no point
in adding to the confusion by having diff chime in one of the files doesn't
exist.
2013-06-11 10:59:24 +00:00
espie
b18ca457d6 work-around should no longer be necessary... 2013-06-10 15:43:04 +00:00
naddy
8a679789f3 remove the nagging about xz being unavailable on vax, which has accomplished
exactly nothing in two years; requested by many
2013-06-04 19:35:04 +00:00
ajacoutot
38f11e4c43 In case of the "gnu" CONFIGURE_STYLE, set DATADIRNAME to "share".
glib-gettext.m4 and intltool.m4 have been fixed ages ago but upstream
developers seem to get stuck on old versions or do not update their
macro to follow this change.
It makes no sense to keep patching the whole ports tree for it, so for
now we hardcode it here.

"why not" espie@
2013-06-01 18:54:27 +00:00
espie
a94271268e I could swear I committed this already: have DPB in-synch with future dpb
work.

also, warn for MASTER_SITES that don't end with /, as this is usually
an issue (but not always), as discussed with rpe@

In case successful fetch yields wrong size, always remove the partial for
later MASTER_SITES to pick it up, the 'cute' code that keeps partials over
30K is not really all that useful...
2013-05-27 16:06:51 +00:00
zhuk
d0edd4553f Improve MODPERL_BIN_ADJ: strip any version suffix for perl binary, so
shebangs like "#!/usr/bin/env perl5" and "#!/usr/bin/perl5.12" will be
normalized altogether.

No bumps are required for ports already using MODPERL_BIN_ADJ.

Requested by and okay dcoppa@, okay sthen@
2013-05-24 14:58:45 +00:00
ajacoutot
04290ec6e6 Allow /usr/ports to be a symlink without the need to set PORTSDIR.
chromium was one of the ports that failed to build without PORTSDIR
being set and /usr/ports being a symlink -- but this is not the case
anymore.
If any other port fails because of this, I'll fix it.

ok espie@ todd@ sthen@
2013-05-21 12:38:06 +00:00
sthen
03ab353173 Move the recently-added -C from the hardcoded arguments passed to FETCH_CMD,
to the user-definable FETCH_CMD variable itself, allowing this to be used with
curl again (FETCH_CMD = /usr/local/bin/curl -C -) for those that need/want it
(e.g. some less common cases with proxies, or for better https support).
"go ahead" espie@, makes sense to naddy.
2013-05-15 16:32:16 +00:00
gsoares
fbb1c12e48 zap whitespace 2013-05-14 13:38:59 +00:00
espie
191af91368 revisit old codes, rewrite DISTFILES handling using
.for v1 v2 in list
techniques, which make it clearer.

Add new syntax to distfiles, which is not painful to do now, and support it
for dpb fetch as well: a distfile can now be file{url} to specify a different
result from the url (this allows really weird naming scheme on http sites
to give us consistent files, which has become a nagging problem).

This still doesn't mean you shouldn't encourage upstream to do the right thing
and provide nice archive urls.

extend the fetch process in bsd.port.mk to work more like dpb does, namely
download to intermediate "part" files that don't vanish and use -C if
necessary.

Both those mean that FETCH_CMD has to work like ftp, including the -C and
-o support...

discussed with various people.
2013-05-08 08:38:36 +00:00
zhuk
5ab62297f4 Add MODPERL_BIN_ADJ and MODPERL_ADJ_FILES, similar to other port modules.
Tested with the upcoming print/texlive/base big shebang adjustment patch.

"Makes sense" sthen@
2013-05-06 21:16:18 +00:00
espie
3193fed1a9 work around bob 2013-04-08 16:45:06 +00:00
espie
5fa862a6ed make the distinfo check silent, for ports without distfiles (and no distinfo
either)
2013-04-01 13:11:34 +00:00
jasper
dd32237fd7 gumstix was buried under a palm tree. 2013-03-25 17:41:46 +00:00
jasper
c010280155 octeon will be a GCC4 arch. 2013-03-25 10:33:43 +00:00
ajacoutot
c09922ae71 Change USE_LIBTOOL default from No to Yes.
libtool(1) is part of the base system now so it does not add any
dependency. Also it is a good way to not miss ports using their own
bundled libtool.

discussed with and ok jasper@ landry@ espie@
2013-03-21 08:28:33 +00:00
espie
4cbd0426c6 redo the PERMIT_PACKAGE_CDROM -> PERMIT_PACKAGE_FTP in a slightly more
paranoid way for multi-packages.
Specifically, do the implication separately for each multi-packages, so
if you set e.g.,
PERMIT_PACKAGE_CDROM-foo = no
then you *don't* inherit a PERMIT_PACKAGE_FTP = Yes into
PERMIT_PACKAGE_FTP-foo

(also default *first* to a restrictive PERMIT_PACKAGE_FTP for
PERMIT_PACKAGE_FTP-foo  before copying a PERMIT_PACKAGE_CDROM-foo=Yes)

as a consequence, check that PERMIT_* is correctly setup for each
subpackage of MULTI_PACKAGES
2013-03-20 10:48:00 +00:00
espie
eb5c0fba26 aggressively refuse ports which didn't see the recent changes
move PERMIT_* settings after modules and arch support, so we can
access MULTI_PACKAGES better.
2013-03-17 10:35:05 +00:00
ajacoutot
7b00d9e965 check -> test
ok espie@
2013-03-12 06:56:27 +00:00
espie
a3ffdca8ac REGRESS -> TEST sweep 2013-03-11 11:50:17 +00:00
espie
5828a721c7 rename REGRESS -> TEST
shorter, less ambiguous (as discussed with some porters)
there will be a sweep to fix all regress.

keep "make regress" as an alias for "make test".
2013-03-10 22:27:15 +00:00
espie
f75cf56f48 simplify PERMIT_*:
- if PERMIT_PACKAGE_CDROM == Yes, have
PERMIT_PACKAGE_FTP and PERMIT_DISTFILES_FTP default to Yes
- if PERMIT_PACKAGE_FTP == Yes, have
PERMIT_DISTFILES_FTP default to Yes.

okay sthen@
2013-03-09 00:09:14 +00:00
espie
adb981b2d0 bye bye PERMIT_DISTFILES_CDROM 2013-03-08 10:06:13 +00:00
espie
7843107e9a minor tweaks:
- make sure PKGDIR exists prior to making READMES, allows using update-plist
before creating DESCR and stuff
- list-distinfo target, to allow dpb to fetch stuff non locally eventually
- zap addsum
- check that all files in distinfo are actually accounted for in DISTFILES
and SUPDISTFILES
2013-03-02 13:08:49 +00:00
espie
f783cefe01 give a clue to clueless people
okay sthen@
2013-02-18 12:07:42 +00:00
jasper
94861b42af - deal with ports that have STATIC_PLIST=no in print-plist-all, this unbreaks
check-conflicts -p.

ok espie@
2013-02-11 14:31:14 +00:00
miod
8465c8fd02 m68k arches now use gcc 3 2013-02-10 20:27:42 +00:00
sthen
15a8fd3c72 change NO_ARCH default to ${MACHINE_ARCH}/no-arch, discussed with espie & naddy 2013-02-10 13:42:38 +00:00
pascal
ede4c83350 Change default gcc version to 4.6 now that 4.2 is unhooked.
ok brad@ tobiasu@ espie@
2013-02-07 17:57:45 +00:00
espie
8261d92982 restore read-only behavior: only clean stuff that exists. 2013-02-05 11:22:50 +00:00
espie
b4439b4047 surprisingly some targets still have problems with pseudo-flavors
problem noticed by naddy@, turns out the *-dir-depends targets should use
build stuff preferentially...
2013-02-04 20:44:41 +00:00
espie
c575fb5906 zap duplicate line spotted by naddy@ 2013-02-02 13:23:24 +00:00
espie
76db5a9843 add proper support for mfs builds, namely WRKOBJDIR_MFS and friends 2013-02-02 12:29:20 +00:00