Commit graph

225 commits

Author SHA1 Message Date
marino
478c16e258 mk/platform/DragonFly.mk: Correct setting for _OPSYS_HAS_OSSAUDIO
DragonFly never had libossaudio.
2011-12-17 16:20:01 +00:00
tcort
3daa7e95c9 Define the Minix platform. 2011-11-05 17:09:15 +00:00
sbd
f0315578c5 Add LIBC_BUILTINS platform definition to Linux.
Designed to be used in mk.conf like so:
PREFER_PKGSRC= yes
PREFER_NATIVE= ${LIBC_BUILTINS}
2011-10-31 23:22:59 +00:00
sbd
be522e59ef Change the X11_TYPE conditional to work with the switch in the default
X11_TYPE to modular.
2011-10-15 03:15:37 +00:00
bsiegert
0e77bd1e01 Tentatively switch X11_TYPE to modular to MirBSD. The native X is still
X11R6 so many new applications do not build. meta-pkgs/modular-xorg-libs
built correctly in my tests, so let's see what a bulk build will show.
2011-09-18 19:11:29 +00:00
abs
777afd3e4b switch NetBSD-4 and AIX to default to modular X11_TYPE 2011-09-18 12:42:23 +00:00
abs
2750273003 IRIX 6 made it to X11R6, but never X11R7, so default to X11_TYPE=modular 2011-09-17 08:13:06 +00:00
abs
e6d9e50cd6 UnixWare 7 has move dup to X11R6, still less than X11R7, so default to
X11_TYPE=modular
2011-09-17 08:10:33 +00:00
abs
021c4489b5 Sinc BSD/OS has been oprhaned since 2004, default to modular X11_TYPE 2011-09-17 08:06:40 +00:00
abs
ac04381173 Since Interix appears to use X11R5, switch to modular X11_TYPE by default 2011-09-17 08:05:02 +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
yyamano
79edae70ae Add comment for Mac OS X 10.7.x Lion. 2011-09-09 09:31:56 +00:00
cheusov
d900dedc95 Pass a maximum command line length to "configure" script on Linux.
PR 45274 by Emmanuel Kasper
2011-08-22 15:17:53 +00:00
obache
f0dc7f55fd NOLOGIN=/sbin/nologin for SSD/Linux. 2011-05-11 12:46:20 +00:00
cheusov
e96d5977ff Use useradd/groupadd scripts from sysutils/user_irix package on IRIX
Closes PR pkg/44564
2011-05-07 22:16:16 +00:00
obache
b3a2579d74 /usr/bin/su for SSD/Linux. 2011-03-20 09:00:08 +00:00
dholland
0a55f693f1 Remove SETGIDGAME logic from here, like it was removed from the other
platform .mk files.
2011-03-19 14:07:10 +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
adam
e52787fa21 Removed _INCOMPAT_ICONV.
The problem is Darwin's libiconv does not have symbols for libiconv_<name>
(e.g. libiconv_open), but iconv_<name> (e.g. iconv_open).
BUT when there's pkgsrc/converters/libiconv installed instead, it doesn't
have symbols for iconv_<name>, but libiconv_<name>.
Some packages auto-configure looks for libiconv_open (like glib2), others
look for iconv_open (like proftpd), and there's a conflict.
The solution is to replace libiconv_open with iconv_open with SUBST framework.
2011-01-04 09:53:31 +00:00
abs
6842004891 Why should apps compiled for OS X 10.4 and earlier have to languish with
outdated X libraries? Default to modular x11 for a more modern set of
features, bugfixes (and bugs), and to simplify application support
Does *not* affect 10.5 (Leopard) or later
2010-12-22 20:43:45 +00:00
obache
9a6ed5c66f Force to use symbolic link for wrapper if WRAPPER_USE_SYMLINK is defined.
Workaround for missing hard link support on Haiku, PR#43398.
2010-08-16 10:03:44 +00:00
dholland
4424b4c08b Begin cleanup of setgid game infrastructure.
* Introduce USE_GAMESGROUP, which causes the games user and group to
be made available.

 * Retain SETGIDGAME as an alias for USE_GAMESGROUP. Describe it as
deprecated.

 * Always define GAMES_USER, GAMES_GROUP, GAMEMODE, GAMEDIRMODE, and
GAMEDATAMODE, regardless of whether USE_GAMESGROUP is turned on or not.

 * Define these variables in defaults/mk.conf instead of separately in
every platform/*.mk file. The definitions used to be the same for each
of these platforms anyway, except for some where they were randomly
missing or commented out for no clear reason, leading to broken game
packages.

 * Handle all these variables properly when unprivileged.

 * Update the comments/documentation for these variables.

 * Describe GAMEOWN and GAMEGRP as deprecated. These need to be
retained as aliases for GAMES_USER and GAMES_GROUP respectively for
supporting packages that use bsd.*.mk but should otherwise not be
used.

 * Add GAMEDATA_PERMS and GAMEDIR_PERMS using GAMEDATAMODE and
GAMEDIRMODE respectively.

 * Fix a bug I noticed that was improperly mixing the "games" group
and "games" user.

Things this does *not* do:

 - get rid of GAMES_USER, for which there should ultimately be no need.

 - move the declaration/documentation/default value of USE_GAMESGROUP
to a suitable place. (It is currently where SETGIDGAME was, which is
suboptimal.)

 - touch any of the games, all of which need updating with at least
s/SETGIDGAME/USE_GAMESGROUP/ and probably more.

 - update the guide to explain how to handle games properly.

Also, it would be nice if using GAMES_GROUP without setting
USE_GAMESGROUP=yes caused an error but as far as I know there isn't
any particularly good way to arrange this right now.

Note that these changes may alter the build/install behavior of broken
game packages, e.g. some may silently become setgid when they weren't
before or things like that. If you run into any of this file a PR.

While one might arguably bump the PKGREVISION of all games or other
packages using any of these variables as a precaution, that seems like
a bad idea. Instead, I think I will be bumping each game once it
itself has been fixed up to do everything the right way.
2010-07-08 04:57:36 +00:00
obache
71467f96b2 Fixes paths for useradd/groupadd. 2010-06-20 04:05:39 +00:00
sbd
1c5f2a96f3 On Linux systems record the glibc version in the build information.
OKed by wiz@
2010-05-20 07:57:22 +00:00
sbd
b2c2350a94 Use mk/check/check-shlibs-elf.awk for the run-time search-path check on
linux.
2010-05-16 06:59:26 +00:00
sbd
db09236f72 imake should only ever use gmake if ${X11_TYPE}==native. Pointed out by joerg@
Fixes PR 42274

OK wiz@
2010-03-18 22:46:01 +00:00
obache
d8b89dd040 for SSD/Linux, /usr/bin/false, not /bin/false. 2010-02-13 08:29:12 +00:00
obache
37095ae4b4 Add Haiku support file. 2010-02-06 10:39:59 +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
tnn
cab6fe7bee fix comment 2009-12-19 10:53:33 +00:00
tnn
b24d39bee5 default X11_TYPE to modular 2009-12-19 10:52:58 +00:00
joerg
725365852d Force libtool 2.2 on all platforms. 2009-12-16 19:48:09 +00:00
tron
afd7200f80 The 64-Bit version of "libiconv" is not compatible with the GNU version
and therefore rejected by e.g. the "glib2" package. Use the "libiconv"
package to fix this.

Approved by Alistair Crooks.
2009-09-24 06:31:27 +00:00
tron
62efbfa9bf Add comment describing version numbers for Mac OS X Snow Leopard. 2009-09-12 21:41:26 +00:00
agc
d07c430fe5 Get rid of an abstraction violation which has been in the tree since
March 2008. Not vital, but the previous way does not scale well/at all.
2009-07-26 05:32:43 +00:00
tron
05fbe1aaa8 Don't use "/bin/ksh" to run wrappe scripts under Mac OS X before Leopard.
This should fix build problems reported by Christoph Egger.
2009-07-11 10:32:41 +00:00
schwarz
8a2dcb7bd1 /usr/bin/gcc on MacOS X is a wrapper that expects to call the (architecture-
dependent) real gcc binary with the same path as it has been evoked. When
it is called via a symbolic link this fails since the evokation path in that
case is the original one of the symbolic link. For that reason pkgsrc's
buildlink framework must be prevented from using symbolic links to refer to
/usr/bin/gcc.

imac:/tmp schwarz$ ln -s /usr/bin/gcc gcc
imac:/tmp schwarz$ /tmp/gcc
gcc: installation problem, cannot exec '/tmp/powerpc-apple-darwin8-gcc-4.0.1': No such file or directory
2009-06-07 11:34:27 +00:00
joerg
bdd1b8e73a Remove WRAPPER_DEBUG definition, it doesn't change anything. 2009-06-02 14:51:03 +00:00
joerg
af770acf0e GCC_USE_SYMLINKS has been renamed and is the default now, so remove it
here.
2009-06-02 14:47:44 +00:00
tron
76a8021ba5 Allow to set the "bourne" shell used for buildlink3 wrappers per platform.
Set it to "/bin/ksh" under Mac OS X which should reduce package build times
by more than 20%.
2009-05-06 10:28:01 +00:00
tron
bdc83f4e4c Revert last change for the moment as "/bin/ksh" fails to execute
the "configure" script of "pkg_install".
2009-04-27 12:03:36 +00:00
tron
9adc2cce6a Set "SH" to "/bin/ksh" under Mac OS X Leopard:
- "libtool" will use "ksh" if it gets rebuilt after this change.
- Buildlink wrappers will now use "ksh".
- Configure script will be executed using "ksh".
This improves build performance by more than 30%.

Change discussed on "tech-pkg" mailing list.
2009-04-24 11:54:14 +00:00
joerg
a1b94af72d Remove PAX definition, it is not forcefully installed as part of the
bootstrap any longer, so this is plainly wrong.
2009-04-01 12:04:41 +00:00
tnn
d4a3178b42 revert previous 2009-03-17 17:58:49 +00:00
tnn
a325778f62 Global FAM_DEFAULT is now acceptable, so no need to override it here. 2009-03-16 08:59:28 +00:00
abs
5f554c32aa Initial definitions for FreeMiNT - also needs patches to pkgtools 2009-03-05 00:02:44 +00:00
sketch
ddaab16e6a While user/group 'games' does not exist by default on Solaris, it will
get created correctly if SETGIDGAME=yes and this avoids ugly errors
from check-files.mk
2009-01-14 23:33:48 +00:00
tron
65c127a1a3 Update Xcode information for Mac OS X Leopard. 2008-12-16 08:11:29 +00:00
sketch
9786e79561 Solaris useradd requires a full path to the shell. 2008-12-12 15:35:34 +00:00
joerg
636aaedea4 Don't set EXPORT_SYMBOLS_LDFLAGS on AIX, while it seems that GCC and
some newer linker versions seem to ignore it. It is not required anyway.
From PR 39633.
2008-10-30 18:52:08 +00:00