summaryrefslogtreecommitdiff
path: root/mk/platform
AgeCommit message (Collapse)AuthorFilesLines
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.
2008-01-16Provide a mechanism for enabling use of pkgtools/posix_headers.tnn1-1/+4
2008-01-16Delete comment about bmake not accepting .SHELL, that PR was fixed longtnn1-9/+4
ago ... XXX: I would enable /bin/ksh as bmake's default shell but it fails on one of the bmake unit tests. Will need to figure out why ... Maybe some day we can provide a posixly correct shell as part of the bootstrap process.
2008-01-15Default to modular X.org on HPUX, since native X11 is old/broken andtnn1-1/+7
X11 headers are not bundled with the operating system.
2008-01-14Don't provide a redundant CPP definitiontnn1-2/+1
2008-01-12Only force gmake for imake on Linux, if using native implementation.joerg1-1/+3
2007-12-16Fix cut and paste error in last change.tron1-2/+2
2007-12-16Mac OS X's Leopard "/bin/sh" doesn't support "echo -n" (apparently bytron1-1/+5
purpose because if it is invoked as "/bin/bash" it does). Use "/bin/echo -n" instead.
2007-11-20Prevent other developers from doing the same mistake as I did, when Irillig1-0/+12
wanted to clean up the code in this directory.
2007-11-20Added the feature "asprintf", since Solaris 10 doesn't provide it. Therillig1-1/+2
missing feature is defined in the platform-specific file, which is more elegant than adding even more of those ".if ${OPSYS} == ..." conditions.
2007-10-19Reverted the last changes, which factored out some definitions that arerillig15-189/+120
usually the same on the supported platforms. The reason for having duplicate code in these files is to make it easier to port pkgsrc to a new platform: You just have to copy one of the existing platform files and edit the values in it. With some values factored out, you would have to look at one more file. Pointed out by agc@.
2007-10-18Factored out the parts that are common between all the supportedrillig15-120/+189
platforms, mainly because it wouldn't have made sense to document the variables in one of those files, but they need to be documented somewhere. Added the file defaults.mk, which now serves as the reference document which provides useful default values and _explains_ the variables.
2007-10-16Allow PKGLOCALEDIR to be overridden.tnn2-4/+4
2007-10-09AIX has nothing to do with NetBSD-1.5.rillig1-7/+1
2007-08-21* Support netbsd-* as a valid platform in EMUL_PLATFORMS. Use thejlam1-1/+4
pkgsrc/emulator/compat* and pkgsrc/emulator/netbsd32_compat* packages to provide the necessary shared libraries to run dynamically linked NetBSD binaries from the days of yore. * Add some additional compat* packages for completeness: compat15, compat20, compat30 * Modify the compat* packages so that "compatNM" only provides files that aren't in "NetBSD-N.(M+1)". For example, compat12 only provides files that don't exist in NetBSD-1.3.x, compat13 only provides files that don't exist in NetBSD-1.4.x, etc. As a result, if you are running NetBSD-3.0/alpha and want to run a 1.3 dynamically linked binary, there is an automatic dependency chain that causes the following packages to be installed: compat13, compat14, compat15, compat16, compat20 There are some deviations from this dependency chain on platforms that have changed executable formats, e.g. i386, m68, sparc, etc. However, in general pkgsrc will require that you have the necessary COMPAT_* options in your kernel to match the installed compat* packages. This restriction is an artificial one imposed by pkgsrc, but allows for a single set of distfiles to be used on all versions of NetBSD. * Provide compat* package support for every supported architecture of NetBSD. Verily, it is now possible to run 1.2 binaries on NetBSD-1.5.3/pc532 by installing the compat12 package from pkgsrc. Rejoice, one and all! * The netbsd32_compat* packages mirror the corresponding compat* packages for use by sparc64 and x86_64 to allow running 32-bit binaries with COMPAT_NETBSD32 kernel support. The "extras" packages supply the additional shared libraries from the corresponding release of NetBSD so that the set of files in /emul/netbsd32 will be complete. * pkgsrc/emulators/compat_netbsd contains infrastructure files shared by all of the compat* packages.
2007-08-02Remove inclusion of pkgtools/posix_headers/buildlink3.mk. This wastnn1-6/+1
useful for initial testing, but here is not the proper place to include it. For now the recommended way is to include the buildlink3.mk in mk.conf.
2007-08-01Note the proper /emul/* dir for Darwin libraries.jlam1-1/+2
2007-07-29* Add new emulator framework in pkgsrc/mk/emulator that handles alljlam9-11/+41
binary-only packages that require binary "emulation" on the native operating system. Please see pkgsrc/mk/emulator/README for more details. * Teach the plist framework to automatically use any existing PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition. * Convert all of the binary-only packages in pkgsrc to use the emulator framework. Most of them have been tested to install and deinstall correctly. This involves the following cleanup actions: * Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM} more consistently. * Simplify packages by using default INSTALL and DEINSTALL scripts instead of custom INSTALL/DEINSTALL code. * Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc. Packages only need to state exactly which emulations they support, and the framework handles any i386-on-x86_64 or sparc-on-sparc64 uses. * Remove "USE_NATIVE_LINUX" from pkgsrc. The framework will automatically detect when the package is installing on Linux. Specific changes to packages include: * Bump the PKGREVISIONs for all of the suse100* and suse91* packages due to changes in the +INSTALL/+DEINSTALL scripts used in all of the packages. * Remove pkgsrc/emulators/suse_linux, which is unused by any packages. * cad/lc -- remove custom code to create the distinfo file for all supported platforms; just use "emul-fetch" and "emul-distinfo" instead. * lang/Cg-compiler -- install the shared libraries under ${EMULDIR} instead of ${PREFIX}/lib so that compiled programs will find the shared libraries. * mail/thunderbird-bin-nightly -- update to latest binary distributions for supported platforms. * multimedia/ns-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch. * security/uvscan -- set LD_LIBRARY_PATH explicitly so that it's not necessary to install library symlinks into ${EMULDIR}/usr/local/lib. * www/firefox-bin-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch.
2007-07-02Remove USE_MTREE support. Keep one copy (the NetBSD version) forjoerg23-25348/+0
the purpose of print-PLIST in plist/common-dirs.mtree. Discussed with wiz@, no objections on tech-pkg@.
2007-07-02DragonFly is ELF-only. Fix indentation.joerg1-6/+2
2007-07-02Remove RSH definition.joerg12-24/+12
2007-06-18Change DragonFly to use modular Xorg by default. Haven't heard much badjoerg1-3/+3
from users of the binary packages, so assume it works well enough.