summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2002-08-03Fix _JAVA_PKGBASE definition in "sun-jdk" case so that when used as ajlam1-3/+3
pattern with "pkg_info -e <pattern>", we can actually match a full package name.
2002-08-03print-PLIST:hubertf1-25/+18
* move redundant sed expression into variable to only maintain it once * properly catch grep return code in *both* cases (makes substitution of pkg variables in @dirrm statements / directory names work)
2002-08-02Add support for XAW_TYPE == "neXtaw".jlam1-1/+3
2002-08-02A package Makefile may add the word "optional" to PTHREAD_OPTS, whichjlam1-4/+13
will override the effects of any instance of the word "require". This should _only_ be used by those packages that can be built with or without pthreads _independently_ of whether any of its dependencies need pthreads. Currently, this only only www/mozilla, which uses its own threading library if native pthreads is unavailable, despite that it uses GTK+, which _does_ need pthreads.
2002-08-01Set JAVA_HOME correctly on Darwin.schmonz1-1/+9
2002-08-01Alter the way pkgsrc handles dependencies on pthreads. We now bless thejlam1-69/+122
hard-syscall version of GNU pth as the official pthread replacement package for those platforms that don't have a native pthread library. USE_PTHREAD is now deprecated in favor of directly include pthread.buildlink.mk, but the behaviour may be tweaked by setting PTHREAD_OPTS to contain any of "native" and "require". More complete documentation may be found in the first half of this file.
2002-08-01We no longer expect PTHREAD_TYPE to be defined after includingjlam1-5/+1
bsd.prefs.mk. It's value is now supposed to be checked after including pthread.buildlink.mk.
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