summaryrefslogtreecommitdiff
path: root/mk/defs.Darwin.mk
AgeCommit message (Collapse)AuthorFilesLines
2002-09-04Apply patches from Lubomir Sedlacik <salo@Xtrmntr.org> in PR 18115 toagc1-1/+2
generalise the linker flags used to export symbols by setting them on a per-OS basis. > many packages force -Wl,-export-dynamic which is not portable outside GNU ld > and cause problems e.g. on Solaris. some of these packages use if > conditionals either only for NetBSD or except SunOS, but the state is not > coherent and it may complicate later when support for new OS is added to > pkgsrc (e.g. ongoing work on HP-UX support). > > jlam proposed the following framework in discussion on tech-pkg: > > http://mail-index.netbsd.org/tech-pkg/2002/06/21/0009.html > > now, ${EXPORT_SYMBOLS_LDFLAGS} is used instead of directly defining > -Wl,-export-dynamic which is set in appropriate defs.*.mk to reasonable > values. packages should be converted to this framework by: > > 1) replacing LDFLAGS+= -Wl,-export-dynamic and LIBS+= -export-dynamic with: > > LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS} > > 2) for use in patchfiles, add this variable to MAKE_ENV if needed: > > MAKE_ENV+= EXPORT_SYMBOLS_LDFLAGS=${EXPORT_SYMBOLS_LDFLAGS} > > 3) replace occurances of -Wl,-export-dynamic and -export-dynamic in patch > files with: > > $(EXPORT_SYMBOLS_LDFLAGS)
2002-08-28Allow more flexibility in the handling of UNLIMIT_RESOURCES.seb1-1/+4
Each word of UNLIMIT_RESOURCES is supposed to be a knob on ULIMIT_CMD_<word> variable which value if defined is added to _ULIMIT_CMD. The ULIMIT_CMD_* variables are set per $OPSYS in defs.*.mk and are overridable by the user. Solaris' default value of ULIMIT_CMD_memorysize adjusted as suggested in PR pkg/18087 by Jonathan Perkin <sketch@rd.bbc.co.uk>.
2002-07-15Provide per-${OPSYS} defaults for how to run a command as root.schmonz1-1/+2
Darwin ships with a disabled root account and a working "sudo".
2002-06-02Don't rely on /usr/bin/make being a symlink to gnumake; rather,schmonz1-2/+2
set GMAKE to /usr/bin/gnumake explicitly.
2002-06-02Introduce CPP_PRECOMP_FLAGS, defaulting to "-no-cpp-precomp" onschmonz1-1/+2
Darwin (meaning "don't use the OS X cpp that groks precompiled headers", which gets us the more compatible GNU cpp instead), and blank on other systems. Approved by agc and yyamano.
2002-05-19On Darwin, ZOULARISBASE is really just LOCALBASE. (This makes theschmonz1-2/+2
PKG_TOOLS_BIN and FETCH_CMD defaults work when LOCALBASE is not "/usr/pkg".)
2002-05-18_DO_SHLIB_CHECKS -> yesschmonz1-2/+2
2002-04-09Move definition of PERL5 from bsd.pkg.mk into defs.*.mk. This is somethingjlam1-1/+2
that is used regardless of whether perl is installed or not, and we sometimes want its value before include bsd.pkg.mk.
2002-03-14make _PATCH_BACKUP_ARG be more useful to callers by moving "-V simple"lukem1-2/+2
definition to be part of it instead of appending to PATCH_ARGS. otherwise, $VERSION_CONTROL or $PATCH_VERSION_CONTROL would still override -b/-z.
2002-03-11GNU tar is /usr/bin/gnutar.yyamano1-2/+2
2002-02-27Add _STRIPFLAG_CC and _STRIPFLAG_INSTALL to fix PR 15467.yyamano1-1/+6
I'll replace all STRIPFLAG in pkgsrc with STRIPFLAG_CC or STRIPFLAG_INSTALL.
2002-01-19Add coarse-grained locking to pkgsrc builds, by means of a beefedagc1-1/+3
up version of the bare-bones code in PR 7590, from David Maxwell. The definition governing the type of locking used is PKGSRC_LOCKTYPE, which can take any of the values "none", "sleep", and "once". The default is "none". If "sleep" locking is used, and process A is building a package, when process B attempts to build the same package, process B will sleep for PKGSRC_SLEEPSECS seconds, and attempt to grab the lock again. Coarse-grained locking uses the OBJHOSTNAME definition to ensure that the PID space is regular for shlock(1) to do its work. The pkgsrc/pkgtools/shlock package has been provided for environments where shlock is not standard.
2001-12-27Darwin's patch(1) requires that you tell it to make backup files, as wellagc1-2/+2
as giving it a suffix to name the backup file.
2001-12-19Add a new _OPSYS_HAS_GMAKE definition, to denote that the OS has GNU makeagc1-1/+3
as standard. Hoist the default definition of ${GMAKE} from bsd.pkg.mk into the different defs.${OPSYS}.mk files. A non-standard location or name for GMAKE can still be specified in /etc/mk.conf.
2001-11-21Move some operating-system specific definitions to the individualagc1-8/+11
defs.${OPSYS}.mk files.
2001-11-21Add an _OPSYS_HAS_OSSAUDIO definition to the individual defs.${OPSYS}.mkagc1-1/+2
files, and use it in ossaudio.buildlink.mk. The definition shows whether or not libossaudio is available in the OS.
2001-11-21Move MOTIF_TYPE_DEFAULT and MOTIF12_TYPE_DEFAULT definitions into theagc1-1/+3
individual defs.${OPSYS}.mk files. No change in functionality.
2001-11-21Add _OPSYS_HAS_MANZ and _PREFORMATTED_MAN_DIR definitions to theagc1-4/+6
individual defs.${OPSYS}.mk files, and use them in bsd.pkg.mk. + _OPSYS_HAS_MANZ defines whether or not the OS does MANZ handling as standard + _PREFORMATTED_MAN_DIR is the name of directory (cat or man) where preformatted manual pages go. Rename the internal definitions used in the generation of PLIST files to start with '_'. This completes the "generic" changes to bsd.pkg.mk.
2001-11-21Add a _DO_SHLIB_CHECKS definition to the individual defs.${OPSYS}.mkagc1-1/+2
files, and use it in bsd.pkg.mk. This definition controls the fixup of PLISTs at installation time, and running of ldconfig if necessary.
2001-11-21Add a _PATCH_BACKUP_ARG definition to the individual defs.${OPSYS}.mk files,agc1-1/+2
and use it in bsd.pkg.mk. This definition is the switch to patch(1) to provide backup files when patching.
2001-11-21Add a _USE_RPATH definition to the individual defs.${OPSYS}.mk files,agc1-1/+2
and use it in bsd.pkg.mk. This definition says whether or not the rpath is to be added to the LDFLAGS definition.
2001-11-21Add a _DO_LIBINTL_CHECKS definition to the individual defs,${OPSYS}.mkagc1-1/+2
files, and use it in bsd.pkg.mk. If set to "yes", checks that a valid libintl library and header file should be performed.
2001-11-21Add a definition of _IMAKE_MAKE to the individual defs.${OPSYS}.mkagc1-1/+3
files, defined to be the make program which is invoked by imake, and use it accordingly in bsd.pkg.mk
2001-11-21Move default umask for operating systems into the individual defs.${OPSYS}.mkagc1-2/+3
files, rather than switching by ${OPSYS} within bsd.pkg.mk.
2001-11-20Add definitions for ROOT_USER and ROOT_GROUP that are the symbolic names ofjlam1-1/+4
the root user and root group.
2001-11-19Add definitions for USERADD and GROUPADD, used to create new users andjlam1-1/+5
groups. These commands follow the basic interface of the NetBSD/Solaris useradd and groupadd programs. For platforms on which these commands don't exist, either sysutils/user is added as a dependency, or these are set to ${FALSE}, and the package admin is responsible for creating them himself prior to the installation of a package.
2001-11-15Remove superfluous definitions.agc1-4/+1
2001-10-30Add initial support for Darwin (1.4) to pkgsrc.agc1-0/+55