summaryrefslogtreecommitdiff
path: root/mk/defs.SunOS.mk
AgeCommit message (Collapse)AuthorFilesLines
2004-10-06Reorganize some of the files under pkgsrc/mk:jlam1-208/+0
(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.
2004-08-27Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,jlam1-2/+1
which are the full option names used to set rpath directives for the linker and the compiler, respectively. In places were we are invoking the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is inserted in case the flag is a word, e.g. -rpath. The default values of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the compiler that you use. They may be overridden on a ${OPSYS}-specific basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG, respectively. Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-07-03use built-in test(1) now that bsd.pkg.mk is ${TEST} -e free.grant1-2/+2
2004-06-18Remove Motif 1.2 functionality.kristerw1-2/+1
2004-05-31Use a cleaner approach for previous:jschauma1-1/+4
- set RSH on an opsys-specific basis, defaulting to /usr/bin/rsh (XXX: please confirm/verify this on your OS) - set SSH_RSHPATH to RSH in bsd.pkg.defaults.mk
2004-05-12Mention how SETGIDGAME and the other GAME vars are set per default.jschauma1-1/+12
Add commented-out definitions for all OPSYS - please adjust.
2004-04-19Add the 'maximum command line check' to all defs.*.mk files for consistencyjmmv1-1/+9
across all of them, but let it commented out until each responsible person for each system modifies it to work correctly. Requested by agc@.
2004-04-07Convert "${ECHO} -n" to "${ECHO_N}", and introduce that into the defs.*tv1-1/+2
files. On most platforms this resolves back to "${ECHO} -n".
2004-03-27don't assume that /usr/bin/gunzip will exist, use /usr/bin/gzip -dgrant1-2/+2
instead.
2004-03-11Get rid of all occurrences of cpp-like tests for ${OPSYS} inagc1-1/+2
bsd.pkg.mk, and use the abstracted means of determining generic shared lib type per operating system.
2004-02-14deprecate Zoularis: remove any tests for ZOULARIS* and bomb ifgrant1-15/+5
${LOCALBASE}/bsd/share/mk/zoularis.mk exists.
2004-02-14fall back to /usr/xpg4/bin/sed if nbsed isn't found, and bomb with agrant1-1/+23
helpful error suggesting the user install textproc/nbsed. idea from gavan.
2004-01-27Replace all occurrences of the "MAIL" definition with MAIL_CMD, sinceagc1-2/+2
some shells can set MAIL to be the mailbox of the user, and environment variables will override assignments in make when using conditional assignments.
2004-01-15Use nbsed on Solaris, as xpg4 sed is no longer good enoughgavan1-2/+2
2004-01-10Solaris' pax(1) has been insufficient for pkgsrc for a long time. nukegrant1-5/+1
any chance of using it.
2004-01-08use gzip -cd instead of gzcat(1), which doesn't always exist.grant1-2/+2
2003-12-16Introduce command MAIL. It will be used to send messages like this:heinz1-1/+2
echo "message" | ${MAIL} -s"subject" add@ress.example
2003-12-16Allow _PATCH_BACKUP_ARG to be overridden in /etc/mk.conf (in order to use ↵heinz1-2/+2
different patch programs). Ok by agc
2003-10-19more whitespace fixesgrant1-3/+3
2003-10-11add a BUILD_DEPENDS on devel/patch if no suitable patch(1) isgrant1-6/+4
available. fixes my PR pkg/18380, with hints from jschauma.
2003-10-11don't hardcode the -DHasGcc2... flags to imake, pass them only ifgrant1-2/+2
we're actually using gcc on Solaris. fixes building of imake PIC code when the compiler is not gcc.
2003-09-24back out revision 1.67, as it does not work as it should due to thegrant1-19/+1
way the buildlink2 wrappers are implemented.
2003-09-23add a TAR definition for a suitable tar implementation, notgrant1-1/+2
necessarily GNU tar. XXX GTAR should probably always point to real GNU tar later.
2003-09-21override AS, AR, CPP and LD unless they are set to absolute path.grant1-1/+19
avoids relying on having /usr/ccs/{bin,lib} in $PATH.
2003-09-14-lpthread is a no-op on Darwin, but it messes up buildlink. So add a newdanw1-1/+2
flag _OPSYS_PTHREAD_AUTO ("yes" for Darwin, "no" for everyone else) and make pthread.buildlink2.mk do basically nothing in that case.
2003-09-02Merge pkgviews-mk branch into the HEAD by running:jlam1-2/+1
cd pkgsrc/mk cvs update -Pd -A cvs update -Pd -j pkgviews-mk-base -j pkgviews-mk
2003-08-26Create a symlink from the "make" requested by the package intojlam1-2/+1
${TOOLS_DIR}/bin/make. If a package wants GNU make, then it should set: USE_GNU_TOOLS+= make in the package Makefile. Allow for USE_GMAKE to continue to work until we get a chance to sweep through pkgsrc and remove the usage of this now-redundant variable. This change allows us to avoid patching makefiles that use a bare "make" command to invoke sub-make processes. Idea suggested by salo@netbsd.org in pkg/22509.
2003-08-21Fixes PR pkg/22528gavan1-2/+2
2003-07-11use /usr/xpg4/bin/exprgrant1-2/+2
2003-04-17allow defs.*.mk to override PKGTOOLS_REQD, starting with Solarisgrant1-1/+2
requiring 20030417 for recent bug fixes. if platforms require (or desire) a newer version of pkg_install than 20021123 (the current default) for correct operation, please set _OPSYS_PKGTOOLS_REQD in defs.OPSYS.mk.
2003-04-15add OPSYS_{,NO_}WHOLE_ARCHIVE_FLAG which defines the argument passedgrant1-1/+7
to the linker to (not) extract all symbols from static archives and export these variables to packages as {,NO_}WHOLE_ARCHIVE_FLAG. these are not currently set for IRIX.
2003-04-10set correct values for IMAKE_MAN_SUFFIX.grant1-3/+3
2003-03-29m4 on solaris is /usr/ccs/bin/m4 or /usr/xpg4/bin/m4.seb1-2/+2
set M4 to /usr/ccs/bin/m4 for starter.
2003-03-04Move M4 default definition into the defs.$OPSYS.mk files: unconditionallyseb1-1/+2
set it to /usr/bin/m4 for everyone, at least for now.
2003-02-28Add definitions for HOSTNAME_CMD, so that just-in-time-su doesn't failjschauma1-1/+2
on Irix. Noted and suggested by Pavel Cahyna in a private email.
2003-02-27SunOS stores manual pages in "share/man" not in "man".tron1-3/+2
2003-02-26Add defaults for IMAKE_MAN_DIR and friends.jschauma1-1/+12
Until we determine better values, use NetBSD defaults: currently, package _not_ using IMAKE_* install there anyway, so if packages work this way, all's well. If not, then they were broken to begin with and need attention.
2003-02-26prefer PREFIX/bin/gzip (and friends) and pax, if they exist.grant1-7/+10
2003-01-15Make BUILD_DIR always point to a physical path by invoking /bin/pwd insteadjlam1-1/+2
of relying on the shell's builtin pwd. This makes BUILD_DIR consistently point to the correct directory regardless of the definition of SHELL. This fixes elusive some buildlink2 errors due to the fact that BUILDLINK_DIR is derived from BUILD_DIR and some paths were incorrectly being translated.
2003-01-10Install a ${PREFIX}/bin/shlibtool as part of the devel/libtool-basejlam1-2/+1
package. shlibtool will not build static libraries. Add handling in bsd.pkg.mk for a variable named "SHLIBTOOL_OVERRIDE" that is analogous to LIBTOOL_OVERRIDE and causes any listed libtool scripts to be replaced with a symlink to shlibtool, and teach buildlink2 about shlibtool. Bump PKGREVISION of devel/libtool* packages to 11.
2003-01-06use ${LOCALBASE}/{g,}patch (in that order) if gpatch is not ingrant1-1/+3
the base system.
2002-12-22.elseif -> .elif. Thanks to grant for pointing this out.salo1-2/+2
2002-12-22When pkg_install is installed over zoularis, new tools reside insalo1-1/+3
${ZOULARISBASE/sbin so look there as well. Otherwise old tools are used (or new tools are not found if old tools were removed).
2002-12-18Introduce _OPSYS_HAS_INET6, and use it to determine the defaultschmonz1-1/+6
value of USE_INET6.
2002-12-16Add TEE and TSORT (required for bulk builds).salo1-1/+3
2002-12-15Add DATE and NICE (required for bulk builds).salo1-1/+3
2002-12-15Add FGREP.salo1-1/+2
2002-12-09use /usr/xpg4/bin/grep as GREP, as /usr/bin/grep does not support -e.grant1-2/+2
2002-12-09Solaris has /usr/include/iconv.h, but it's not GNU iconv. Mark itgrant1-1/+5
incompatible. Fixes buildlink2 problems with converters/libiconv, which assumed that iconv was in the base system (on Solaris) due to the existance of /usr/include/iconv.h.
2002-12-03Eliminate another usage of ${OPSYS} in bsd.pkg.mk - realy on Darwinagc1-1/+2
defining _OPSYS_PERL_REQD to the correct value to make sure there's a valid perl version for that platform.