Commit graph

373 commits

Author SHA1 Message Date
sevan
93d320158c With OpenBSD/amd64 & Bitrig/amd64 switched to using MACHINE_ARCH=x86_64,
amd64 no longer needs to be accounted for specifically.
Remove redundant references.


Reviewed by wiz@
2015-11-07 20:00:19 +00:00
sevan
4de02a05c5 Add the necessary logic for setting Bitrig/amd64 to Bitrig/x86_64.
Switch to using arch(1) to populate $LOWER_ARCH on Bitrig

Reviewed by wiz@
2015-11-07 19:53:49 +00:00
sevan
266cff67cd Add the necessary logic for setting OpenBSD/amd64 to OpenBSD/x86_64.
Reviewed by wiz@
2015-11-07 13:35:44 +00:00
sevan
5481fd2fed Add the mapping for amd64 to its GNU architecture name x86_64.
Needed for switching OpenBSD/amd64 & Bitrig/amd64 to x86_64.

Reviewed by wiz@
2015-10-17 01:50:46 +00:00
jperkin
8a8b2cd412 Ensure OBJECT_FMT is set to ELF on Linux rather than relying on the NetBSD
MAHCINE_ARCH settings in bsd.own.mk.  Fixes at least Sevan's arm64 host.
2015-09-08 12:07:55 +00:00
jperkin
e5e50a0024 Remove NetBSD 0.x and 1.x settings, these have long since been unsupported. 2015-09-08 11:36:34 +00:00
sevan
2e45b2e256 Introduce $LOWER_VARIANT_VERSION, this is used to store version info for variant
Operating Systems.
For SmartOS, store the result from running uname -v & trimming the joyent_
prefix.
For OmniOS, store the result from processing /etc/release with awk(1)


Reviewed by joerg@ bsiegert@
2015-07-25 15:11:09 +00:00
joerg
11d2712a27 Remove USE_X11BASE and X11PREFIX. 2015-07-04 16:18:28 +00:00
sevan
8514571a7a Introduce preliminary support for Bitrig to pkgsrc
Initial patchset to add support by rodent@
Further adjustments made based on feedback by joerg@
Tested by myself with numerous bulkbuilds thanks to Patrick Wildt @ Bitrig

Reviewed by bsiegert@ joerg@ wiz@
2015-06-04 15:48:45 +00:00
jperkin
1a2757e82f Introduce _USE_CWRAPPERS logic to ensure consistency, USE_CWRAPPERS could
differ between a package and user setting, resulting in incorrect WRAPPER_*
values being set from wrapper-defs.mk.
2015-04-29 14:23:23 +00:00
tnn
a0c69e7229 correct MACHINE_ARCH and compiler flags for HP-UX 64-bit ABI 2015-04-27 10:33:49 +00:00
joerg
7049152f2f Specify safer WRKSRC for meta packages. As they don't extract files,
they won't create the subdirectory either. Since the SUBST targets try
to change to WRKSRC first, they fail. This is seen with meta packages
depending on Freetype2 when using X11_TYPE=native.
2015-04-19 01:37:55 +00:00
sevan
5e14f67fd5 OS X Tiger & prior used X11 from XFree86 project which is installed in
/usr/X11R6, set X11BASE to this location on those versions.

Reviewed by wiz@
2015-03-14 17:37:19 +00:00
riastradh
d50065e40e Fix typo: NATIVE_MACHINE_ARCH, not NATIVE-MACHINE_ARCH. Thanks, prlw1! 2015-02-24 13:26:34 +00:00
jperkin
9bd9dd1345 Put back SCO LOWER_OPSYS changes. 2015-02-16 10:43:36 +00:00
riastradh
82fa031ffe Accommodate an -eabi{,hf} suffix in MACHINE_GNU_PLATFORM.
This is necessary to match what NetBSD `build.sh tools' generates for
cross-compiler toolchains on earm.

Also, split APPEND_ELF into APPEND_ELF and NATIVE_APPEND_ELF, so we
don't get a spurious netbsdelf in NATIVE_MACHINE_GNU_PLATFORM when
cross-compiling on amd64 for earm.
2015-02-14 05:01:32 +00:00
obache
5626a25ce6 Revert "Move version part from LOWWER_OPSYS to LOWER_OPSYS_VERSUFFIX for sco.",
proposed/discussed is required for such changes.
2015-02-01 11:33:08 +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
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
wiz
627d407a75 Remove pkg_views support, second part: infrastructure. 2014-12-30 15:13:19 +00:00
obache
8dfc2c3814 undefined PKGSRC_KEEP_BIN_PKGS must not be evaluated unconditionally. 2014-12-07 06:22:52 +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
obache
52d94a7407 Move version part from LOWWER_OPSYS to LOWER_OPSYS_VERSUFFIX for sco. 2014-11-29 06:03:02 +00:00
joerg
3dd0b5fcf6 Sync MACHINE_ARCH -> GNU_ARCH mapping table with NetBSD. Most noticable
change outside ARM is going to i486 as platform name for x86.
2014-11-18 23:36:07 +00:00
jperkin
aec701da4b Split SMF handling across bsd.pkg.mk and bsd.prefs.mk. Should fix issues
with packages which include bsd.prefs.mk before setting SMF variables.
2014-08-14 11:08:37 +00:00
jperkin
5329420146 Move INIT_SYSTEM to bsd.prefs.mk, allowing it to be tested in
package Makefiles when packages perform custom rc.d handling.
2014-05-06 14:48:06 +00:00
ryoon
2c73f854ac Add amd64 to LP64PLATFORMS, OpenBSD returns amd64 instead of x86_64
No objection on public mailinglist.
2014-05-05 21:26:31 +00:00
asau
e372c26ad4 Define OBJECT_FMT for FreeBSD.
Ignore long time obsolete FreeBSD 1-3 and consider FreeBSD ELF-only.
2014-04-07 17:25:16 +00:00
ryoon
d2e4b66d48 Add SCO OpenServer 5 and 6 support, 6 support is not tested yet. 2014-03-14 22:05:18 +00:00
jperkin
a54399a1b3 Detect newer RedHat distributions. 2014-03-07 14:52:12 +00:00
ryoon
379e58401a Use .elif, not .else if 2014-02-22 09:40:52 +00:00
jperkin
96fa724baf Support X11BASE?=/usr for native X11 on RedHat and derivatives. 2014-02-20 21:27:43 +00:00
obache
62d4cd4284 tell wget as a tool. 2014-02-14 07:43:46 +00:00
tron
9477e39aed Improve support for HTTPS master site URLs:
As the default fetch program "tnftp" (in "pkgsrc" and all released
versions of NetBSD) doesn't support HTTPS prefer "fetch" (DragonFlyBSD,
FreeBSD and Minix) or Curl (CygWin, Linux, Mac OS X, Solaris) if available.

Change during pkgsrc-freeze approved by Greg Troxel and Thomas Klausner.
2013-12-19 23:50:29 +00:00
jperkin
948c742e84 Introduce CATMAN_SECTION_SUFFIX which if set to 'yes' will ensure that
catman pages are installed with a suffix which matches their section
instead of the default '.0'.

Enable it by default on SunOS, which requires that particular layout.
2013-09-12 11:01:47 +00:00
ryoon
0ced55d9f7 Set OS_VARIANT for OmniOS.
* OmniOS (SunOS variant) is shipped with readline 6.2. OS_VARIANT=OmniOS
  will be used by devel/readline/buildlink3.mk.
2013-07-19 14:29:16 +00:00
obache
35d53d39b5 Introduce COMPILER_INCLUDE_DIRS, COMPILER_LIB_DIRS and SYSTEM_DEFAULT_RPATH.
default value are _OPSYS_INCLUDE_DIRS, _OPSYS_LIB_DIRS and _OPSYS_DEFAULT_RPATH,
defined in mk/platform/${OPSYS}.mk.
(maybe defined with compiler/development tools specific variables).
2013-04-28 13:21:47 +00:00
obache
1b32452dd4 normalize LOWER_ARCH i?86 for Cygwin, same as Linux. 2013-04-03 13:45:49 +00:00
tcort
0dfbab4980 bsd.prefs.mk: add definitions for Minix. PR pkg/45046 OK by agc. 2013-03-01 00:07:46 +00:00
obache
c9b667c64a native X11BASE=/usr on Cygwin. 2013-02-23 02:59:56 +00:00
obache
54083982a9 set Cygwin kernel name to OS_VARIANT for further usage. 2013-02-15 09:19:17 +00:00
obache
59f7f450d0 Add preference for Cygwin. 2013-02-10 12:25:17 +00:00
tron
c7ef86bf00 X11 (from the Xquartz distribution) gets installed under "/opt/X11" under
Mac OS X Mountain Lion. "/usr/X11" is only a symbolic link. Use the correct
path because buidlink3 will otherwise filter out "-I/opt/X11/include" which
causes build failures of e.g. the "cairo" package.
2013-01-23 17:02:23 +00:00
markd
3d4f93bfd9 Set X11_ENCODINGSDIR correctly for builtin case as well as modular. 2012-12-15 21:21:27 +00:00
wiz
6a76bdd820 Update X11_ENCODINGSDIR for fonts/encodings change.
From markd.
2012-12-09 20:21:18 +00:00
asau
3885548f91 Make "user-destdir" the default PKG_DESTDIR_SUPPORT value
since this is the general case these days and other cases are exceptions.
This simplifies development and prevents making some mistakes.
2012-08-14 17:16:07 +00:00
asau
a2349b2c4b Introduce explicit name for no staged installation support: "none".
Keep "none" a default value for PKG_DESTDIR_SUPPORT for now.
2012-08-14 15:27:07 +00:00
jperkin
b962f64303 Set default ABI on Solaris for SPARC too. 2012-07-27 09:44:31 +00:00
jperkin
d0b1dfe282 Introduce OS_VARIANT. This variable can be used to differentiate operating
systems which share the same base system but offer contrasting environments,
for example the various illumos forks which all identify as "SunOS 5.11".

Detect SmartOS and set OS_VARIANT accordingly.
2012-07-02 15:49:41 +00:00