Commit graph

78 commits

Author SHA1 Message Date
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
agc
642c8c8176 Use a more generic way of determining, on an opsys-dependent basis,
whether the gettext package should be used.
2002-12-03 19:17:33 +00:00
agc
7dc9a2b816 Handle the different rpath directive to the linker for Irix in a different,
more generic, way - use an abstraction called ${_OPSYS_RPATH_NAME} which
takes the value "-rpath," or "-R", set appropriately in the opsys-dependent
defs files.
2002-12-03 19:11:30 +00:00
agc
46e9326213 Abstract out the base value of libtool required into _OPSYS_LIBTOOL_REQD,
and use that rather than a hardcoded ${OPSYS} default in bsd.pkg.mk
2002-12-03 18:57:52 +00:00
salo
8fe1ab8d3a Make gcc default compiler for packages using imake on Solaris.
Addresses PR pkg/18077 and PR pkg/18430 and possibly others.
2002-11-23 00:00:36 +00:00
jlam
62a470a755 Remove HAVE_OPENWINDOWS. Packages that wonder whether X11 is OpenWindows
can just test whether X11BASE is /usr/openwin (see x11.buildlink2.mk).
2002-11-14 10:08:01 +00:00
bouyer
d522c87431 Use ${LOCALBASE}/bin/gtar if it exists. 2002-10-27 18:27:11 +00:00
wiz
b56fb57bf8 Remove USE_LIBINTL and _DO_LIBINTL_CHECKS, which have been replaced
by devel/gettext-lib/buildlink2.mk.
2002-10-23 12:21:29 +00:00
grant
bc0094b054 Use mtree and pkg_* from bootstrap-pkgsrc if they exist.
ok'd by agc.
2002-10-17 14:39:18 +00:00
seb
31d37f8832 Full pathname for expr command. 2002-10-06 22:16:41 +00:00
jlam
3b536452b9 Add definitions for EXPR == expr, used for portable shell arithmetic. I
was only able to check the paths for NetBSD and Linux...Solaris and Darwin
pkgsrc developers should change the path to expr in the right defs.*.mk
file.
2002-10-04 23:32:17 +00:00