summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2002-08-22Merge pkgsrc/mk from the buildlink2 branch back into the main trunk.jlam29-28/+1469
2002-08-21set USE_INET6 if we are on an IPv6 capable Solaris host.grant1-1/+3
2002-08-20Add CVS_FLAGS that will be passed to 'cvs update' before builds.hubertf2-3/+7
Allows specifying a branch ("-rnetbsd-1-6") or the trunk ("-A") easily from the build.conf file.
2002-08-19Now by default the support of micro- and nano-second timestamp values providedseb1-1/+7
by stat(2) is disabled: it causes grief even for package building. This is adjustable by the GMAKE_NSEC_TIMESTAMPS variable. Bump PKGREVISION.
2002-08-15Actually Alistair was right: $packages and $distfiles also need to beseb1-1/+2
$mkdirprog'ed, it helps on a fresh/virgin/cleaned up bulk building system.
2002-08-15Document `IMAP_UW_NO_SSL'.fredb1-1/+9
2002-08-14make this work on Solaris by using ${EGREP} instead of ${GREP}.grant1-2/+2
2002-08-12Make sure that /var/games exists in the sandbox, and has the correctagc1-1/+11
permissions.
2002-08-12New feature: this script now create $sandbox/sandbox, a shell scriptseb1-1/+50
to ease the use of the sandbox. $sandbox/sandbox umount Umount the null mounts from the sandbox $sandbox/sandbox mount Mount the null mounts required by the sandbox (useful across reboots, ...). $sandbox/sandbox whatever Runs the command passed as arguments, chrooted into the sandbox. Typical usage would be `$sandbox/sandbox /my/favourite/shell'. $sandbox/sandbox Same as `$sandbox/sandbox /bin/sh' Approved by agc.
2002-08-12- Remove $sandbox/etc/localtime before copying /usr/share/zoneinfo/GMT over.seb1-4/+5
This prevent surprise when /etc/localtime -previously copied over in the sandbox by pax/tar- is a symlink to /usr/share/zoneinfo/whatever. - Improve somewhat some messages. - Make sure $sandbox/$packages and $sandbox/$distfiles are created instead of $packages and $distfiles.
2002-08-12In the build script, set BATCH=1 and DEPENDS_TARGET=bulk-install in theagc1-1/+6
environment, and pass them down to the bulk build. This means that the /etc/mk.conf (or $MAKECONF) can be shared between ordinary builds and bulk builds.
2002-08-12Add the default for USERPPP_GROUP for the userppp packageagc1-1/+6
2002-08-12Don't null-mount all of /var - just do /var/mail for just now, so thatagc1-2/+2
the packages which expect a sane mail delivery set up can configure and build within the sandbox.
2002-08-12Also null-mount /var from inside the sandboxagc1-2/+3
2002-08-12Specify defaults for the Free wnn user and group.agc1-1/+11
2002-08-12Don't assume that this is a shell script - instead, realise that it'sagc1-11/+11
written in perl, and call the environment variable "BMAKE" accordingly (it's set to the name of the NetBSD make(1) program).
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-08Depend on the hard-syscall version of pth if we using it as a pthreadjlam1-1/+5
replacement via pthread.buildlink.mk.
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-07Prepare for the mplayer 0.90pre6 aka 0.90rc6 update:veego1-4/+11
- Change the mplayer default font size from 18 to 14 - Add MPLAYER_USE_REALMEDIA, defaulting to NO Used by mplayer to enable realmedia support by using the realplayer libraries. Note that this only works on i386 and also adds a dependency for the linux emulation to this package.
2002-08-07Correct the position of a closing parenthesis in a commentagc1-2/+2
2002-08-07A small shell script to set up a sandbox (usually for a pkgsrc bulkagc1-0/+184
build), using null mounts.
2002-08-07Make these scripts useful on platforms other than NetBSD by using a BMAKEagc7-70/+92
environment variable, which contains the name of the make(1) program to invoke - suggestion by Julien Letessier some time ago, the confusion mine, since I thought he was referring to something else completely. Don't rely on there being a POSIX tr(1) in the path by default - test explicitly for both "yes" and "YES". Set the default for PRUNEDISTFILES to "no", since we can't assume that the user wants us to delete something which he may have been keeping around, and there are other ways of accomplishing this aim (lintpkgsrc -o, for example). Clean up some superfluous white space at the end of lines.
2002-08-06Add a missing "-o" from the compound test in the if statementagc1-2/+2
2002-08-06USE_BUILDLINK_X11 is dead too with the removal of pkgtools/buildlink-x11.jlam1-4/+4
2002-08-06USE_BUILDLINK_X11 is dead, too.jlam1-7/+1
2002-08-06Remove completely unused code for buildlink-x11 that is never going to seejlam1-24/+1
the light of day in pkgsrc.
2002-08-05revert previous as it is borken. per testing by me and discussion with jaromir.lukem1-2/+2
(/brickage to certain vi clones with syntax editing...)
2002-08-04fix \ botch - need double \ to get the the \ properly generatedjdolecek1-2/+2
in wrapper script
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.