Commit graph

88 commits

Author SHA1 Message Date
grant
cb70f6baab use built-in test(1) now that bsd.pkg.mk is ${TEST} -e free. 2004-07-03 22:04:57 +00:00
kristerw
94d68468ae Remove Motif 1.2 functionality. 2004-06-18 11:22:41 +00:00
jschauma
4f098b48ff Use a cleaner approach for previous:
- 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-31 16:47:00 +00:00
jschauma
e967e4dc7d Mention how SETGIDGAME and the other GAME vars are set per default.
Add commented-out definitions for all OPSYS - please adjust.
2004-05-12 14:10:18 +00:00
jmmv
316296c980 Add the 'maximum command line check' to all defs.*.mk files for consistency
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-19 20:19:46 +00:00
tv
61606d9102 Convert "${ECHO} -n" to "${ECHO_N}", and introduce that into the defs.*
files.  On most platforms this resolves back to "${ECHO} -n".
2004-04-07 14:26:50 +00:00
grant
cc53c502cf don't assume that /usr/bin/gunzip will exist, use /usr/bin/gzip -d
instead.
2004-03-27 08:04:48 +00:00
agc
530d286b24 Get rid of all occurrences of cpp-like tests for ${OPSYS} in
bsd.pkg.mk, and use the abstracted means of determining generic shared
lib type per operating system.
2004-03-11 22:57:22 +00:00
grant
54133ebbb0 deprecate Zoularis: remove any tests for ZOULARIS* and bomb if
${LOCALBASE}/bsd/share/mk/zoularis.mk exists.
2004-02-14 03:26:09 +00:00
grant
d8f8b79927 fall back to /usr/xpg4/bin/sed if nbsed isn't found, and bomb with a
helpful error suggesting the user install textproc/nbsed.

idea from gavan.
2004-02-14 00:11:30 +00:00
agc
c156ab5d49 Replace all occurrences of the "MAIL" definition with MAIL_CMD, since
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-27 16:11:47 +00:00
gavan
fe82af73b0 Use nbsed on Solaris, as xpg4 sed is no longer good enough 2004-01-15 19:00:22 +00:00
grant
5cf9144021 Solaris' pax(1) has been insufficient for pkgsrc for a long time. nuke
any chance of using it.
2004-01-10 07:31:07 +00:00
grant
157c4d3530 use gzip -cd instead of gzcat(1), which doesn't always exist. 2004-01-08 14:53:06 +00:00
heinz
e33964c819 Introduce command MAIL. It will be used to send messages like this:
echo "message" | ${MAIL} -s"subject" add@ress.example
2003-12-16 23:07:42 +00:00
heinz
640b53c8dd Allow _PATCH_BACKUP_ARG to be overridden in /etc/mk.conf (in order to use different patch programs). Ok by agc 2003-12-16 22:54:13 +00:00
grant
491de176a8 more whitespace fixes 2003-10-19 07:38:31 +00:00
grant
bd1a3a58f0 add a BUILD_DEPENDS on devel/patch if no suitable patch(1) is
available.

fixes my PR pkg/18380, with hints from jschauma.
2003-10-11 05:09:39 +00:00
grant
beb87586be don't hardcode the -DHasGcc2... flags to imake, pass them only if
we're actually using gcc on Solaris.

fixes building of imake PIC code when the compiler is not gcc.
2003-10-11 02:44:17 +00:00
grant
3351b952f0 back out revision 1.67, as it does not work as it should due to the
way the buildlink2 wrappers are implemented.
2003-09-24 07:40:03 +00:00
grant
9b40299c51 add a TAR definition for a suitable tar implementation, not
necessarily GNU tar.

XXX GTAR should probably always point to real GNU tar later.
2003-09-23 07:26:22 +00:00
grant
cda35250fb override AS, AR, CPP and LD unless they are set to absolute path.
avoids relying on having /usr/ccs/{bin,lib} in $PATH.
2003-09-21 14:50:29 +00:00
danw
7fa2565590 -lpthread is a no-op on Darwin, but it messes up buildlink. So add a new
flag _OPSYS_PTHREAD_AUTO ("yes" for Darwin, "no" for everyone else) and
make pthread.buildlink2.mk do basically nothing in that case.
2003-09-14 16:30:34 +00:00
jlam
841b57441b Merge pkgviews-mk branch into the HEAD by running:
cd pkgsrc/mk
	cvs update -Pd -A
	cvs update -Pd -j pkgviews-mk-base -j pkgviews-mk
2003-09-02 06:59:37 +00:00
jlam
9fbdc941fe Create a symlink from the "make" requested by the package into
${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-26 20:15:23 +00:00
gavan
4de3840eec Fixes PR pkg/22528 2003-08-21 11:59:22 +00:00
grant
102641b4be use /usr/xpg4/bin/expr 2003-07-11 14:33:45 +00:00
grant
6c5f6bb6c3 allow defs.*.mk to override PKGTOOLS_REQD, starting with Solaris
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-17 15:33:26 +00:00
grant
3f620389b6 add OPSYS_{,NO_}WHOLE_ARCHIVE_FLAG which defines the argument passed
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-15 05:29:45 +00:00
grant
bbb8f396a8 set correct values for IMAKE_MAN_SUFFIX. 2003-04-10 01:39:52 +00:00
seb
f3bbd5629b m4 on solaris is /usr/ccs/bin/m4 or /usr/xpg4/bin/m4.
set M4 to /usr/ccs/bin/m4 for starter.
2003-03-29 20:49:11 +00:00
seb
89dce5e7f1 Move M4 default definition into the defs.$OPSYS.mk files: unconditionally
set it to /usr/bin/m4 for everyone, at least for now.
2003-03-04 14:50:09 +00:00
jschauma
5f58e72933 Add definitions for HOSTNAME_CMD, so that just-in-time-su doesn't fail
on Irix.  Noted and suggested by Pavel Cahyna in a private email.
2003-02-28 03:41:39 +00:00
tron
7b18e1d951 SunOS stores manual pages in "share/man" not in "man". 2003-02-27 08:15:53 +00:00
jschauma
660899fee5 Add defaults for IMAKE_MAN_DIR and friends.
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-26 15:15:37 +00:00
grant
019a559042 prefer PREFIX/bin/gzip (and friends) and pax, if they exist. 2003-02-26 03:03:47 +00:00
jlam
63029a767b Make BUILD_DIR always point to a physical path by invoking /bin/pwd instead
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-15 20:55:38 +00:00
jlam
1abdd450fe Install a ${PREFIX}/bin/shlibtool as part of the devel/libtool-base
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-10 08:44:18 +00:00
grant
01eae24936 use ${LOCALBASE}/{g,}patch (in that order) if gpatch is not in
the base system.
2003-01-06 22:29:23 +00:00
salo
ae087ffe0d .elseif -> .elif. Thanks to grant for pointing this out. 2002-12-22 10:09:46 +00:00
salo
dbe1dbb68d When pkg_install is installed over zoularis, new tools reside in
${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-22 09:30:03 +00:00
schmonz
e1c77ef496 Introduce _OPSYS_HAS_INET6, and use it to determine the default
value of USE_INET6.
2002-12-18 06:18:14 +00:00
salo
4e528fa8a9 Add TEE and TSORT (required for bulk builds). 2002-12-16 09:18:56 +00:00
salo
1449f89b48 Add DATE and NICE (required for bulk builds). 2002-12-15 13:03:02 +00:00
salo
4ff76ecb85 Add FGREP. 2002-12-15 02:12:32 +00:00
grant
5b32eafd0e use /usr/xpg4/bin/grep as GREP, as /usr/bin/grep does not support -e. 2002-12-09 05:38:57 +00:00
grant
1fb16f97a6 Solaris has /usr/include/iconv.h, but it's not GNU iconv. Mark it
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-09 01:22:07 +00:00
agc
3c7775dbdd Eliminate another usage of ${OPSYS} in bsd.pkg.mk - realy on Darwin
defining _OPSYS_PERL_REQD to the correct value to make sure there's
a valid perl version for that platform.
2002-12-03 21:13:37 +00:00
agc
c4b7d25c61 Add a layer of abstraction into bsd.pkg.mk for Java settings - set the
path to the java home directory depending upon whether the operating
system includes Java by default. Use the operating system-dependent
definitions files to set this value.
2002-12-03 20:53:39 +00:00
agc
1418b13a80 Use ${_PATCH_CAN_BACKUP} rather than hardcoding an OPSYS value into
the logic for doing backups when applying patches, and set the value
accordingly in the opsys-dependent defs file.
2002-12-03 19:24:26 +00:00