Commit graph

1894 commits

Author SHA1 Message Date
jlam
267d5b11dd Unused. 2002-10-08 13:46:08 +00:00
jlam
6466fc055c Unused. 2002-10-08 13:39:00 +00:00
jlam
950843c223 Unused. 2002-10-08 12:55:49 +00:00
jlam
6502fab273 Recognize ${FIND} and ${XARGS}. 2002-10-08 11:32:34 +00:00
jlam
e098523a14 Substitute for ${FIND} and ${XARGS}. 2002-10-08 11:31:24 +00:00
jlam
71a2b3fa8b Recognize ROOT_USER and ROOT_GROUP in MESSAGE files. 2002-10-08 11:01:50 +00:00
jlam
d0fb8d064a Unused! Remove it to prevent new packages from using it instead of using
buildlink2.
2002-10-08 08:00:56 +00:00
jlam
0bff1e81cd Fix error messages to display if the compiler tools aren't in the PATH when
creating the buildlink2 wrapper scripts.  Based on patch in pkg/18425 by
grant@netbsd.org.
2002-10-08 01:06:33 +00:00
wiz
e5ebd8f39a Move BUILD_USES_GETTEXT_M4 logic to automake.mk. 2002-10-07 21:47:49 +00:00
jschauma
58933cb993 Document (commented) SAWFISH_THEMES variable, specifying the DISTFILES for
wm/sawfish-themes (default: about 180 themes available on themes.freshmeat.net)
2002-10-07 17:09:11 +00:00
hubertf
c378823256 Add switch GIMP_WITH_HELPBROWSER to build gimp with help browser.
Disables to "no", which results in no gnome-libs being needed.

Patch contributed by Stefan Krüger <skrueger@europe.com> in private mail,
with some changes from me.
2002-10-07 14:54:42 +00:00
seb
31d37f8832 Full pathname for expr command. 2002-10-06 22:16:41 +00:00
dmcmahill
b89364002b fix typo in comment and an error in the usage output (position of
bar and libbar were swapped).
2002-10-06 20:15:05 +00:00
wiz
8cfd589740 Mention buildlink2.txt. Closes PR 18542 by Greg Woods. 2002-10-05 22:06:32 +00:00
jlam
561ca1b8b7 Add new bsd.pkg.install.mk tunable variable: SPECIAL_PERMS.
SPECIAL_PERMS are lists that look like:
		file user group mode
	At post-install time, file (it may be a directory) is changed to be
	owned by user:group with mode permissions.

SPECIAL_PERMS should be used primarily to change permissions of files or
directories listed in the PLIST.  This may be used to make certain files
set-uid or to change the ownership or a directory.

Packages that install setuid executables should list them in SPECIAL_PERMS
so that the correct user and group will be used for file ownership, even
if the uid/gid changes between the package creation and the package
installation.
2002-10-04 23:46:26 +00:00
jlam
d940548856 Instead of the incredibly dense _print_* stuff, use a (hopefully) more
readable way of print messages.
2002-10-04 23:35:51 +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
jlam
36647028eb Don't use JAVA_HOME as the user may have it incorrectly set in the
environment.  Instead, create a new variable PKG_JAVA_HOME, which is
passed to the configure and build processes via:

	JAVA_HOME=${PKG_JAVA_HOME}

to override any environment setting for JAVA_HOME.  This should fix
pkg/17989.
2002-10-04 11:19:26 +00:00
jlam
7b96c8d97c Add USE_OSS to BUILD_DEFS if it's defined. 2002-10-03 20:31:14 +00:00
jlam
ab22ba864a Created a new variable USE_OSS that is used to enable OSS audio support in
preference to or in place of Sun audio support in various packages.  People
using audio/oss should set USE_OSS in their /etc/mk.conf when building
packages.
2002-10-03 20:30:21 +00:00
jlam
b8684da367 Rename "OSS" variable to "HAVE_OSS". 2002-10-03 20:24:33 +00:00
wiz
a741933477 Sync with new autoconf213, automake14 packages and autoconf, automake updates. 2002-10-03 19:36:36 +00:00
jwise
80a79f514d Back out previous -- needs more thought. 2002-10-03 18:20:46 +00:00
jwise
4b31d5108f Fix a long-standing problem with dependencies for java packages, introduced
when support for BUILD_DEPEND-only java packages was introduced -- this problem
was preventing java from being registered as a dependency for a number of java-based
packages.
2002-10-03 16:07:27 +00:00
jlam
67255d948b Invent a new publicly readable variable OSS that is YES/NO for whether
audio/oss is installed.  Also add an example in the comments at the top
of the file that shows how to use the OSS variable.
2002-10-03 08:58:05 +00:00
jlam
3278f50981 Create "DEVOSSSOUND" which is used where we'd like for programs that use
the ossaudio emulation to use /dev/sound instead of /dev/audio.  For OSS,
DEVOSSSOUND == DEVOSSAUDIO == /dev/dsp.
2002-10-03 08:04:28 +00:00
jlam
bd6ecd6552 Recognize when 4Front OSS is installed on a NetBSD system and use real
OSS instead of the ossaudio OSS emulation library when building software.
2002-10-03 02:56:32 +00:00
dillo
cfe021d515 add AUTORECONF variable 2002-10-02 18:56:47 +00:00
dillo
5e15133d7d add makefile fragments for packages that need automake / autoconf to build. 2002-10-02 18:10:15 +00:00
jschauma
dd7020be6e Document NS_INST variable, determining if netscape7 uses the complete or
the recommended (default) install, as pointed out by wiz.
2002-10-01 13:35:12 +00:00
jlam
46dcc3cf14 Really, really fix the problem I was trying to fix with rev 1.6. I want
to only add -Ldir/.libs for *.la files that are not named with absolute
paths or named with an absolute path starting with ${WRKSRC}.  This should
fix the problem with converting kdebase3 to buildlink2.
2002-10-01 09:51:22 +00:00
jschauma
d2dd18dbfa Add PKG_LANG variable, defaulting to english.
Currently only used by www/netscape7 but this can potentially be used by
many packages to help localize the installation.  Ok'd by wiz.
2002-09-30 13:55:54 +00:00
rh
5b9570bb28 Correctly fetch ALLFILES containing '=' characters 2002-09-29 01:38:32 +00:00
jlam
3f254d2f51 * Split _BLNK_TRANSFORM_SED into 4 variables, as even with 3 it was
overflowing the make variable size limit.

* Rename _BLNK_WRAP_ENV to _BLNK_WRAP_SETENV, and use _BLNK_WRAP_ENV to
  set the shell environment for the wrappee.  Allow BUILDLINK_WRAPPER_ENV
  to add to the shell environment.
2002-09-28 23:46:42 +00:00
uebayasi
561b979f39 Nuke a bogus invocation of 'pkg_info -I' and use 'pkg_info -e' instead.
Simplify the '!=' lines.

Pointed out by wiz (a.k.a. wizd(8)).
2002-09-28 14:19:51 +00:00
rh
8c9edc8e2e Make machine/soundcard.h an alias for sys/soundcard.h if non-existent 2002-09-27 15:17:18 +00:00
jlam
73b1e2ab06 Provide a way for buildlink2.mk files to convert a build dependency to
a full dependency.  BUILDLINK_DEPMETHOD.<pkg> is now a space-separated
list of the words "full" and/or "build", and if any of them is "full",
then a full dependency on <pkg> is used.  buildlink2.mk files may now do:

	BUILDLINK_DEPMETHOD.<pkg>+=	full

to convert from a build to a full dependency.

Previously, if a package Makefile set BUILDLINK_DEPMETHOD.<pkg>=build,
there was no way to override its value consistently.
2002-09-27 12:21:41 +00:00
rh
0cbef82639 Add MASTER_SITE_GNUSTEP 2002-09-27 10:36:53 +00:00
wiz
35129dfeba Add share/locale/is. 2002-09-27 09:51:48 +00:00
jlam
84cb9a37e9 Create a new variable USE_X11_LINKS that controls whether packages that
use buildlink2 and set USE_X11 will use x11-links, or if they will simply
symlink the X11 files directly into ${BUILDLINK_DIR}.  If USE_X11_LINKS is
"YES" (the default), then x11-links is used.  If USE_X11_LINKS is "NO",
then the X11 files are symlinked directly.

There is a choice here between speed and flexibility.  Using x11-links is
faster since you don't need to spend time symlinking all of the X11 files
into ${BUILDLINK_DIR}.  However, if you update your X11 installation, then
the x11-links package will likely be out-of-date.  Conversely, directly
symlinking the X11 files will protect you from changes in your X11
installation when you update, but there is a (small) time penalty to have
to do it for every package that uses X11.
2002-09-27 09:22:58 +00:00
jlam
57ede4f404 Change /usr/lib/*.la to ${BUILDLINK_DIR}/lib/*.la in libtool archives when
buildlinking them into ${BUILDLINK_DIR}.  This should allow cases where a
/usr/lib/libintl.la escaped into an installed libtool archive (during the
time when buildlink2 was broken for about 4 days) to be handled properly.
2002-09-27 00:22:06 +00:00
jlam
55ef787302 When PKG_DEBUG_LEVEL=2, set_PKG_DEBUG_SCRIPT is set to "${SH} -x". Use
_PKG_DEBUG_SCRIPT when running the INSTALL/DEINSTALL scripts so that they
may be easier to debug.
2002-09-26 21:04:11 +00:00
jlam
f9a095a3ea Create DEVOSSAUDIO, for the default OSS audio device. 2002-09-26 12:31:08 +00:00
jlam
3a00d7c948 Don't make ${RCD_SCRIPTS_EXAMPLEDIR} unless it doesn't exist, and if we
do make it, make it with the same permissions as outlined in the *.pkg.dist
files.
2002-09-26 09:59:09 +00:00
abs
5dcd7e65d1 At least jakarta-tomcat requires the same ${_ULIMIT_CMD} on do-install as
on do-build
2002-09-26 09:57:50 +00:00
jlam
021f618f90 USE_MOTIF is unused. 2002-09-25 06:31:00 +00:00
jlam
5983233cd7 Don't create the fake libtool archives unless USE_LIBTOOL is defined. This
fixes building gmake without libtool installed.
2002-09-24 22:16:42 +00:00
jlam
4a7c8310c5 Move pkgtools-related definitions into bsd.prefs.mk so that they may be
used by buildink2.mk files.
2002-09-24 21:54:49 +00:00
wiz
6c40f123f7 Some whitespace cleanup. 2002-09-24 13:59:20 +00:00
wiz
a9007ebbe1 Fix gnome path on ftp.tuwien.ac.at. 2002-09-24 13:01:02 +00:00