summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2002-07-31* Rename _JAVA_PKGNAME to _JAVA_PKGBASE which more accurately reflects itsjlam1-15/+21
contents. * Each PKG_JVM needs its own special _JAVA_PREFIX_DEFAULT hardcoded as there's no way to discern the subdirectory of ${LOCALBASE}/java in which the PKG_JVM is installed. * If PKG_JVM == "sun-jdk", allow either sun-jdk13 or sun-jdk14 to be used, preferring whichever one is already installed, but otherwise using the best default for a given platform.
2002-07-31Add "${_PATCH_BACKUP_ARG} .orig" to PATCH_DIST_ARGS too.wiz1-1/+2
Fixes Solaris problem reported in pkg/17769 by Valeriy E. Ushakov.
2002-07-30Add APACHE_USER and APACHE_GROUP variables, remove APACHE_SUEXEC_USER.wiz1-12/+20
2002-07-30back out OBJOSMACHINE stuff as it is superfluous. pointed out bygrant2-14/+3
jlam.
2002-07-29Invert the test for USE_JAVA. It now takes an optional value of "run"jlam1-5/+4
(instead of "build"). The rationale is that USE_JAVA= is "bigger" than USE_JAVA=run in the sense that the former adds another dependency. For packages that don't need the extra dependency, we can trim it off by setting USE_JAVA more thoughtfully.
2002-07-29Change the semantics of the USE_JAVA variable. USE_JAVA may now take anjlam1-7/+14
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-29Now that multiple JDKs can be installed, provide a working defaultschmonz1-23/+29
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-29add OBJOSMACHINE, to use OS version and arch specific workgrant2-3/+14
directories, eg. work.NetBSD-1.5-i386 work.SunOS-5.7-sparc
2002-07-28Inform USE_JAVA about the new JDK/JRE naming scheme, so that packagesschmonz1-10/+11
that USE_JAVA can work.
2002-07-25Add share/nls/{et_EE.ISO_8859-15,ru_RU.KOI8-R,uk_UA.KOI8-U} which seem tocjep4-4/+28
be required for tcsh-6.12
2002-07-24Create a new variable "RCD_SCRIPTS_EXAMPLEDIR" that contains the locationjlam4-9/+13
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* Change the semantics of the USE_PERL5 variable. USE_PERL5 may now takejlam1-7/+42
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-24Add a missing semicolon in the INTERACTIVE_STAGE=fetch bulk build logic.mrauch1-2/+2
2002-07-24Add share/nls/pl_PL.ISO_8859-2kim4-4/+12
2002-07-24print-PLIST: only substitute PKGVERSION when it really matches, i.e.hubertf1-2/+2
excape the "." ("1.2" -> "1\.2" etc.; hit in fonts/intlfonts)
2002-07-23Add a variable SU_CMD_PATH_APPEND containing a colon separated list ofcjep2-3/+8
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-22Adapt to using perl-5.8.0. Perl 5.8.0 removes the need for libperl asjlam1-1/+6
DynaLoader.a is now an archive of PIC objects.
2002-07-22Documentation nit: SU_CMD does not default to ${SU} root -c.cjep1-2/+2
2002-07-22Added POSTFIX_USE_TLS=YESmartti1-1/+6
2002-07-22TYpoe: 'stoping' -> 'stopping'jschauma1-2/+2
2002-07-21Make bulk builds aware of packages with INTERACTIVE_STAGE and mark them asmrauch2-2/+15
"not packaged" instead of "broken".
2002-07-20On -current, let PKG_JVM default to the same as on 1.6.jschauma1-2/+2
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-20Add optional netboot support to "grub" package as suggested bytron1-1/+14
Julio Merino in PR pkg/17354.
2002-07-18Correct two indentation nitsagc1-5/+5
2002-07-16Add RCS Id.schmonz2-0/+6
2002-07-16Add two knobs for packages: CONFIG_GUESS_OVERRIDE and CONFIG_SUB_OVERRIDE.schmonz1-1/+20
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"Import" the latest config.guess and config.sub fromschmonz2-0/+2811
${MASTER_SITE_GNU:=config/} : GNU config.guess (2002-07-09) GNU config.sub (2002-07-03)
2002-07-15Provide per-${OPSYS} defaults for how to run a command as root.schmonz5-6/+10
Darwin ships with a disabled root account and a working "sudo".
2002-07-13Add missing LN to PLIST_SUBSTrh1-1/+2
2002-07-12Add some more locale dirs.wiz8-8/+104
2002-07-12Add ar, lv, ms, and vi locale dirs (needed by some GNOME2 packages).wiz4-4/+68
2002-07-11on Solaris, depend on gzip-base if GZCAT is not set, and neithergrant2-3/+11
/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-03In the do-fetch target, break out the check for distfiles if we're inagc1-14/+26
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-03For interactive configure, say "Please configure manually...".cjep1-2/+2
2002-07-02Deprecate USE_SSL.wiz1-14/+2
2002-07-02Reduce chances that distinfo ends up with a bogus RCS Id or none at all.wiz1-2/+6
2002-07-02Deprecate IS_INTERACTIVE, and introduce a finer-grained INTERACTIVE_STAGEagc1-19/+47
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-06-30add entry for NS_USE_SUNOS. If defined, the netscape and communicatordmcmahill1-1/+7
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-30Register lang/sun{jre,jdk}13 as stub packages on Darwin, pointingschmonz1-1/+12
to the included 1.3.1 JDK. Teach USE_JAVA about this. Approved by jwise and agc.
2002-06-29don't hard code the start time stamp file as .start.${arch} but allowdmcmahill4-10/+27
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-28Add PKG_SYSCONFDIR to BUILD_DEFS.seb1-1/+2
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-28fix typoagc1-2/+2
2002-06-28Don't hardcode the value /var/db/pkg - this may not be the desired valueagc1-18/+24
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-27Don't bother the admin to create a directory from MAKE_DIRS if it alreadyjlam1-1/+4
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-27Don't bother the admin about the ${PKG_SYSCONFBASE} and ${RCD_SCRIPTS_DIR}jlam1-4/+14
directories if they still exist after we try to remove them.
2002-06-27Put PKG_SYSCONFBASE and PKG_SYSCONFDIR in the header so that they may bejlam1-1/+4
used in the scripts.
2002-06-27Back out revisions 1.21 and 1.22 andjlam1-5/+4
(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-27pass PKG_SYSCONFDIR when calling {PRE,POST}-INSTALL.grant1-3/+3
2002-06-27Only add RCD_SCRIPTS_DIR to MAKE_DIRS if RCD_SCRIPTS isn't empty.lukem1-2/+5
Prevents warning on deinstall "remove /etc/rc.d" if no rc.d scripts are provided for the package and PKG_CONFIG=no.
2002-06-24let mk.conf's PKG_CREATE_USERGROUP and PKG_CONFIG take advantage oflukem1-9/+3
the same case insensitive multiple choice that the equivalents from the environment support