Commit graph

339 commits

Author SHA1 Message Date
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
jperkin
04d8dc0a42 Set a default Solaris/x86 ABI, restores previous behaviour when bootstrap
is ran without --abi.
2012-06-14 21:57:37 +00:00
jperkin
ef8a25c526 Set MACHINE_ARCH=x86_64 when ABI=64 on Solaris/x86, required for packages
such as devel/gmp which do their own ABI determination.

Full clean bulk build with this change:

  http://mail-index.netbsd.org/pkgsrc-bulk/2012/06/11/msg008920.html

looks good.
2012-06-11 09:36:02 +00:00
joerg
9765e41589 Drop imake-check logic from X11 components' builtin.mk.
Always use xorg-cf-files and imake from pkgsrc, replacing xpkgwedge.
Always install man pages, not cat pages when using imake.
Unify the various imake PLIST variables in preparation for dropping.
Adjust xbattbar for the new expectations.
2012-03-19 12:34:12 +00:00
sbd
af000a2430 Simplfy the MACHINE_ARCH/LOWER_ARCH settings on Linux.
1) Set LOWER_ARCH to the filtered uname -m output.
2) Set MACHINE_ARCH to LOWER_ARCH.
3) Brace LOWER_ARCH in a !defined block add it to MAKEFLAGS.
2012-01-17 20:43:25 +00:00
jmcneill
7fb230def3 for X11_TYPE=native, default X11BASE to /usr/X11R7 on NetBSD if
X11FLAVOUR is "Xorg", so it is set right even when x* sets aren't installed

ok joerg
2011-11-28 00:00:49 +00:00
hans
de5f144f10 Add the minor number of the OS version to LOWER_OPSYS_VERSUFFIX.
Configure scripts tend to use it to distinguish different SunOS
versions.
2011-10-26 16:01:14 +00:00
reed
88166ad6f5 Rename "flavor" to "pkgformat".
This is from Anton Panev's GSoC 2011 project to add RPM and DPKG
support to pkgsrc. (I am not adding that further support in this
commit.)

This is just a rename of the existing functionality. Now it will
be easy to test the GSoC work by simply putting in a single
directory (such as "rpm" or "deb"). See
http://addpackageforma.sourceforge.net/ for some details.

This is from Anton's CVS, but I made some minor changes:

- changed plural pkgformats to singular pkgformat (to be consistent)

- fixed a few places (in comments) that were missed

- catch up on some additions to flavor not in the pkgforma cvs:
PKGSRC_SETENV and _flavor-destdir-undo-replace and
undo-destdir-replace-install.
2011-10-15 00:23:07 +00:00
abs
bf20ddf838 From "What platforms work with X11_TYPE=native" thread on pkgsrc-users.
Based on the responses I'm going to switch the default X11_TYPE to
be modular, and override in platform/*.mk files as required. The
new values will be:

Changed - from native to modular
- FreeBSD
- FreeMiNT
- Linux

Changed - older versions switched from native to modular
- NetBSD - native for NetBSD-4 and later

Native (unchanged)  - should probably be switched to modular
- AIX
- BSDOS
- IRIX
- Interix
- MirBSD
- UnixWare

Native (unchanged)
- Darwin - for Leopard (10.5) and later
- OpenBSD.mk
- SunOS.mk

Modular (unchanged)
- DragonFly
- HPUX
- Haiku
- OSF1

I'd like to encourage anyone using X11 apps on any platforms other
than NetBSD, Darwin, DragonFly, FreeBSD, Linux, FreeMiNT, HPUX,
Haiku or OSF1 to speak up, whether they are happy with native or
having to set modular.
2011-09-10 16:30:02 +00:00
abs
fc3bada41a Introduce PKGSRC_SETENV, defaulting to SETENV. Can be set to ${SETENV} -i
to santise environment
2011-09-08 20:17:15 +00:00
wiz
ff16fb4bbc Make USE_DESTDIR=yes default, and warn if a package is not converted
to destdir yet. Based on a patch by Greg Troxel.
2011-04-07 08:08:45 +00:00
sbd
987c0d8eb4 Remove the unneeded backslashes from the AIX OS_VERSION setting.
Closes PR/44421.
2011-01-31 08:18:44 +00:00
agc
e81f515156 Add support for MirBSD to pkgsrc. Patches from Benny Siegert and
Thorsten Glaser.
2011-01-23 19:07:24 +00:00
bad
89f715edf7 I'm fed up with having to waste time because PKG_DEVELOPER is "special" and
can't be disabled by setting it to "no" like the other variables.
Besides, flavor/pkg/metadata.mk has been expecting for a long time that "no"
is a valid value.

Make PKG_DEVELOPER DWIM.
2010-08-24 19:08:28 +00:00
sbd
0ae82b5fa9 Add BUILTIN_PKGS with the "builtin" package names to the build information.
E.g if readline 6.0 and ncurses 5.7 are part of the system we get:
BUILTIN_PKGS=readline-6.0 ncurses-5.7
2010-05-19 09:12:15 +00:00
sbd
53eb3c505b Make all packages that set OSVERSION_SPECIFIC depends on pkgtools/osabi.
Also include a note about changes to OS_VERSION in bsd.prefs.mk
2010-04-30 03:29:55 +00:00
sbd
fb87ae6185 Set NATIVE_MACHINE_GNU_PLATFORM & MACHINE_GNU_PLATFORM using
NATIVE_MACHINE_GNU_ARCH & MACHINE_GNU_ARCH respectively.

Fixes PR pkg/43147.
2010-04-18 21:51:49 +00:00
obache
a428235e70 Set LOWER_VENDOR=pc for Haiku/i386. 2010-02-06 11:40:22 +00:00
joerg
f828e31fdd Enable USE_DESTDIR by default for PKG_DEVELOPER. 2010-01-29 17:20:51 +00:00
joerg
76765d5007 Retire USE_DESTDIR=full workaround. 2010-01-29 17:20:27 +00:00
dholland
d957f5d842 minor English usage nit 2010-01-17 08:04:32 +00:00
obache
2d7e9ef220 Add support of SSD/Linux.
* ROOT_GROUP=wheel, fixes PR#42073.
 * LOWER_VENDOR=ssd
 * adjust paths for some tools
2010-01-16 02:16:35 +00:00
joerg
5b3d5c1a9f Add LP64PLATFORMS, a list of patterns for 64bit systems.
This allows easily disabling software that is not 64bit clean.
2010-01-06 18:21:44 +00:00
obache
ad2aadb837 Interix>=5.2 have libc.so.5.2, but no higer revision exists.
So gave up to detect OS_VERSION with shlib version if libc.so.5.2 exists.
2009-12-13 08:19:45 +00:00
tron
018be612e3 Unconditionally set the default ABI to 32-Bit for Mac OS X Snow Leopard.
There are too many third party applications which don't build using
the 64-Bit ABI at the moment.

Approved by Alistair Crooks.
2009-09-24 17:24:13 +00:00
hasso
390b0c73c2 Workaround for amd64 vs x86_64 mess on DragonFly as well. 2009-09-22 19:19:29 +00:00
tron
a42e90b053 Try again to fix Mac OS X Snow Leopard ABI issue (32-bit vs. 64-bit):
1.) Always set the "ABI" variable.
2.) Default to 64-bit mode if the machine is able to run 64-bit binaries.
    This seems to match the default behavior of Xcode (Apple's toolchain).
3.) Set "LOWER_ARCH" so it automatically evalutes to the correct value
    based on the ABI we are compiling for, not on based on the kernel
    the machine is running. This even works properly if the ABI is
    set in "/etc/mk.conf" or on the command line.

Thanks a lot to OBATA Akio for providing the crucial hint to get
this working properly.
2009-09-22 09:17:50 +00:00
tron
94e100eb38 Revert last change. It doesn't work properly because the "ABI" setting
is not defined that early as we have included neither "bsd.own.mk"
nor "mk.conf" yet.

We unfortunately cannot make these adjustments later because "bsd.own.mk"
and "mk.conf" would be processed with an incorrect value for
"MACHINE_ARCH".
2009-09-21 15:28:03 +00:00
tron
66d67cdc56 Try to fix Mac OS X Snow Leopard ABI issue (32-bit vs. 64-bit):
1.) Always set the "ABI" variable.
2.) Default to 64-bit mode if the machine is able to run 64-bit binaries.
    This seems to match the default behavior of Xcode (Apple's toolchain).
3.) Set "LOWER_ARCH" based on the ABI we are compiling for, not on
    based on the kernel the machine is running.

The "gnupg" package now builds for the 64-Bit API without extra tricks.
2009-09-21 10:56:08 +00:00
tron
bbf44b1044 Add support for X.org bundled with Mac OS X Snow Leopard. 2009-09-13 13:28:46 +00:00
joerg
78ce287831 For developer mode, warn about packages without destdir support. 2009-05-23 23:48:44 +00:00
wiz
4e59ae6190 Fix previous:
Actually check what you want to check -- both for "yes" and "no", not
only for "no".
2009-05-19 09:33:53 +00:00
joerg
f2eff61d34 Sanity check that USE_DESTDIR is either yes or no after downgrading
USE_DESTDIR=full. This makes setting USE_DESTDIR=full on the command
line an explicit error as side effect.
2009-05-17 23:44:53 +00:00
joerg
c34f3d0f89 Make USE_DESTDIR=full the default value and retire the option. 2009-05-09 14:59:08 +00:00
joerg
419c5ad860 Clear USE_LANGUAGES for meta packages. 2009-04-08 23:03:14 +00:00