Commit graph

8705 commits

Author SHA1 Message Date
obache
1bdc9cfa8e pick up gettext-m4 package first. 2015-01-06 09:26:55 +00:00
gdt
45d83d6697 10.9 also has Xcode 6.
Note that older os versions sometimes get xcode updates and that
pkgsrc generally expects xcode that is up-to-date relative to the base
os.
2015-01-03 21:30:52 +00:00
ryoon
d011bd8c78 My OS X Yosemite machine says Xcode is version 6.1.1. 2015-01-03 18:27:15 +00:00
ryoon
4fc22a9e8b Add db6 2015-01-01 18:53:56 +00:00
dholland
3574122bf5 Add a bunch of missing LP64PLATFORMS after reviewing the list in NetBSD's
build.sh:
	*-*-aarch64{,eb}
	*-*-ia64
	*-*-mips64{eb,el}
	*-*-powerpc64
	*-*-riscv64
2015-01-01 09:00:28 +00:00
dholland
9ccf5c3c80 Add BIGENDIANPLATFORMS and LITTLEENDIANPLATFORMS, like LP64PLATFORMS, for
restricting broken packages.
2015-01-01 08:57:23 +00:00
dholland
2a00e7b840 Use PKG_SKIP_REASON instead of PKG_FAIL_REASON for some cases where
the problem is either situational (e.g. the various RESTRICTED-like
cases) or unfixable in pkgsrc (no pthreads, ipv6, etc. on platform).

Conversely, if the wrong version of mysql is installed, that's a
PKG_FAIL_REASON.
2015-01-01 07:51:47 +00:00
dholland
de73f20ecb Add support for BROKEN_ON_PLATFORM and BROKEN_EXCEPT_ON_PLATFORM, as per
discussion on tech-pkg.

BROKEN_ON_PLATFORM and NOT_FOR_PLATFORM are the same, except that
(now) BROKEN_ON_PLATFORM sets PKG_FAIL_REASON and NOT_FOR_PLATFORM
sets PKG_SKIP_REASON. BROKEN_EXCEPT_FOR_PLATFORM and ONLY_FOR_PLATFORM
correspond in the same way.

The idea is that going forward we will distinguish unbuildable
packages that theoretically ought to be fixed (these are BROKEN) from
packages where it doesn't make sense to build (these are NOT_FOR)...
examples of the former include most non-64-bit-clean packges; examples
of the latter include OS-specific language bindings.

A general review of the uses of NOT_FOR_PLATFORM and ONLY_FOR_PLATFORM
(converting many of them to BROKEN...) is coming up.

Similarly, a general review of the uses of PKG_FAIL_REASON and
PKG_SKIP_REASON is coming up.

For this to become useful, pbulk needs to be taught to report failing
and skipped packages differently - the idea is that failing packages
should be reported up front and skipped packages don't need to be. This
has not been done yet, but one set of things at a time...
2015-01-01 06:06:06 +00:00
ryoon
f17050927e Add gcc46-libs support code. 2015-01-01 01:33:05 +00:00
wiz
627d407a75 Remove pkg_views support, second part: infrastructure. 2014-12-30 15:13:19 +00:00
dholland
58ff09e896 typos 2014-12-26 22:35:44 +00:00
rodent
09c9a6042e Add gstreamer and sqlite3, as these were forgotten and will be required for
the 32-bit packages to work correctly. Discussed with wiz@.
2014-12-17 01:03:37 +00:00
joerg
f86268b244 Use append for IMAKEOPTS and the real path for exec as IMAKE includes
the options.
2014-12-12 10:50:17 +00:00
joerg
81b3b1d8c7 Indexing starts by 1. 2014-12-12 10:12:50 +00:00
joerg
bf5ee61f9f Use LOCALBASE for finding the wrapper binaries, USE_CROSSBASE messes up
PREFIX.
2014-12-10 23:26:21 +00:00
schmonz
8ceb13fcc0 Remove "CC" from CWRAPPERS_ALIASES.cxx.
Motivation: with "USE_CWRAPPERS=yes" on the default case-insensitive
OS X filesystem, linking the wrappers was failing, stopping the
build. For example:

    ===> Creating toolchain wrappers for mess822-0.58nb3
    ln: .../pkgsrc-current/mail/mess822/work/.cwrapper/bin/cc: File exists
    *** Error code 1

    Stop.

I never noticed this with the old wrappers, but they've also been
failing to link "CC" as an alias to "c++"; it's just that the failure
has been silent and I've never noticed a build failure for lack of
a "CC" wrapper, despite there probably never having been such a
wrapper.

Given that jperkin's SmartOS bulk build with this change produced
results similar to last week's non-cwrappers trunk build, we can
conclude that across platforms, the need for a "CC" wrapper is very
limited and we needn't try (and sometimes fail) to create one by
default.
2014-12-10 14:29:21 +00:00
wiz
a22e4dfcef sort. 2014-12-10 12:30:19 +00:00
wiz
6bd6d8d1bb Revert unintended commit. 2014-12-10 12:28:49 +00:00
wiz
d8db307321 Describe dblatex-fig. 2014-12-10 12:27:35 +00:00
joerg
5c41f332c4 Pass down ABI flags for cwrappers too. 2014-12-09 23:43:29 +00:00
joerg
1adb9bfbc0 Use full path for CC, CXX and FC. 2014-12-09 12:50:24 +00:00
agc
13f595bb5b Fix a typo. No functional change. 2014-12-08 02:43:25 +00:00
obache
8dfc2c3814 undefined PKGSRC_KEEP_BIN_PKGS must not be evaluated unconditionally. 2014-12-07 06:22:52 +00:00
obache
6757839337 Pass PKGNAME_REQD to su-real-package-install, for multiversion packages
not using default version.
2014-12-07 05:09:02 +00:00
agc
4b9f0a9c84 Add a new definition, PKGSRC_KEEP_BIN_PKGS, which defaults to "no".
This definition controls whether the binary package which is built
during package installation will be copied to pkgsrc/packages/All.

To retain binary packages in pkgsrc/packages/All, set

	PKGSRC_KEEP_BIN_PKGS=yes

in environment or MAKECONF. If this is not set, binary packages
will not be preserved after their WRKDIR is removed. This may not
be what you want.

To preserve the status quo since 2013/05/22, and just delete the
binary package after it's built, the default for PKGSRC_KEEP_BIN_PKGS
is "no", or it can be explicitly set.

As reviewed on tech-pkg.
2014-12-06 23:28:18 +00:00
rodent
d43c96209e Update MASTER_SITE_SUSE with paths that work. 2014-12-04 18:42:40 +00:00
schmonz
cb3a045e57 Add 'l10n' option. 2014-12-04 17:29:34 +00:00
joerg
bad8146eae cwrappers should get -Qunused-arguments too. 2014-12-03 14:05:25 +00:00
joerg
02894d322c Provide exec_path for cwrappers-20141129 and require that version. 2014-11-29 22:20:40 +00:00
obache
52d94a7407 Move version part from LOWWER_OPSYS to LOWER_OPSYS_VERSUFFIX for sco. 2014-11-29 06:03:02 +00:00
joerg
b533827bce Temporarily increase compat with old wrappers and add
-I${PREFIX}/include.
2014-11-29 00:53:13 +00:00
joerg
7cc798a257 Export CWRAPPERS_CONFIG_DIR directly for now to deal with Makefiles
calling libtool or cc directly. Leave a note to fix those later.
2014-11-29 00:51:56 +00:00
joerg
ac1e5edf7d Drop trivially redundant transforms. 2014-11-27 23:44:10 +00:00
joerg
4d968f774b cwrappers-20141127: Rename environment variable to CWRAPPERS_CONFIG_DIR
for consistency.
2014-11-27 20:36:43 +00:00
joerg
e5d9eab229 Correct libtool depends on factors like USE_LANGUAGES, so pick up
whatever got choosen elsewhere.
2014-11-27 20:34:55 +00:00
joerg
3df24af04d Consistent indentation. 2014-11-27 20:33:58 +00:00
joerg
40da991aae Support wrappee specific transformations and use it to fix imake. 2014-11-27 20:33:32 +00:00
joerg
be4056d757 Allow appending options on a per-wrappee base. 2014-11-27 20:32:41 +00:00
joerg
63663b9704 Fix variable expansion. 2014-11-27 20:31:56 +00:00
joerg
90d897031b Sanitize environment. 2014-11-27 20:31:22 +00:00
joerg
0e2789d33d Fix typo 2014-11-25 19:01:02 +00:00
joerg
37084183c6 Separate dependency from nada-rule. 2014-11-25 18:27:49 +00:00
joerg
6f8622bb33 mk/buildlink3/* (via mk/wrapper/bsd.wrapper.mk") must be included before
mk/cwrappers.mk, so fix include order.
2014-11-25 18:27:17 +00:00
joerg
5b77a6d079 Add clang aliases to the list. Will be conditionalized later. 2014-11-25 18:25:58 +00:00
joerg
9581ce26f5 Whitespace 2014-11-25 18:24:32 +00:00
joerg
69ec520b62 generate-cwrapper -> generate-cwrappers 2014-11-25 18:24:12 +00:00
joerg
bc62c0bfcb Mirror old wrapper code and override _LIBTOOL / _SHLIBTOOL only in the
case of USE_LIBTOOL.
2014-11-25 18:23:49 +00:00
joerg
f69fd1d607 Clean up error from manual patch application. 2014-11-24 09:59:07 +00:00
joerg
516b42831c Add cwrappers glue as developed during Google's Summer of Code 2007. 2014-11-24 00:32:31 +00:00
bsiegert
af85f266f9 Do not use gcc-specific compiler flags on Mac OS versions that come with
clang. Update version for bootstrap-mk-files.

Patch provided by Todd Kover in PR pkg/48966.
2014-11-22 16:32:13 +00:00