summaryrefslogtreecommitdiff
path: root/mk/platform
AgeCommit message (Collapse)AuthorFilesLines
2011-09-09Add comment for Mac OS X 10.7.x Lion.yyamano1-1/+2
2011-08-22Pass a maximum command line length to "configure" script on Linux.cheusov1-3/+4
PR 45274 by Emmanuel Kasper
2011-05-11NOLOGIN=/sbin/nologin for SSD/Linux.obache1-3/+3
2011-05-07Use useradd/groupadd scripts from sysutils/user_irix package on IRIXcheusov1-1/+6
Closes PR pkg/44564
2011-03-20/usr/bin/su for SSD/Linux.obache1-1/+5
2011-03-19Remove SETGIDGAME logic from here, like it was removed from the otherdholland1-12/+1
platform .mk files.
2011-01-23Add support for MirBSD to pkgsrc. Patches from Benny Siegert andagc1-0/+95
Thorsten Glaser.
2011-01-04Removed _INCOMPAT_ICONV.adam1-5/+1
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.
2010-12-22Why should apps compiled for OS X 10.4 and earlier have to languish withabs1-1/+6
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-08-16Force to use symbolic link for wrapper if WRAPPER_USE_SYMLINK is defined.obache1-1/+5
Workaround for missing hard link support on Haiku, PR#43398.
2010-07-08Begin cleanup of setgid game infrastructure.dholland13-191/+13
* 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-06-20Fixes paths for useradd/groupadd.obache1-3/+3
2010-05-20On Linux systems record the glibc version in the build information.sbd1-1/+8
OKed by wiz@
2010-05-16Use mk/check/check-shlibs-elf.awk for the run-time search-path check onsbd1-2/+4
linux.
2010-03-18imake should only ever use gmake if ${X11_TYPE}==native. Pointed out by joerg@sbd1-2/+2
Fixes PR 42274 OK wiz@
2010-02-13for SSD/Linux, /usr/bin/false, not /bin/false.obache1-1/+5
2010-02-06Add Haiku support file.obache1-0/+90
2010-01-16Add support of SSD/Linux.obache1-1/+5
* ROOT_GROUP=wheel, fixes PR#42073. * LOWER_VENDOR=ssd * adjust paths for some tools
2009-12-19fix commenttnn1-2/+2
2009-12-19default X11_TYPE to modulartnn1-1/+6
2009-12-16Force libtool 2.2 on all platforms.joerg3-6/+3
2009-09-24The 64-Bit version of "libiconv" is not compatible with the GNU versiontron1-1/+5
and therefore rejected by e.g. the "glib2" package. Use the "libiconv" package to fix this. Approved by Alistair Crooks.
2009-09-12Add comment describing version numbers for Mac OS X Snow Leopard.tron1-1/+2
2009-07-26Get rid of an abstraction violation which has been in the tree sinceagc15-15/+45
March 2008. Not vital, but the previous way does not scale well/at all.
2009-07-11Don't use "/bin/ksh" to run wrappe scripts under Mac OS X before Leopard.tron1-2/+2
This should fix build problems reported by Christoph Egger.
2009-06-07/usr/bin/gcc on MacOS X is a wrapper that expects to call the (architecture-schwarz1-1/+5
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-02Remove WRAPPER_DEBUG definition, it doesn't change anything.joerg1-3/+1
2009-06-02GCC_USE_SYMLINKS has been renamed and is the default now, so remove itjoerg1-2/+1
here.
2009-05-06Allow to set the "bourne" shell used for buildlink3 wrappers per platform.tron1-1/+6
Set it to "/bin/ksh" under Mac OS X which should reduce package build times by more than 20%.
2009-04-27Revert last change for the moment as "/bin/ksh" fails to executetron1-7/+1
the "configure" script of "pkg_install".
2009-04-24Set "SH" to "/bin/ksh" under Mac OS X Leopard:tron1-1/+7
- "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-01Remove PAX definition, it is not forcefully installed as part of thejoerg1-2/+1
bootstrap any longer, so this is plainly wrong.
2009-03-17revert previoustnn2-2/+8
2009-03-16Global FAM_DEFAULT is now acceptable, so no need to override it here.tnn2-8/+2
2009-03-05Initial definitions for FreeMiNT - also needs patches to pkgtoolsabs1-0/+39
2009-01-14While user/group 'games' does not exist by default on Solaris, it willsketch1-10/+9
get created correctly if SETGIDGAME=yes and this avoids ugly errors from check-files.mk
2008-12-16Update Xcode information for Mac OS X Leopard.tron1-2/+2
2008-12-12Solaris useradd requires a full path to the shell.sketch1-2/+2
2008-10-30Don't set EXPORT_SYMBOLS_LDFLAGS on AIX, while it seems that GCC andjoerg1-2/+2
some newer linker versions seem to ignore it. It is not required anyway. From PR 39633.
2008-09-22Reverting my previous openmotif->lesstif changes.ahoka6-12/+12
2008-09-14As the openmotif license doesnt allow usage on close source systems,ahoka6-12/+12
there is no good reason to be default on those platforms. Change the default to lesstif on AIX, BSDOS, Darwin, HPUX, Interix, OSF1.
2008-08-10Use patch --suffix instead of -b, the latter will be problematic whenjoerg1-2/+2
PR 11220 gets addressed.
2008-05-20Use gamin instead of fam on OSF1. Closes PR pkg/31489.tnn1-1/+4
2008-05-13Enable USE_CHECK_SHLIBS_ELF on FreeBSD. Aleksej Saushev PR pkg/38606.tnn1-1/+3
2008-04-03Move handling of pkg_install version into flavor. Add an explicitjoerg1-6/+4
phase pkg_install-depends before bootstrap-depends that just tries to install a new pkg_install if the current version is too old. Still keep it as bootstrap dependency for the bulk build code. For NetBSD, PKG_TOOLS_BIN has to be computed in shell code due to a make bug. OK: jlam@
2008-03-04+ Conditionally add GAMES_USER and GAMES_GROUP to the platform *.mkjlam12-36/+60
files. These variables are currently usable if ${SETGIDGAME} == yes. These variables should be used when describing ownership of files and directories to the pkginstall framework, e.g. SPECIAL_PERMS= bin/foogame ${GAMES_USER} ${GAMES_GROUP} 2555 + Rename SETGID_GAME_PERMS to SETGID_GAMES_PERMS because the default group name is "games". + Define SETGID_GAMES_PERMS in terms of GAMES_USER and GAMES_GROUP so that these names are protected from the normal flow of unprivileged.mk. This fixes the +INSTALL scripts in "user-destdir" packages to correctly refer to the games:games instead of the user:group of the user that built the packages.
2008-02-21Kill _OPSYS_NEEDS_XPKGWEDGE. It was only used by two platforms and theytnn2-8/+2
will default to USE_XPKGWEDGE anyway.
2008-02-17Add a list of the codename, os, kernel and xcode version based onyyamano1-1/+12
tron's mail on tech-pkg. Thanks gtd for yourusuggestion to add xcode version.
2008-01-30Try to fix PR pkg/26143 with caution:tron1-2/+4
- Set "CC" to "gcc -isystem /usr/include" during bootstrap. - Add "-isystem /usr/include" to the Darwin specific "CPPFLAGS".
2008-01-16Make the default rpath for USE_CHECK_SHLIBS_ELF a platform variable.joerg2-2/+6
Define the values for NetBSD and DragonFly.