summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2006-01-14Signature police.seb1-1/+1
2006-01-13Make use of ${.TARGET} within a target instead of re-specifying thejlam1-2/+2
file again.
2006-01-13Remove the show-shlib-type target since it's no longer needed ... thejlam2-8/+2
same value is returned by querying for SHLIB_TYPE via show-var, so convert the only remaining use of show-shlib-type to just use SHLIB_TYPE.
2006-01-13Force compression and decompression to avoid the default behavior ofjlam1-3/+3
gzip/gunzip where hard-linked files aren't compressed/decompressed.
2006-01-12Initial commit of a new module that encapsulates all of the codejlam30-19/+1721
for manipulating PLISTs. This module is not used by default pending more widespread testing -- currently the variable _USE_PLIST_MODULE must be defined in /etc/mk.conf to enable its use. The main features of the new PLIST module are: (1) Splits out the PLIST-handling code from bsd.pkg.mk into a separate "plist" module. (2) Splits out giant, multi-line awk scripts stored in make variables into separate awk scripts that may be joined together to post-process PLISTs. Each of these awk scripts consolidates the processing for one set of files, e.g., man pages, info pages, etc., and is more easily commented than a make variable. (3) Splits out the print-PLIST code from the regular PLIST code since they have no common pieces (print-plist.mk vs. plist.mk). (4) Completely re-implements the shared-library handling to be more efficient. Along the way, this also fixes a problem for Mac OS X users where the PLISTs incorrectly contained absolute paths. (5) Completely re-implements the info-file handling so that we can migrate from INFO_FILES definitions to just adding info/foo.info entries in the static PLISTs. (6) Adds commented-out support for automatically compressed or decompressed info page entries based on the value of MANZ. These changes will be activated after texinfo.mk has been replaced by something that is built using the more modern primitives now available in pkgsrc. (7) Move the file compression logic into a separate script "doc-compress" that compresses or decompresses files while minding symlinks. This script is now called by bsd.pkg.mk to do the "autmoatic man page handling". In the future, it will also handle the "automatic info page handling" and possible others. In general, the idea is to move stuff out of the Makefiles and into separate files where we don't need to worry about quoting rules and where each file can have a separate history of commits. This simplifies the makefile logic (especially in terms of readability) and also simplifies maintenance of the code.
2006-01-12Set INFO_DIR, the location for info files, to its default value ofjlam1-1/+8
"info" here instead of in pkgsrc/mk/texinfo.mk. This allows its value to be used even when texinfo.mk isn't included.
2006-01-12Fix a typo that was causing imake, mkdirhier and xmkmf to not be createdjlam1-2/+2
as tools in the tools directory.
2006-01-12Require xpkgwedge 1.15.joerg1-2/+2
2006-01-12Don't ever depend on xpkgwedge if we're building xpkgwedge.jlam1-1/+2
2006-01-12Re-implement some code that was lost in revision 1.144 so that IMAKE mayjlam1-1/+7
be overridden to point to the path of the imake binary to use.
2006-01-12Remove branch tag from DragonFly version, so that OS_VERSION matchesjoerg1-1/+2
autoconf's normalisation.
2006-01-12Documented CHECK_INTERPRETER in the header comment.rillig1-1/+4
2006-01-12Added the target check-interpreter to bsd.pkg.check.mk, which checksrillig2-2/+50
that the interpreter of "#!"-style scripts exists. It is disabled by default, and can be enabled by setting CHECK_INTERPRETER=yes. As for the other check-* targets, CHECK_INTERPRETER_SKIP is a list of shell globs that can be used to to skip certain files. Ok'ed by jlam.
2006-01-11Introduce DJB_SLASHPACKAGE, defaulting to NO. /package is DJB'sschmonz1-2/+13
scheme for the installation and maintenance of software. Over time, more software will follow /package. For now, setting DJB_SLASHPACKAGE to YES has two effects: * DJB_CONFIG_DIR is set to ${WRKSRC}/src * A do-build target is defined to call package/compile.
2006-01-11Since qmail and related packages install into ${PREFIX} (and haveschmonz1-4/+2
for a while now), we no longer need to add ${QMAILDIR} in PLIST_SUBST or MESSAGE_SUBST. Noticed by jlam.
2006-01-11Add back USE_PKGINSTALL as a knob to force the pkginstall frameworkjlam1-5/+15
to be used so that +INSTALL and +DEINSTALL scripts are generated. This can be used in cases where it's not possible or not desirable to use the auto-detection mechanism to decide whether the pkginstall framework is needed.
2006-01-10Add missing ircd-hybrid zilinks optionadrianp1-0/+1
2006-01-10Also set ABI like SGI does; from Benjamin Shi.christos1-1/+2
2006-01-10Don't be silly! A copyright ? On this ? I must have been stoned.seb1-36/+1
2006-01-09Teach the tools framework about the ``ksh'' tool, provided by thejlam4-4/+20
shells/pdksh package if it doesn't exist on the base system.
2006-01-09Add a missing trailing backslash to continuatificate a shell snippetschmonz1-2/+2
to the following line.
2006-01-08Teach the tools framework about "gsoelim", which is the soelim tool fromjlam4-4/+33
a groff distribution.
2006-01-08Consolidate groff-supplied tools into one section.jlam1-34/+21
2006-01-08Make teTeX3 the default TEX_DEFAULTtonio2-24/+16
bump PKGREVISION where necessary Move PKG_TEXMFPREFIX and PKG_LOCALTEXMFPREFIX definitions to teTeX?/buidlink3.mk, so that packages may include print/teTeX1-bin/buildlink3.mk directly (however, using teTeX/module.mk do not allow that)
2006-01-08permit postgresl81abs1-3/+9
2006-01-08Reverted the change from 1.29 to 1.30, as it had led to build failures inrillig1-2/+11
the "unwrap" class.
2006-01-07Added two missing :Q operators. One of them affects how therillig1-3/+3
SUBST_MESSAGE is printed. The ones that have been defined with "quotes" in their Makefiles are printed with quotes (of course). This is the consequence of the design pattern "quote-exactly-where-necessary", which in fact should be have been applied to pkgsrc as a whole, but still isn't.
2006-01-07- Added pbc_checkpathname, pbc_checkbasename, pbc_checkurl.rillig1-8/+34
- Modified pbc_checkexisting{dir,file} to use pbc_checkpathname.
2006-01-07Add R's index files, that are regenerated when a local modulemarkd1-1/+7
is added, to CHECK_FILES_SKIP.
2006-01-07Removed the use of ${FILE_CMD} from the substitution framework. Therillig1-11/+2
detection whether a given file was a text file or some other file had been unreliable. In the recent bulk builds, all of the warnings that had appeared because of that unreliable detection had been false positives.
2006-01-07* Remove mysql-4.0.x now the packages were removed.xtraeme1-5/+3
* Change default mysql pkg to 5.x.
2006-01-06set the LIBABISUFFIX to 64 for amd64...christos1-1/+4
2006-01-06Describe lablgtk and lablgtk2 options.wiz1-0/+2
2006-01-05Depend on cdrtools instead of cdrecord. Bump PKGREVISION.wiz1-2/+2
Update some messages/comments.
2006-01-05Revert unintended part of last commit.joerg2-5/+3
2006-01-05Adjust comment about SUBST_FILES to match reality:joerg3-5/+7
absolute file names work as well.
2006-01-05Fix a bug which caused the README.html generation to fail when the packagesdmcmahill2-10/+26
directory did not exist. Now the generation completes with a warning that no binary packages were found. Reported in PR pkg/32351.
2006-01-04Add a wee bit of infrastructure to improve how we deprecate brokenschmonz1-1/+11
packages from branch to branch: When a package is considered broken (for whatever reason) at branch time, we'll mark it with BROKEN_IN=name-of-branch. At the next branch, we can easily determine which ones have remained broken and remove them. BROKEN_IN is visible to users iff a build fails, when it appends a warning message to the above effect. With feedback from dillo. Reviewed by jlam.
2006-01-03Enhances comments to better explain to package authors how this filegdt1-9/+41
should be used, and to motivate the "use only the default version" approach. Based on private email with jlam@, but of course errors are mine.
2006-01-03In the bin-install target, instead of running pkg_add for everywiz1-23/+17
BINPKG_SITES entry separately, construct an appropriate PKG_PATH and call pkg_add only once. Patch from Chapman Flack in PR 30929. Use PKGNAME_REQD when installing package dependencies. Patch from Chapman Flack in PR 30954.
2006-01-03Instead of patching the generated config.status script, patch the GNUjlam1-29/+27
configure script itself so that the generated config.status script does what we want (just exit if asked to "recheck"). This ensures the timestamp for config.status is earlier than the timestamps for the files that config.status generates (Makefile, config.h, etc.). This fixes some problems where some packages end up "rebuilding" as part of the install target, which makes the rebuilt files owned by root and makes cleaning the work directory fail.
2006-01-02Change some remaining ONLY_FOR_ARCHS to ONLY_FOR_PLATFORM and NOT_FOR_ARCH todmcmahill1-10/+10
NOT_FOR_PLATFORM that were missed when these variables were changed ages ago.
2006-01-01Fixed some cases where the exitcode of child processes has been ignored.rillig1-4/+4
This will cause package builds to fail instead of hiding bugs.
2006-01-01Fixed trivial pkglint warnings:rillig1-4/+4
- Removed leading white-space in dependency lines. - s/existant/existent/.
2006-01-01Remove stuff that was marked for removal after 2005Q4.wiz2-29/+2
2006-01-01Provide defaults for "HOWL_GROUP" and "HOWL_USER" which will be used bytron1-1/+11
future version of the "howl" package.
2006-01-01Move entry for "MLDONKEY_GROUP" to correct location.tron1-6/+6
2006-01-01Remove obsolete TIN_USE_INN_SPOOL option.wiz1-6/+1
2006-01-01Describe curses and tin-use-inn-spool options.wiz1-1/+2
2005-12-31Don't check for PKG_FAIL_REASON when doing show-depends-dirs. This preventsrillig1-2/+2
packages that set PKG_FAIL_REASON from being excluded from the bulk build databases like .index and .dependstree.