Commit graph

1936 commits

Author SHA1 Message Date
wiz
4281bb0656 Remove share/locale per PR 18649 by Lubomir Sedlacik. 2002-10-22 12:53:19 +00:00
seb
fc6bb7b338 Grep for 'Make' in ${GMAKE} --version output for recording its version.
Compare...

$ gmake --version
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i386--netbsdelf
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <bug-make@gnu.org>.

to...

$ gmake --version
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
2002-10-21 21:58:59 +00:00
jlam
4d0aee253b Move X11BASE setting for Solaris to a more appropriate place now that we
don't need to worry about USE_XPM.
2002-10-21 21:46:00 +00:00
wiz
555b0a21c7 Purge unused USE_XPM (use graphics/xpm/buildlink2.mk instead). 2002-10-21 13:58:14 +00:00
wiz
144d00183a Remove traces of now unused USE_XAW. 2002-10-21 01:40:56 +00:00
wiz
022dd28384 Remove (currently unused) USE_LTDL code -- use libtool/buildlink2.mk instead. 2002-10-21 01:23:03 +00:00
wiz
6b9d47990b USE_GLX has been obsoleted a long time ago -- remove it here too. 2002-10-21 01:18:55 +00:00
wiz
16407c1798 Remove USE_MESA -- now unused. 2002-10-21 01:17:11 +00:00
jlam
c2431016c7 Document RPM_DB_PREFIX:
# Used in the rpm package to note the prefix of the path to the RPM
# databases.  The RPM databases are stored in ${RPM_DB_PREFIX}/lib/rpm.
# Possible: any valid location, e.g. ${LOCALBASE}
# Default: /var/pkg
2002-10-20 23:12:50 +00:00
wiz
c56722e180 Use :Q to quote COMMENT. Proposed by Alan Barrett. 2002-10-20 22:19:22 +00:00
jlam
8d07e4003b SAMBA_WITH_MSDFS is no longer needed...samba always builds with MSDFS
support now.
2002-10-20 19:52:29 +00:00
jlam
980f9a3271 SETUID_ROOT_PERMS is a convenience definition to note an executable is
meant to be setuid-root, and should be used as follows:

	SPECIAL_PERMS+= /path/to/suidroot ${SETUID_ROOT_PERMS}
2002-10-20 18:01:47 +00:00
seb
7bb88e29b0 Gmake's configure does not support anymore --disable-nsec-timestamps.
So remove it and associated variable.
2002-10-20 16:45:04 +00:00
wiz
accb9cb69d Remove obsolete USE_FREETYPE2 support; all users have been converted to use
freetype2's buildlink2.mk.
2002-10-20 11:47:04 +00:00
jlam
8f33914f7c Generate the INSTALL/DEINSTALL scripts at post-build time, and use proper
make dependencies to ensure that the actual scripts are up-to-date if the
sources are changed.
2002-10-20 09:10:42 +00:00
jlam
9ee42664eb Generate the rc.d scripts at post-build time and use proper make
dependencies to deal with changes in the source rc.d script file (this is
possible now that some variables have moved to bsd.prefs.mk from
bsd.pkg.mk).
2002-10-20 04:11:39 +00:00
jlam
0905c3678b Move some variable definitions from bsd.pkg.mk to bsd.prefs.mk so that
they may be used in conditional statements in *.mk files before bsd.pkg.mk
is included.
2002-10-19 20:33:59 +00:00
minoura
0472a082cd 1. Strip out nb? suffix from EMACS_VERSION
2. New variable PKGNAME_PREFIX, which is either null string or xemacs-
depending on EMACS_FLAVOR.  Intended to use like:
DEPENDS+=	${PKGNAME_PREFIX}apel>=10.4:../../devel/apel
BUILD_DEPENDS+=	${PKGNAME_PREFIX}apel>=10.4:../../devel/apel
2002-10-19 06:48:03 +00:00
jlam
ad8e5c1fab Substitute for ${RCD_SCRIPTS_DIR} in MESSAGE files. 2002-10-19 01:33:51 +00:00
jlam
68e548cdf0 Make fake-la work on a.out machines. Fix based on patch in pkg/18694
by itohy@netbsd.org.
2002-10-18 15:41:08 +00:00
heinz
834e71adf4 Only delete scripts in RCD_SCRIPTS_DIR if PKG_RCD_SCRIPTS is YES
(approved by jlam).
2002-10-17 16:15:14 +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
itojun
0685a2304f fine tar in /bin, or /usr/bin 2002-10-16 23:42:00 +00:00
jlam
b57616f9a3 Knock off a TODO item: when generating the internal list of acceptable
JVMs from the package-provided PKG_JVM_ACCEPTED list, filter out those
JVMs that aren't available for the current platform.  This allows a
package to simply list all JVMs that may be used to build it in
PKG_JVM_ACCEPTED, regardless of platform issues, instead of having to
construct a different PKG_JVM_ACCEPTED based on the platform we are using.
2002-10-14 12:10:54 +00:00
jlam
70ec1b606e Back out previous...accidentally committed work-in-progress. 2002-10-14 11:48:04 +00:00
jlam
d7dfb4fdd1 Allow for a way to specify which JVMs are acceptable for each
platform, and use the intersection of these JVMs and the ones
listed in PKG_JVMS_ACCEPTED as the JVMS that may really be used.
Currently, we assume all of the JVMs are usable by all platforms.
2002-10-14 11:05:48 +00:00
jlam
c6eef55b94 Fix typo (missing leading underscore), and add a currently unreachable
section that errors out if there is no acceptable JVM found.
2002-10-14 07:25:04 +00:00
kim
d4f819ef7a Add support for enabling MSDFS in Samba. 2002-10-13 23:13:50 +00:00
jlam
94fedbecad Reorder EVAL_PREFIX, PKG_JAVA_HOME, and CLASSPATH sections so that
EVAL_PREFIX is evaluated at the correct time so that the variables it
defines are usable by the CLASSPATH code and the buildlink2 code.
2002-10-13 09:38:58 +00:00
jlam
00028d58c0 Initial cut at java.mk that completely replaces the USE_JAVA-handling code
in bsd.pkg.mk.  The java.mk Java handling is largely based on the
lang/python/pyversion.mk file.

There are two new variables:

	PKG_JVM_DEFAULT is a user-settable variable whose value is the
		default JVM to use.

	PKG_JVMS_ACCEPTED is a package-settable list of JVMs that may be
		used as possible dependencies for the package.

Two existing variables have been redefined to be only read-only, though
there is some logic to handle legacy /etc/mk.conf which may contain an
explicit PKG_JVM=...

	PKG_JVM is a publicly readable variable containing the name of
		the JVM we will be using.

	PKG_JAVA_HOME is a publicly readable variable containing
		${JAVA_HOME} for the PKG_JVM described above.

To do:

	Have some way to specify which JVMs are acceptable for each
	platform, and use the intersection of these JVMs and the ones
	listed in PKG_JVMS_ACCEPTED as the JVMS that may really be used.
	Currently, we assume all of the JVMs are usable by all platforms.

	I'm not sure if Darwin's special stub sun-{jre,jdk}13 packages
	are usable by buildlink2.  This needs to be verified.
2002-10-13 09:29:12 +00:00
jlam
94362c8d1d The JVM packages all now install such that "pkg_info -qp <jvm-pkg>" returns
JAVA_HOME for that package, so we don't need _JAVA_PREFIX anymore.
2002-10-13 08:01:27 +00:00
jlam
9b414a89c6 Create BUILDLINK_FILE_CMD.<pkg>, which is a shell pipeline that outputs to
stdout a list of files relative to ${BUILDLINK_PREFIX.<pkg>}.  The shell
variable $${pkg_prefix} may be used and is the subdirectory (ending in /)
of ${BUILDLINK_PREFIX.<pkg>} to which the PLIST is relative, e.g. if
`pkg_info -qp foo' returns "/usr/pkg/java/kaffe", then $${pkg_prefix} is
"java/kaffe/".
2002-10-13 07:13:42 +00:00
wiz
dd9c03590f Document some xlockmore options.
Patch from Lubomir Sedlacik in PR 18635.
2002-10-13 00:36:20 +00:00
bouyer
90ee03f829 Assign a default value to SPARC_TARGET_ARCH for the if MACHINE_ARCH == sun4
too.
2002-10-12 20:25:49 +00:00
agc
acd94fb634 On Solaris, MACHINE_ARCH on Suns can be sun4c or i86pc with
bootstrap-pkgsrc, so adjust accordingly.

Also indent a little better.
2002-10-12 17:17:22 +00:00
jschauma
038079f3df Remove NS_INST variable, obsoleted by last changes to www/netscape7 2002-10-11 20:52:00 +00:00
jlam
7a45d6d21f * Modify example buildlink2.mk: we now also want a variable called
BUILDLINK_PKGBASE.<pkg> that is the ${PKGBASE} for that package and can
  be used as "pkg_info ${BUILDLINK_PKGBASE.<pkg>}".  This variable is
  currently only used if the buildlink2.mk file uses
  BUILDILNK_PLIST_CMD.<pkg> (described below).

* Create readable variable BUILDLINK_PLIST_CMD.<pkg> that is a pipeline of
  shell commands that outputs to stdout a list of the files installed the
  <pkg>, relative to its installation prefix.
2002-10-09 23:17:54 +00:00
jlam
f274c4cf29 Rearrange _BUILDLINK_USE target code a bit to allow for BUILDLINK_FILES
to be a shell command, e.g.:

BUILDLINK_FILES=	`cd ${LOCALBASE}; ${LS} -1 lib/libfoo.*`
2002-10-09 22:10:04 +00:00
jlam
917d46efdf * Create variables BUILDLINK_CPPFLAGS and BUILDLINK_LDFLAGS that are
readable through CONFIGURE_ENV and MAKE_ENV.  These may be used to fix
  up packages that use imake to check the appropriate locations for headers
  and libraries.

* Don't be so aggressive in prepending _BLNK_{CPP,LD}FLAGS to
  {C,CPP,CXX,LD}FLAGS.  The buildlink2 wrapper scripts will automatically
  filter out bad -[IL] paths, even if their added inadvertantly by package
  Makefiles, so we can simply append them to the existing
  {C,CPP,CXX,LD}FLAGS.  We try to be smarter about appending them to avoid
  needless duplication.
2002-10-09 20:58:10 +00:00
jlam
8ee3d01d39 Allow BUILDLINK_ENV to override shell environment settings in
${CONFIGURE_ENV} and in ${MAKE_ENV} for the configure and build processes,
respectively.  This allows overriding the value of "CC" passed to the
build, e.g.:

	BUILDLINK_ENV+=	CC="/usr/pkg/pthread/bin/pgcc"
2002-10-09 10:24:34 +00:00
schmonz
99eaa93523 Following up on previous, EXPR=/bin/expr on Darwin. 2002-10-09 00:00:26 +00:00
jlam
37a58f77ff Note this this file is not for use by package Makefiles. 2002-10-08 14:32:10 +00:00
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