Commit graph

35 commits

Author SHA1 Message Date
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
tv
15fa28b6da Do the same USE_USERADD/USE_GROUPADD fix as done for Interix: use the
construct "DEPENDS+=${USE_USERADD:D${_USER_DEPENDS}}" to ensure that the
conditional is not expanded until after USE_*ADD is actually defined.
2004-04-27 13:43:05 +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
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
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
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
itojun
dc88db30ec PATCH_BACKUP_ARG for pre-3.4 (-b <suffix>) 2003-09-24 06:26:21 +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
itojun
c264af36d0 patch -b <suffix> is obsoleted, use -z <suffix> 2003-09-17 05:28:31 +00:00
itojun
3886f340f1 backout previous 2003-09-16 03:10:32 +00:00
itojun
f443a5cda6 OpenBSD ships with perl in /usr/bin/perl 2003-09-16 01:47:47 +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
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
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
jschauma
cfa6436dde When using imake, add a bunch of variables to the PLIST_SUBST list, in
order to simplify man-page handling across platforms:
If your application installs man pages on NetBSD into
man/cat1/foo.0
but in
man/man1/foo.1x
on Linux, simply use
${IMAKE_MAN_DIR}/foo.${IMAKE_MANNEWSUFFIX}

Definitions for Darwin provided by grant, others from
/usr/X11R6/lib/X11/config/*

This allows us to put away with having multiple PLISTs just for the different
man page locations.

PKGREVISION bumps of `grep -l USE_IMAKE pkgsrc/*/*/Makefile` coming up after
revision and adjusting.
2003-02-24 19:49: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
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
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
cjep
9bb6adc2f6 defs file for OpenBSD. 2002-11-30 14:40:55 +00:00