summaryrefslogtreecommitdiff
path: root/mk/platform/IRIX.mk
AgeCommit message (Collapse)AuthorFilesLines
2009-07-26Get rid of an abstraction violation which has been in the tree sinceagc1-1/+3
March 2008. Not vital, but the previous way does not scale well/at all.
2008-03-04+ Conditionally add GAMES_USER and GAMES_GROUP to the platform *.mkjlam1-3/+5
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 theytnn1-2/+1
will default to USE_XPKGWEDGE anyway.
2007-10-19Reverted the last changes, which factored out some definitions that arerillig1-3/+7
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 supportedrillig1-7/+3
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-07-29* Add new emulator framework in pkgsrc/mk/emulator that handles alljlam1-1/+3
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 RSH definition.joerg1-2/+1
2006-10-06Always use LOCALBASE setting from mk/defaults/mk.conf.joerg1-2/+1
Setting it with ?= in the platform files is a nop anyway.
2006-09-10improve imake support on IRIX 5schwarz1-4/+2
2006-07-20Remove USE_GNU_GETTEXT from pkgsrc. Packages generally only neededjlam1-2/+1
it for plurals support, but that is already handled correctly (FSVO "correctly") by the pkgsrc/mk/tools/msgfmt.sh script. Also remove _USE_GNU_GETTEXT definitions from pkgsrc/mk/platform/*.mk files as that value has been unused by pkgsrc for quite some time (going back several branches).
2006-07-10Back out revision 1.172 of mk/tools/replace.mk -- we never want tojlam1-4/+1
allow IMAKE to be set by anything other than the tools framework. Modify the IRIX files so that the native imake is listed as a built-in tool in the case where X11_TYPE is "native". Also, move the include of tools/default.mk a bit lower in bsd.prefs.mk so that tools.${OPSYS}.mk files can use the value of X11_TYPE. This should properly set and point IMAKE to the right binary on IRIX without destroying the configuration for platforms where IMAKE was not explicitly set, i.e. every non-IRIX platform.
2006-04-12Add INSTALL_GAME_DIR to complement INSTALL_GAME_DATA. The directoriesjoerg1-1/+2
are group-writeable by the games user on those platforms, where GAMEMODE includes setgid. It defaults to PKGDIRMODE otherwise.
2006-04-10Modified xmkmf support for Darwin and IRIX:schwarz1-3/+29
- on Darwin, pkgsrc no longer tries to set user or group when installing as unprivileged user, i.e. with UNPRIVILEGED set to yes. - on IRIX (5 and 6) the system's xmkmf config files are no longer modified. Instead copies (that take priority with pkgsrc's xmkmf) are used for that purpose.
2006-03-18Remove leftover code sections guarded by _USE_PLIST_MODULE which wasjlam1-9/+1
mainlined long ago.
2006-01-12Initial commit of a new module that encapsulates all of the codejlam1-1/+8
for manipulating PLISTs. This module is not used by default pending more widespread testing -- currently the variable _USE_PLIST_MODULE must be defined in /etc/mk.conf to enable its use. The main features of the new PLIST module are: (1) Splits out the PLIST-handling code from bsd.pkg.mk into a separate "plist" module. (2) Splits out giant, multi-line awk scripts stored in make variables into separate awk scripts that may be joined together to post-process PLISTs. Each of these awk scripts consolidates the processing for one set of files, e.g., man pages, info pages, etc., and is more easily commented than a make variable. (3) Splits out the print-PLIST code from the regular PLIST code since they have no common pieces (print-plist.mk vs. plist.mk). (4) Completely re-implements the shared-library handling to be more efficient. Along the way, this also fixes a problem for Mac OS X users where the PLISTs incorrectly contained absolute paths. (5) Completely re-implements the info-file handling so that we can migrate from INFO_FILES definitions to just adding info/foo.info entries in the static PLISTs. (6) Adds commented-out support for automatically compressed or decompressed info page entries based on the value of MANZ. These changes will be activated after texinfo.mk has been replaced by something that is built using the more modern primitives now available in pkgsrc. (7) Move the file compression logic into a separate script "doc-compress" that compresses or decompresses files while minding symlinks. This script is now called by bsd.pkg.mk to do the "autmoatic man page handling". In the future, it will also handle the "automatic info page handling" and possible others. In general, the idea is to move stuff out of the Makefiles and into separate files where we don't need to worry about quoting rules and where each file can have a separate history of commits. This simplifies the makefile logic (especially in terms of readability) and also simplifies maintenance of the code.
2005-12-08Pass correct flags to install.sh to invoke IRIX's strip commandjschauma1-2/+2
2005-12-05Applied all quoting fixes found by "pkglint --autofix".rillig1-3/+3
2005-12-04Add IMAKE_GAMEMAN_SUFFIX and IMAKE_GAMEMAN_DIR to allow PLISTsjoerg1-1/+3
to pick up the correct locations. XXX Default values are guessed, x11/xsnow can be used for testing
2005-10-16modification to increase imake handling flexibility for IRIX (in particularschwarz1-9/+12
with respect to IRIX 5). Changes approved by jschauma and recht.
2005-08-02Replace references of pkgsrc/mk/bsd.pkg.defaults.mk toreed1-3/+3
pkgsrc/mk/defaults/mk.conf. This is from PR 30741 from anonymous AT example.net.
2005-06-01Turn IMAKE_MAKE into a public variable that may be set via /etc/mk.conf.jlam1-2/+2
2005-05-22Remove the old tools framework and references to _USE_NEW_TOOLS.jlam1-83/+1
2005-05-03First pass at converting pkgsrc to use the new tools framework (stilljlam1-9/+12
not on by default). Separate out the variable defintions that are now made by the new tools framework. Some of the trickier platforms (AIX, IRIX, Interix, OSF1) still need more work.
2005-05-03Back out part of a change from revision 1.756 of bsd.pkg.mk. It wasjlam1-2/+1
a mistake to include "GZIP" as an ${OPSYS}-specific variable as there is nothing ${OPSYS}-specific there to tune. Define GZIP in defaults/mk.conf instead, and remove the definition from each of the existing platform/${OPSYS}.mk files.
2005-04-16enable the user to set LIBABISUFFIX if desired. Change approved by jschauma.schwarz1-2/+2
2005-03-18Fix a gleaming illustration of why using YES/NO variables everywheretv1-5/+3
possible, just for the sake of doing so, is not a good thing to do: The platform files define _STRIPFLAG_* to determine whether to strip things. But since this is included in bsd.prefs.mk, ".if ..." checks cannot take things set in the Makefile into account. So convert INSTALL_UNSTRIPPED=YES to a defined/undefined variable check in bsd.pkg.mk, and use the :D:U idiom in the _STRIPFLAG_* variables. This should fix PR pkg/28772 and PR pkg/29031.
2005-01-28Don't make pkgsrc depend on dc(1) to be present in the system. Sincejlam1-2/+1
we already use awk so pervasively in pkgsrc, simply use awk in place of dc for simple computations.
2005-01-25Relax need to put GNU_CONFIGURE before inclusion of bsd.prefs.mk:tv1-4/+2
Convert _OPSYS_MAX_CMDLEN to a plain _OPSYS_MAX_CMDLEN_CMD variable, which is not evaluated by a shell until CONFIGURE_ENV is expanded (and only then if USE_LIBTOOL+GNU_CONFIGURE are both set).
2004-12-27Remove USERADD and GROUPADD definitions from OSes where the useraddjlam1-3/+1
and groupadd commands won't follow the calling conventions of the NetBSD useradd/groupadd. Modify the INSTALL scripts to *never* create users or groups if there is no available ${USERADD} or ${GROUPADD} command, but will warn the user of users and groups that need to be created before the package can be installed.
2004-11-16Revert previous (re-add common CPP_PRECOMP_FLAGS). For consistency, alsotv1-2/+2
move usage of _USER_DEPENDS and _OPSYS_MAX_CMDLEN to bsd.pkg.mk.
2004-11-16CPP_PRECOMP_FLAGS is a Darwinism only. Move its frobbing of CPPFLAGS totv1-2/+1
platform/Darwin.mk (simplification).
2004-11-15Set some _OPSYS_SHLIB_TYPE to precisely 'ELF' on platforms where a.out istv1-2/+2
not being used by pkgsrc at all. This saves some build time in show-shlib-type.
2004-11-12Introduce LIBABISUFFIX for platforms which require ABI-dependant library paths.sketch1-1/+3
2004-10-13Make strip/no-strip choice more consistent:tv1-2/+2
Move check for INSTALL_UNSTRIPPED to the platform/*.mk files, alongside existing check for DEBUG_FLAGS.
2004-10-06Reorganize some of the files under pkgsrc/mk:jlam1-0/+184
(1) defs.${OPSYS}.mk --> platform/${OPSYS}.mk. The "platform" subdirectory is where all of the ${OPSYS}-specific infrastructure logic should reside. (2) bsd.pkg.defaults.mk --> defaults/mk.conf bsd.pkg.obsolete.mk --> defaults/obsolete.mk Renaming bsd.pkg.defaults.mk to defaults/mk.conf is to mimic the way that NetBSD has /etc/rc.conf as well as /etc/defaults/rc.conf, where the latter is a full list of user-settable variables, and the two files share the same name to reinforce the fact /etc/defaults/rc.conf can be directly copied in place as /etc/rc.conf. This is the same relationship shared by defaults/mk.conf and /etc/mk.conf.