summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.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-30back out OBJOSMACHINE stuff as it is superfluous. pointed out bygrant1-5/+1
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 workgrant1-1/+5
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-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-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 ofcjep1-2/+2
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-22TYpoe: 'stoping' -> 'stopping'jschauma1-2/+2
2002-07-21Make bulk builds aware of packages with INTERACTIVE_STAGE and mark them asmrauch1-1/+6
"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-18Correct two indentation nitsagc1-5/+5
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-13Add missing LN to PLIST_SUBSTrh1-1/+2
2002-07-11on Solaris, depend on gzip-base if GZCAT is not set, and neithergrant1-1/+8
/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-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-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-23New variable GNU_CONFIGURE_PREFIX whose value is the argument to thejlam1-2/+8
--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-23forgot to commit in previous.kei1-1/+5
2002-06-22Change PKG_CREATE_USERGROUP and PKG_CONFIG so that their values are merelyjlam1-10/+3
defaults for the INSTALL/DEINSTALL scripts. The environment variables of the same name take precedence during installation of a binary package.
2002-06-20In order to solve the following problems:jlam1-3/+10
(1) Admins want to create users/groups on their own (pkg/17183). (2) Admins don't want packages to setup an initial configuration. The bsd.pkg.install.mk-generated INSTALL/DEINSTALL scripts have been modified to check certain PKG_* environment variables to tune their behaviour. This works whether installing from "make install" or from a binary package. PKG_CREATE_USERGROUP indicates whether the INSTALL script should automatically add any needed users/groups to the system using useradd/groupadd. It is either YES or NO, and defaults to YES. PKG_CONFIG indicates whether the INSTALL/DEINSTALL scripts should do automatic config file and directory handling, or if it should merely inform the admin of the list of required files and directories needed to use the package. It is either YES or NO, and defaults to YES. The make(1) variable INSTALL_RCD_SCRIPTS is removed. The package rc.d script is now handled like other config files for the package, and is copied into place if PKG_CONFIG=YES. The default values above reflect the current behaviour. Setting PKG_CREATE_USERGROUP=NO solves problem (1), and setting PKG_CONFIG=NO solves problem (2). To simply matters for users installing directly from pkgsrc, these variables may also be defined in /etc/mk.conf, but behaviour at deinstall time may be surprising. It is *HIGHLY* recommended that these values be set in the shell environment instead.
2002-06-17MASTER_SITE_PERL_CPAN, cpan.pair.com: s/by-modules/by-module/grant1-2/+2
2002-06-15Change USE_KERBEROS to PKG_USE_KERBEROS in pkgsrc. There was a "conflict"cjep1-2/+2
which the basesrc USE_KERBEROS variable. Discussed on packages@ This fixes PR#17182 from Takahiro Kambe. The problem was pointed out by FUKAUMI Naoki on a Japanese NetBSD mailing list.
2002-06-15Insist on a newer lha (xm7 failed to extract properly with an older one).cjep1-2/+2
Suggested by wiz.
2002-06-10If ${_USE_RPATH} == "no", strip any rpaths that may have managedschmonz1-1/+4
to sneak into LDFLAGS. From jlam, tested a bit by billc, approved by agc.
2002-06-10Allow memorysize as an option in UNLIMIT_RESOURCE.skrll1-1/+4
Use it in kdelibs3. This closes pkg/17164 from Eric Jacoboni <jaco@scrogneugneu.org>
2002-06-10Updated PKGTOOLS_REQD to 20020402.martti1-2/+2
2002-06-02Introduce CPP_PRECOMP_FLAGS, defaulting to "-no-cpp-precomp" onschmonz1-1/+3
Darwin (meaning "don't use the OS X cpp that groks precompiled headers", which gets us the more compatible GNU cpp instead), and blank on other systems. Approved by agc and yyamano.
2002-05-29Fix comments in show-shlib-type pertaining to "dylib".schmonz1-3/+3
2002-05-29Replace STRIPFLAG with _STRIPFLAG_INSTALL to fix pkg/15467.yyamano1-2/+2
2002-05-26Pass ${OBJECT_FMT} into a package's make environment, to permit BSD-makefredb1-1/+8
packages to build correctly on "transitional" systems, where the user may have ${OBJECT_FMT} set in ${MAKECONF} to either a.out or ELF. On such systems, you need something like this just to build the "pkg_install" package. Closes PR pkg/16213.
2002-05-22Move description of variables used for config file handling tohubertf1-25/+2
Packages.txt. Supplements PR 16971 by Julio Merino <jmmv@hispabsd.org>
2002-05-21Bump LIBTOOL_REQD (libtool support for Darwin).schmonz1-2/+2
2002-05-19make f77 be the default fortran compiler instead of f2c-f77 for netbsd>=1.5.dmcmahill1-2/+7
f2c was really only needed in 1.4 and earlier days.
2002-05-18In do-shlib-handling, also fix up PLIST for Mach-O ("*.dylib")schmonz1-3/+74
shared libs, as found on Darwin. From Jeff Putsch <jdputsch@attbi.com> as part of pkg/16104.
2002-05-14Add and enable sun-jdk14 as an option for PKG_JVM:jschauma1-2/+17
If no PKG_JVM is specified, same behaviour as before. If PKG_JVM=sun-jdk, check if on -current or linux and if so, use sun-jdk14, else sun-jdk13. Else believe user when she specified PKG_JVM=sun-jdk13 or PKG_JVM=sun-jdk14.
2002-05-14Introduce NULL_COOKIE and use it instead of /dev/null for touch (see PR 15597).seb1-5/+4
While here remove some old comments.
2002-05-13Standardise on the format of continuation lines. No functional change.agc1-19/+19
2002-05-12ftp.loaded.net no longer has a CPAN mirror. Replace it with cpan.pair.com.schmonz1-2/+2
2002-05-08add actual sourceforge mirrors, and remove non-workingdrochner1-3/+4