Commit graph

1709 commits

Author SHA1 Message Date
jlam
e2001908fc Change the semantics of the USE_JAVA variable. USE_JAVA may now take an
optional value of "build" to represent that the package needs a JDK for a
build dependency in addition to the usual run dependency on a JVM.
2002-07-29 21:45:22 +00:00
schmonz
67b37a3bac Now that multiple JDKs can be installed, provide a working default
JAVA_HOME for the given PKG_JVM.

Include tools.jar on the CLASSPATH if it exists.

From discussion with jlam. Approved by jwise.
2002-07-29 20:54:28 +00:00
grant
6bd5203ec2 add OBJOSMACHINE, to use OS version and arch specific work
directories, eg.

  work.NetBSD-1.5-i386
  work.SunOS-5.7-sparc
2002-07-29 07:25:38 +00:00
schmonz
5fe116a826 Inform USE_JAVA about the new JDK/JRE naming scheme, so that packages
that USE_JAVA can work.
2002-07-28 12:51:07 +00:00
cjep
97ab191e21 Add share/nls/{et_EE.ISO_8859-15,ru_RU.KOI8-R,uk_UA.KOI8-U} which seem to
be required for tcsh-6.12
2002-07-25 07:09:47 +00:00
jlam
e38613966f Create a new variable "RCD_SCRIPTS_EXAMPLEDIR" that contains the location
of the example rc.d scripts for a package.  This defaults to
${PREFIX}/etc/rc.d, but may be reset for those odd packages, e.g. qmail,
that set LOCALBASE=/.
2002-07-24 20:30:06 +00:00
jlam
aaade83d33 * Change the semantics of the USE_PERL5 variable. USE_PERL5 may now take
an optional value of "build" to represent that the package only wants a
  build dependency on perl.

* Add a new public variable "PERL5_PKGSRCDIR" that is either
  "../../lang/perl58" or "../../lang/perl5" depending on whether we need
  perl>=5.8.0 or not.
2002-07-24 19:42:21 +00:00
mrauch
cb20bdff4f Add a missing semicolon in the INTERACTIVE_STAGE=fetch bulk build logic. 2002-07-24 17:44:16 +00:00
kim
c5575cb68f Add share/nls/pl_PL.ISO_8859-2 2002-07-24 17:40:33 +00:00
hubertf
a346fa0977 print-PLIST: only substitute PKGVERSION when it really matches, i.e.
excape the "." ("1.2" -> "1\.2" etc.; hit in fonts/intlfonts)
2002-07-24 00:54:23 +00:00
cjep
bb81429b52 Add a variable SU_CMD_PATH_APPEND containing a colon separated list of
directories. When ${SU_CMD} is used, we add this list to the end of the
PATH environment variable.

This fixes PR#17532 from Hauke Fath.
2002-07-23 19:10:27 +00:00
jlam
80743a4834 Adapt to using perl-5.8.0. Perl 5.8.0 removes the need for libperl as
DynaLoader.a is now an archive of PIC objects.
2002-07-22 22:00:49 +00:00
cjep
b76f2a5cb5 Documentation nit: SU_CMD does not default to ${SU} root -c. 2002-07-22 17:20:06 +00:00
martti
ab5c216427 Added POSTFIX_USE_TLS=YES 2002-07-22 11:51:35 +00:00
jschauma
4130032ed4 TYpoe: 'stoping' -> 'stopping' 2002-07-22 02:33:55 +00:00
mrauch
740ad47954 Make bulk builds aware of packages with INTERACTIVE_STAGE and mark them as
"not packaged" instead of "broken".
2002-07-21 11:53:18 +00:00
jschauma
d6f2059e22 On -current, let PKG_JVM default to the same as on 1.6.
I should have done this when I added sun's jdk 1.4 originally,
but did not account for version names like 1.6[A-Z].
2002-07-20 17:01:09 +00:00
tron
6184c63b15 Add optional netboot support to "grub" package as suggested by
Julio Merino in PR pkg/17354.
2002-07-20 12:42:35 +00:00
agc
358a65874e Correct two indentation nits 2002-07-18 10:21:18 +00:00
schmonz
93b7dc1afc Add RCS Id. 2002-07-16 15:13:51 +00:00
schmonz
f23c05c5e3 Add two knobs for packages: CONFIG_GUESS_OVERRIDE and CONFIG_SUB_OVERRIDE.
Example:

    CONFIG_GUESS_OVERRIDE=  ${WRKSRC}/config.guess
    CONFIG_SUB_OVERRIDE=    ${WRKSRC}/config.sub

Just before the bulk of the "configure" phase, the named files will be
replaced with symlinks to their canonical pkgsrc versions in
pkgsrc/mk/gnu-config.
2002-07-16 15:02:01 +00:00
schmonz
79665559c2 "Import" the latest config.guess and config.sub from
${MASTER_SITE_GNU:=config/} :

GNU config.guess (2002-07-09)
GNU config.sub (2002-07-03)
2002-07-16 14:50:39 +00:00
schmonz
a9600197ee Provide per-${OPSYS} defaults for how to run a command as root.
Darwin ships with a disabled root account and a working "sudo".
2002-07-15 16:24:01 +00:00
rh
0c128e2a86 Add missing LN to PLIST_SUBST 2002-07-13 23:27:54 +00:00
wiz
e2aeb1a23e Add some more locale dirs. 2002-07-12 16:57:40 +00:00
wiz
1f3da5448f Add ar, lv, ms, and vi locale dirs (needed by some GNOME2 packages). 2002-07-12 15:54:36 +00:00
grant
cc60a7b9d4 on Solaris, depend on gzip-base if GZCAT is not set, and neither
/usr/bin/gzcat nor ${LOCALBASE}/bin/gzip exist.

required for Solaris systems which do not include gzcat in the base
system.

sanity checked by Stoned Elipot <seb@netbsd.org>.
2002-07-11 15:52:35 +00:00
agc
904ea3366f In the do-fetch target, break out the check for distfiles if we're in
batch mode, into a separate target.

Call that target if we're in batch mode.

Modify the check for distfiles code to do a loop for all the
distfiles, and only print the message once at the end if the files
aren't present, and BATCH is defined.

Only check for distfiles' explicit presence if BATCH is defined.
2002-07-03 16:30:18 +00:00
cjep
9fe6747789 For interactive configure, say "Please configure manually...". 2002-07-03 06:58:31 +00:00
wiz
0c3f94f20f Deprecate USE_SSL. 2002-07-02 15:25:49 +00:00
wiz
66332a11fc Reduce chances that distinfo ends up with a bogus RCS Id or none at all. 2002-07-02 13:31:40 +00:00
agc
769153c5c4 Deprecate IS_INTERACTIVE, and introduce a finer-grained INTERACTIVE_STAGE
definition.

INTERACTIVE_STAGE can take any of the values: fetch, configure, build and
install

Multiple values are allowed: e.g. INTERACTIVE_STAGE= configure install

Explain INTERACTIVE_STAGE and its use in documentation.

Patches provided by Chris Pinnock (cjep@netbsd.org).
2002-07-02 11:26:05 +00:00
dmcmahill
808b30b3b0 add entry for NS_USE_SUNOS. If defined, the netscape and communicator
packages will use the old SunOS-4.1 binaries.  Otherwise, default to
using the recently enabled Solaris-2.5.1 binaries which include more
modern releases.
2002-06-30 19:07:27 +00:00
schmonz
bcc48e8a45 Register lang/sun{jre,jdk}13 as stub packages on Darwin, pointing
to the included 1.3.1 JDK. Teach USE_JAVA about this. Approved by
jwise and agc.
2002-06-30 15:01:47 +00:00
dmcmahill
187edbfd07 don't hard code the start time stamp file as .start.${arch} but allow
OBJMACHINE and OBJHOSTNAME to work.  Also don't hardcode /usr/pkg and
/usr/X11R6 for LOCALBASE and X11BASE.  Finally, fix a few typos in messages
while here.
2002-06-29 03:33:34 +00:00
seb
b37de5b10e Add PKG_SYSCONFDIR to BUILD_DEFS.
Note: it was already as part of CONFIGURE_ENV value, this change only makes
it more "readable" IMHO.

Remove explicit addition of PKG_SYSCONFDIR to BUILD_DEFS in a couple of
Makefiles.
2002-06-28 09:05:16 +00:00
agc
d770bff3a2 fix typo 2002-06-28 08:46:38 +00:00
agc
33334d61db Don't hardcode the value /var/db/pkg - this may not be the desired value
of PKG_DBDIR. Instead, get the value using "make show-var".
Pass this value down through the environment to pkg_info and pkg_delete
2002-06-28 07:54:36 +00:00
jlam
8aca95c13e Don't bother the admin to create a directory from MAKE_DIRS if it already
exists on the system.  We still make noise about directories in
MAKE_DIRS_PERMS because those directories must have special permissions
that the admin should check, even if they do exist.
2002-06-27 20:46:31 +00:00
jlam
6697300211 Don't bother the admin about the ${PKG_SYSCONFBASE} and ${RCD_SCRIPTS_DIR}
directories if they still exist after we try to remove them.
2002-06-27 20:43:44 +00:00
jlam
ce7c65ef99 Put PKG_SYSCONFBASE and PKG_SYSCONFDIR in the header so that they may be
used in the scripts.
2002-06-27 20:42:15 +00:00
jlam
87ea621afe Back out revisions 1.21 and 1.22 and
(1) do the work of not being so noisy for /etc and /etc/rc.d in the
	scripts themselves, and

    (2) make PKG_SYSCONFBASE and PKG_SYSCONFDIR usable from within
	the INSTALL/DEINSTALL scripts by putting them in the header.

This preserves the ability for a single binary package to be used for both
PKG_CONFIG=yes or PKG_CONFIG=no.
2002-06-27 20:41:44 +00:00
grant
b3dbf2fad1 pass PKG_SYSCONFDIR when calling {PRE,POST}-INSTALL. 2002-06-27 01:55:21 +00:00
lukem
cd99e0fe84 Only add RCD_SCRIPTS_DIR to MAKE_DIRS if RCD_SCRIPTS isn't empty.
Prevents warning on deinstall "remove /etc/rc.d" if no rc.d scripts
are provided for the package and PKG_CONFIG=no.
2002-06-27 00:54:30 +00:00
lukem
1217f73ea4 let mk.conf's PKG_CREATE_USERGROUP and PKG_CONFIG take advantage of
the same case insensitive multiple choice that the equivalents from
the environment support
2002-06-24 13:14:41 +00:00
kent
073d2c25b1 Add MPG123_ARM_FIXED64. 2002-06-23 08:46:22 +00:00
jlam
7fc61ff015 New variable GNU_CONFIGURE_PREFIX whose value is the argument to the
--prefix option passed to a GNU configure script.  It defaults to
${PREFIX}.  This should help simplify the packages out there that avoid
setting GNU_CONFIGURE=yes because they need a custom --prefix option.
2002-06-23 03:15:28 +00:00
kei
51dc28b799 forgot to commit in previous. 2002-06-23 02:23:23 +00:00
kei
87c4b6b2be introduce MASTER_SITE_MOZILLA. 2002-06-23 02:20:07 +00:00
jlam
063b3c32e8 Change PKG_CREATE_USERGROUP and PKG_CONFIG so that their values are merely
defaults for the INSTALL/DEINSTALL scripts.  The environment variables of
the same name take precedence during installation of a binary package.
2002-06-22 02:48:35 +00:00