summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
AgeCommit message (Collapse)AuthorFilesLines
2002-09-02openoffice requires the unlimit on configure (for jdk) as well as for build.abs1-2/+2
Add ${_ULIMIT_CMD} to do-configure:
2002-09-01Fix sourceforge path on ftp.tuwien.ac.at.wiz1-2/+2
2002-08-30Another sourceforge mirror site.wiz1-1/+2
2002-08-30Add 'UNLIMIT_RESOURCES+=datasize' if we are using sun-jdk14. On at leastabs1-1/+3
NetBSD/i386 1.6 datasize needs to be at least 192MB to build jakarta-tomcat. Also set it for sun-jdk as that can expand to {sun-jdk13,sun-jdk14}...
2002-08-28Allow more flexibility in the handling of UNLIMIT_RESOURCES.seb1-10/+6
Each word of UNLIMIT_RESOURCES is supposed to be a knob on ULIMIT_CMD_<word> variable which value if defined is added to _ULIMIT_CMD. The ULIMIT_CMD_* variables are set per $OPSYS in defs.*.mk and are overridable by the user. Solaris' default value of ULIMIT_CMD_memorysize adjusted as suggested in PR pkg/18087 by Jonathan Perkin <sketch@rd.bbc.co.uk>.
2002-08-27Fix USE_FORTRAN in the USE_BUILDLINK2 case.jlam1-2/+4
2002-08-27In print-PLIST, use "${RMDIR} dir 2>/dev/null || ${TRUE}" instead of justjlam1-2/+2
using "true" at the end.
2002-08-26PKG_SYSCONFDIR is not supposed to be settable, so change its setting fromjlam1-3/+3
?= to =. Note in Packages.txt that the only variables that a user should customize in /etc/mk.conf are PKG_SYSCONFBASE and PKG_SYSCONFDIR.<pkg>.
2002-08-25Pull up change in buildlink2 branch:jlam1-5/+5
Rename NO_BUILDLINK2 to NO_BUILDLINK. This better matches what it's supposed to disable -- the "buildlink" targets.
2002-08-23Add some more sourceforge mirror sites.wiz1-2/+5
2002-08-22Merge pkgsrc/mk from the buildlink2 branch back into the main trunk.jlam1-12/+53
2002-08-11Move "ftp.fi.netbsd.org" from "MASTER_SITE_LOCAL" to "MASTER_SITE_BACKUP".tron1-2/+2
This will reduce load on "ftp.netbsd.org" a bit and still make our local distribution files available during outages.
2002-08-11Add "ftp.fi.netbsd.org" to "MASTER_SITE_LOCAL" so that e.g. buildingtron1-2/+3
the "openssl" package works while "ftp.netbsd.org" is down.
2002-08-08Allow non-Darwin platforms to build perl58. We're in pkgsrc lockdown downjlam1-3/+2
just prior to branching for 1.6, so this should be okay now. I also want to see this built in the bulk-builds for testing purposes.
2002-08-07Don't create the ${INTERACTIVE_COOKIE}s in the ${WRKDIR} - this will failagc1-2/+2
if the interactive stage is "fetch", since there will be no ${WRKDIR} at that time. Instead, since ${INTERACTIVE_COOKIE}s are only used in bulk builds, create them in the package directory, along with the related .broken.`hostname` file.
2002-08-06USE_BUILDLINK_X11 is dead too with the removal of pkgtools/buildlink-x11.jlam1-4/+4
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-01Set JAVA_HOME correctly on Darwin.schmonz1-1/+9
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.