summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
AgeCommit message (Collapse)AuthorFilesLines
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.
2003-12-13Properly fix meta-characters quoting in awk regexp specified as strings:seb1-32/+32
`\' needs to be quoted in a string. Also remove some unnecessary `\' in awk strings.
2003-12-11remove ftp.progsoc.uts.edu.au from MASTER_SITE_GNU as it has beengrant1-2/+2
unreachable for weeks. replace with public.planetmirror.com.au.
2003-12-09make the "update your package tools!" failure message more accurategrant1-4/+5
and friendly.
2003-12-07g/c FIX_RPATH, it is broken and no longer required for Darwin, whichgrant1-19/+1
was the only platform where it was being used.
2003-12-06When DIST_SUBDIR is set, make sure various download variables don't getcube1-1/+11
changed when they're defined but empty. Although it might sound weird to have DISTFILES empty and DIST_SUBDIR set, it makes sense for wrapper packages such as graphics/Mesa. Fixes PR 23658 from Aaron J. Grier.
2003-12-05add ftp.cz.NetBSD.org as another MASTER_SITE_BACKUP prior to ftp.netbsd.orgjdolecek1-1/+2
2003-12-04Whitespace fixes, no functional changes.agc1-30/+29
2003-12-03Fix breakage in show-shlib-type introduced in last changes.xtraeme1-2/+2
Thanks to Jeremy C.Reed and Soren Jacobsen, this also closes PR pkg/23641.
2003-12-03Add another shlib type "aixlib".erh1-143/+179
Handle this in do-shlib-handling: turn *.so into *.a. Pull out the inline awk scripts into variables to make the actual target a little bit clearer.
2003-12-03Pay attention to the setting of $ROOT_USER when checking whether we're root.erh1-3/+3
2003-12-03If PKGMAKECONF is defined, use it to set MAKECONF instead of "/dev/null".erh1-1/+5
2003-12-02conditionally set LIBTOOL and SHLIBTOOL, as proposed by Michalgrant1-3/+3
Pasternak on tech-pkg. [first commit after pkgsrc meltdown ;)]
2003-11-27update directory structure of ftp.mozilla.org in MASTER_SITE_MOZILLAtaya1-2/+2
2003-11-25Don't write conflicts into the binary packages unless they're "overwrite"jlam1-2/+2
packages. All pkgviews packages are safe to install into the same tree, and we rely on more dynamic file collision detection through linkfarm(1) rather than just using CONFLICTS.
2003-11-23Make the value of VIEWBASE available in more settings.jlam1-1/+4
2003-11-22Add public variables EXTRACT_CMD_OPTS.{zip,lha,lhz,zoo} that may be set injlam1-4/+8
package Makefiles to customize the options passed to the extraction commands when the defaults don't suffice. Patch from Michal Pasternak with additions by me.
2003-11-20Forgot a \ to make line continue. Sorry for breakage.cube1-2/+2
2003-11-20When there is no distinfo file, do not apply patches we would notcube1-1/+6
normally apply: treat them as if the distinfo file was empty. This solves the reason why pkgtools/pkg_install/distinfo was resurrected, and allows us to remove it again, since it had the side effect of introducing a dependency on digest, which is not acceptable when updating pkg_install: it made it impossible to use the pkgsrc tree, as reported by several people.
2003-11-02Depend on pkgtools-20030918 again; http support is not really a requirement.wiz1-2/+2
2003-10-30implement the change in rev. 1.1296 (which was backed out in rev.grant1-2/+2
1.1298) properly by using single quotes instead of double quotes around the PKGNAME_REQD value, ensuring that the shell does not interpret the > character as a redirect. confirmed that no "=1.0.43" files are created on NetBSD and Linux when a pre-requisite package has a wildcarded version number eg. ">=1.0.43", and that the original problem is fixed.
2003-10-30Bump PKGTOOLS_REQD to 20031003, per a suggestion from agc.wiz1-2/+2
2003-10-30Revert the change in 1.1296 which was causing problems on NetBSD whenagc1-2/+2
installing a pre-requisite package with a wildcarded (e.g. '>=1.0.43') version number. The problem manifested itself by creating a file called '=1.0.43' in the pre-requisite package's directory, and a coupld of "dc: stack empty" spurious messages appeared. If this needs to be fixed by an OS-dependent variable, we'll address that in the future.
2003-10-18Fix PR 17883 by adding code to perform just-in-time su(1) functionalityagc1-3/+12
for the bin-install target.
2003-10-18properly quote the value of PKGNAME_REQD when calling ${MAKE} togrant1-2/+2
build a dependency so that the shell does not attempt to do interpret the value of PKGNAME_REQD. noticed on Linux building graphics/mplayer where the build of audio/nas was broken because ${MAKE} was being called with PKGNAME_REQD=nas>=1.4.2 instead of PKGNAME_REQD="nas>=1.4.2"
2003-10-11add a BUILD_DEPENDS on devel/patch if no suitable patch(1) isgrant1-1/+19
available. fixes my PR pkg/18380, with hints from jschauma.
2003-10-11set CC_VERSION for non-gcc and use it in the BUILD_INFO file.grant1-6/+2
2003-10-02Allow variables to be set on a per-OS basis.gavan1-1/+11
2003-10-02Fail-safe check for circular dependencies.gavan1-1/+6
2003-09-28use PKGBASE instead of PKGNAME when printing informational messagesgrant1-3/+3
such as "Deinstalling", as this lead to confusing/misleading output when the (previously) installed pkg has a different version number than the pkgsrc version.
2003-09-25don't put ${RPATH_FLAG} in X11_LDFLAGS if _USE_RPATH==no (darwin)danw1-1/+3
2003-09-24make CC_VERSION available to packages by including bsd.prefs.mk.grant1-3/+1
it is of the form 'gcc-<version>' if gcc is being used, or empty otherwise (for now). requested by tron.
2003-09-17Introduce a new variable "CONF_DEPENDS" for pkgviews: a package'sjlam1-2/+14
config directory matches the config directory for the dependency listed in CONF_DEPENDS. Use symlinks to physically point the package's config directory to the dependency's config directory, and handle all of this in the INSTALL/DEINSTALL scripts. Also make the INSTALL/DEINSTALL scripts a bit smarter about not copying files and not removing files if the source and destination file locations point to the same thing.
2003-09-16Use pkg_admin(1) instead of pkg_delete(1) to manipulate the file entries injlam1-2/+2
pkgdb.byfile.db.
2003-09-15Do not rely on MANINSTALL beeing set (it's always set now) to do manpagejmmv1-5/+1
automatic handling. Fixes part of PR pkg/22562 by reed@reedmedia.net.
2003-09-15add an @ on one of the print-summary-data target lines. This removes somedmcmahill1-2/+2
garbage from the database file.
2003-09-14do-shlib-handling fix for Darwin: check if the ".so" file actually existsdanw1-2/+5
before renaming it to ".dylib" in the PLIST, since if it's a dynamic module, it actually will be a ".so"
2003-09-14Recommend "make clean && make install" instead of just "make install" whenjlam1-2/+2
rebuilding the pkg_install tools if they're out of date. Suggested by David Brownlee on tech-pkg@.