summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
AgeCommit message (Collapse)AuthorFilesLines
2004-02-02Kerberos-using packages now set CRYPTO, not RESTRICTED. Approved by pkgsrcjlam1-2/+2
PMC.
2004-02-01When overriding libtool in the source directory, replace it with a shelljlam1-3/+8
script that invokes the correct libtool instead of using a symlink. This fixes the problem where libtool was invoked by /bin/sh regardless of whether libtool was built to be run by /bin/ksh instead.
2004-01-31Add some new variables for manual pages when using imake.xtraeme1-1/+5
They are: o IMAKE_KERNMAN_DIR (man4 or cat4) o IMAKE_MISCMAN_DIR (man7 or cat7) o IMAKE_KERNMAN_SUFFIX o IMAKE_MISCMAN_SUFFIX Ok'ed by Hubert Feyrer in private email.
2004-01-31It's GNU_CONFIGURE_PREFIX, not CONFIGURE_PREFIX.jlam1-2/+2
2004-01-29let tools.mk decide whether GNU patch is needed.grant1-2/+2
2004-01-29add GNU gnu patch(1), to override patch(1) on some platforms.grant1-2/+2
2004-01-28Some licenses are pretty long, so use $PAGER instead of $CAT, if $PAGERjschauma1-2/+6
is set.
2004-01-27Replace all occurrences of the "MAIL" definition with MAIL_CMD, sinceagc1-2/+2
some shells can set MAIL to be the mailbox of the user, and environment variables will override assignments in make when using conditional assignments.
2004-01-27"fetch" is also a distinct build phase.jlam1-2/+2
2004-01-26Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248heinz1-4/+4
2004-01-25show-needs-update target: run ${MAKE}, not "make".grant1-3/+3
2004-01-25run GNU configure scripts with ${CONFIG_SHELL}, which defaults togrant1-2/+3
${SH} when GNU_CONFIGURE is defined. fixes problems on Solaris and BSDI with some GNU configure scripts.
2004-01-25Removed XFree86-libs dependency if we are trying to use XFree86xtraeme1-10/+8
packages from pkgsrc, it's not really needed with the latest change to x11-links.
2004-01-25g/c USE_GMAKE. nothing uses it anymore.grant1-10/+1
2004-01-24Added a new variable for XFree86 packages:xtraeme1-2/+10
USE_PKGSRC_XFREE86 By default it is disabled, if you want to use XFree86 packages from pkgsrc, please add "USE_PKGSRC_XFREE86=YES" in /etc/mk.conf.
2004-01-23Move all of the code that sets USE_XPKGWEDGE from bsd.pkg.mk intojlam1-23/+4
bsd.prefs.mk as it's needed in setting X11PREFIX to the correct value, which is also done in bsd.prefs.mk. This is the follow-through to the temporary fix in previous revision (1.141) of bsd.prefs.mk.
2004-01-23Add http://osdn.dl.sourceforge.net/sourceforge/ as a master site forjmmv1-1/+2
Sourceforge.
2004-01-22Add three additional mirrors to MASTER_SITE_SUSE.xtraeme1-2/+5
2004-01-21Introduce concept of the "phase" that we're in as we progress throughjlam1-10/+10
fetching, extracting, configuring, building, etc. of a package. We can check what phase we're in by examining the value of ${PKG_PHASE} and comparing against PHASES_AFTER_<phase>, which list phases that are "greater than or equal to" <phase>. One useful example of how to use PKG_PHASE is: .if !empty(PHASES_AFTER_EXTRACT:${PKG_PHASE}) # # Some variable settings or targets here that rely on dependencies to # already be installed, or ${WRKDIR} to be created, etc., as these are # things that should have happened by the time "make extract" is # completed. # .endif
2004-01-20s/it's/its/snj1-2/+2
2004-01-19Fix PERL5_REQD=5.8 to mean that we want to install lang/perl58. Before,jlam1-2/+2
we were expecting PERL5_REQD=5.8.0.
2004-01-19Allow CONFIG_STATUS_OVERRIDE to override config.status scripts generatedjlam1-1/+15
by GNU configure scripts at CONFIGURE_POSTREQ time. The new config.status scripts merely return success. This prevents newer Makefiles from re-running the configure script with the wrong shell environment if we've touched some GNU autotool-related files during the patch stage. We might want to always do this, i.e. make this opt-out instead of opt-in. However, we start with opt-in so that no existing packages can break.
2004-01-19Remove some extraneous commands and switch some targets to be conditionallyjlam1-10/+5
defined.
2004-01-18We only need the special PLIST info-file handling if we're using staticjlam1-4/+6
PLISTs. Dynamic PLISTs automatically list the installed info files in the PLIST.
2004-01-14 Add *RECOMMENDED variables as discussed on tech-pkg@ to allow for a morerh1-1/+14
fine-grained distinction between required versions of pre-requisites (DEPENDS) and versions that are recommended for security or library ABI consistency reasons (RECOMMENDED). The contents of ${RECOMMENDED} are added to DEPENDS unless IGNORE_RECOMMENDED is set to YES, in which case a warning will be printed and IGNORE_RECOMMENDED will be added to BUILD_DEFS. Add a corresponding BUILDLINK_RECOMMENDED.<pkg> variable for use with buildlink2 and buildlink3.
2004-01-13Differentiate between MAKE_FLAGS passed to the build, test and installjlam1-8/+11
targets by using BUILD_MAKE_FLAGS, TEST_MAKE_FLAGS, and INSTALL_MAKE_FLAGS in the respective targets. All of the new variables default to ${MAKE_FLAGS} to preserve the current behaviour.
2004-01-12show-shlib-type: use return(0) instead of exit(0). eliminates agrant1-2/+2
warning from non-gcc. ok'd by agc.
2004-01-10backout previous until it can be done a better way.grant1-12/+38
2004-01-10make shared library handling more efficient by nuking thegrant1-38/+12
show-shlib-type target and instead defining SHLIB_TYPE using similar semantics show-shlib-type, but on non-dylib and non-AIX platforms, use ${OBJECT_FMT} instead of compiling a dummy binary and running file(1) over it. with archivers/bzip2 on my Solaris 9 box, this shaves 1.6sec, 92 fork()s and 956 stat()s from creating ${WRKDIR}/.PLIST and the do-shlib-handling target.
2004-01-07Resurrect ftp.cz.NetBSD.org MASTER_SITE_BACKUP, the machine is up and runningsalo1-1/+2
again.
2004-01-06Create a variable USE_XPKGWEDGE that determines whether or not pkgsrc willjlam1-6/+21
use xpkgwedge to install X11 packages into ${LOCALBASE}. It defaults to "no" to preserve the current behaviour. Also make pkgviews imply USE_XPKGWEDGE=yes, as xpkgwedge is a requirement for making X11 packages install properly using pkgviews.
2004-01-06Fix awk warnings in MASTER_SORT* code.wiz1-4/+4
From Stoned Elipot (seb@).
2004-01-06Fix comment for generate-plist after removal of PERL5_GENERATE_PLIST.jlam1-3/+1
2004-01-06PERL5_GENERATE_PLIST is defined properly in perl5/module.mk, and alljlam1-20/+1
perl5 modules have been converted to use module.mk, so nuke the duplicate code in bsd.pkg.mk.
2004-01-06If xpkgwedge is installed, then _always_ add it to BUILD_DEPENDS. Alsojlam1-2/+3
comment the section that sets the PREFIX.
2004-01-05fix a bug in the extraction of shlib dependencies on Darwin whichgrant1-2/+2
caused non-shared objects to be mistakenly added to the buildinfo REQUIRES.
2004-01-02Introduce dynamic registration of info files in PLIST.seb1-1/+40
For each file listed in INFO_FILES the installed files matching ${PREFIX}/${INFO_DIR}/filename(-[0-9]+)? are registered as belonging to the package. Also ignore the same files in print-PLIST target. Info files should not be listed in PLIST files anymore but the awk code snippet (_PLIST_AWK_INFO) in charge of actually dealing with info files for the plist target will strip any it finds in them. Now for the reason behind this... Older makeinfo command (before pre-release version 4.5.90 or before release version 4.6) had SPLIT_SIZE_THRESHOLD: when an info file size was >= SPLIT_SIZE_THRESHOLD then the info file was split in chunks of DEFAULT_SPLIT_SIZE size. DEFAULT_SPLIT_SIZE in older versions of makeinfo was 50000 (bytes) and SPLIT_SIZE_THRESHOLD was 70000. So if an info file has a size < 70000 and is processed by makeinfo < 4.6 it is not split in chunks. But if it is processed by makeinfo >= 4.6 texinfo.mk to emulate older version automatically adds `--split-size=50000' to makeinfo's command line and this time the info file is split in chunks... This can lead to PLIST inconsistency from platform to platform or more exactly from version to version of makeinfo. Now we don't have to care about this problem and the info files removal from PLIST files can happen.
2003-12-31Remove ftp.cz.NetBSD.org from MASTER_SITE_BACKUP.salo1-2/+1
There are problems with the hosting and the machine will be offline for unknown time period..
2003-12-30trim whitespace from a message.grant1-3/+3
2003-12-28Use "${LS}" instead of "${FILE_CMD}" to find out the target of softlinktron1-3/+3
when (de)compressing manual pages. This fixes problems caused by the output format of NetBSD-current's and shouldn't hurt any other platform.
2003-12-26print-PLIST target pipeline modifications:seb1-32/+36
- reduce the number of components with pervasive awk usage. - handle Info directory file when it is not `info/dir'. Notice that print-PLIST substitutions are now made globally (awk's gsub()) when previously the sed substitution commands did not have the 'g'lobal flag. While here fix PKGVERSION substitution just like PLIST_SUBST's PKGVERSION element is handled in ${PLIST} target i.e. without considering the 'nb${PKGREVISION}' suffix. While here give COMMON_DIRS variable a more "internal type" name: _PRINT_PLIST_COMMON_DIRS.
2003-12-25print-pkg-size-this target:seb1-4/+4
- properly quote any filenames in ${PLIST} before feeding them to xargs. This allows latest textproc/docbook-xsl package to be registered with its correct size because it contains a file with a single quote in its name. XXX pkg_add does not like this filename anyway. - fix the awk script that parse ${PLIST} so pathname containing space (hence awk's NF > 1) are not removed from size calculation. Many thanks to atatat@ to remind me the proper way to quote a shell word.
2003-12-24Use MAIL variable from defs.OPSYS.mk instead of hard-coded 'mail'.heinz1-2/+2
This should (really, this time) close pkg/23682.
2003-12-23Move message/${MESSAGE} target around, out of plist target and itsseb1-16/+19
supporting code. While here comment the message target a bit.
2003-12-23Remove "ftp.tu-darmstadt.de" from "MASTER_SITE_XEMACS" because it doesn'ttron1-2/+1
have the packages any more.
2003-12-21Make SMART_MESSAGES work again by passing _PKGSRC_DEPS through theagc1-2/+2
environment into sub-makes for pre-requisite packages, rather than using ${MAKEFLAGS} and the command line.
2003-12-18revert previous; it is not needed.grant1-2/+1
2003-12-18subst PKG_SYSCONFDIR in the PLIST, avoiding having to do it manuallygrant1-1/+2
in every package which uses it.
2003-12-16Rewrite most of the pipeline generating ${PLIST} as a single awk script.seb1-58/+68
2003-12-13Improve, move around and bring up to date comments about print-PLISTseb1-5/+5
target.