summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2004-01-29let tools.mk decide whether GNU patch is needed.grant1-2/+2
2004-01-29bring back rev. 1.20.grant1-2/+22
in fact, the last revision didn't contain unwanted changes, but two minor errors, now fixed. sorry for the mess.
2004-01-29backout previous; it had other changes I didn't want to commit yet...grant1-22/+2
2004-01-29add GNU gnu patch(1), to override patch(1) on some platforms.grant2-4/+24
2004-01-29Revert the changes in revision 1.2 to do duplicate directory suppression.jlam1-11/+3
We just let the rest of the wrapper scripts do it now that we can't overflow a fixed-sized circular buffer.
2004-01-29Use a stack instead of the broken implementation of a circular list for thejlam3-41/+25
argument buffer.
2004-01-29Reorder arguments so that all of the -l options come after the -L optionsjlam3-9/+25
which come after everything else. This ensure that all libraries come after all -L/dir options so that the Sun linker won't act stupidly.
2004-01-29Commit the buildlink3 developer's guide and the pkgviews user's guide untiljlam2-0/+453
they're polished enough to be included into Packages.txt.
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, sinceagc11-25/+25
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-27Abstract out the filter commmand used to list headers and libraries injlam1-11/+17
the package +CONTENTS file into a variable BUILDLINK_CONTENTS_FILTER.<pkg>.
2004-01-27Move all of the stuff relating to _BLNK_ADD_TO.* into the same if.endifjlam1-4/+4
block.
2004-01-27Add a missing "empty". Thanks seb!jlam1-2/+2
2004-01-27Also break up -R*:* into separate -R options.jlam1-4/+5
2004-01-27"fetch" is also a distinct build phase.jlam2-3/+4
2004-01-27Restore changes in 1.57 that were backed out in 1.60. The _BLNK_ADD_TO.*jlam1-27/+37
variables are no longer saved using MAKEFLAGS since the saved values aren't correct for recursively invoked make targets that bsd.pkg.mk uses internally for information-gathering, e.g. show-var, run-depends-list. Instead of saving the values, we now just don't compute them during phases of the build that don't care about the dependency information, e.g. when not in extract, install, or package.
2004-01-26add /usr/5bin for Solaris.grant1-2/+2
2004-01-26Revert changes in revision 1.57:seb1-36/+26
_BLNK_ADD_TO.* never get redefined for dependent packages (recursive make invocation in install-depends target) causing an endless loop.
2004-01-26Add a new definition, _PRESERVE_WRKDIR, which defaults to "no". Thisagc1-10/+15
definition is not intended to be set by the user, and so has a leading '_', and is undocumented. If set to "yes", then a "make clean" of the package will not be done, thereby preserving the working directory. This is useful for debugging problems in bulk builds.
2004-01-26Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248heinz3-10/+11
2004-01-25Purge one more instance of _NULL_SUFFIX. Fix by Marc Recht.jlam1-2/+2
2004-01-25Use -S instead of '-s ""' to check for package matches with a null suffix.jlam1-2/+2
This option is available as of pkg_install>=20030918 which is required in pkgsrc. Noted by Klaus Heinz.
2004-01-25pkgsrc requires PKGTOOLS_REQD>=20030918, so we don't need to conditionalizejlam1-7/+1
passing "-S" to pkg_admin.
2004-01-25The new standard for modifying BUILDLINK_DEPENDS.<pkg> is to append to thejlam1-2/+2
value instead of overriding. The reason is so that the most restrictive <pkg> dependency will always be a part of the dependency list.
2004-01-25Append to BUILDLINK_DEPENDS.<pkg> instead of overriding it so that thejlam1-2/+2
most restrictive dependency is always part of the DEPENDS/BUILD_DEPENDS list.
2004-01-25show-needs-update target: run ${MAKE}, not "make".grant1-3/+3
2004-01-25Instead of directly manipulating DEPENDS, BUILD_DEPENDS, and RECOMMENDED,jlam1-26/+36
create _BLNK_ADD_TO.<depmethod> for each of depencdency methods above from the BUILDLINK_DEPEND.<pkg> and BUILDLINK_RECOMMENDED.<pkg> lists and save the created values so they don't need to constantly be recomputed.
2004-01-25Suppress duplicate dependencies in the DEPENDS and BUILD_DEPENDS listjlam1-4/+8
added by buildlink3.mk files if the dependencies are _exactly_ the same.
2004-01-25Fix code that assumed that BUILDLINK_DEPENDS.<pkg> was a unique value byjlam1-2/+7
modifying it to accept a list.
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:xtraeme2-3/+16
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 intojlam2-45/+43
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-23Temporary fix for xpkgwedge'd packages which were getting buildlinkedagc1-2/+3
with a prefix of X11BASE, rather than LOCALBASE - check whether USE_XPKGWEDGE is defined to {"YES", "yes"} as well as looking for the existence of the xpkgwedge definition file when calculating the value of X11PREFIX.
2004-01-22sandboxed builds also need /usr/dt and /usr/ucblib on Solaris.grant1-2/+2
2004-01-22Add three additional mirrors to MASTER_SITE_SUSE.xtraeme2-4/+8
2004-01-22make date format string more portable.grant1-2/+2
2004-01-21Most of this file only applies if we're in some phase after buildlink, sojlam1-1/+19
enforce that using PHASES_AFTER_BUILDLINK. Also, transform the physical path to ${WRKDIR} into the value ${WRKDIR} in the wrapper scripts. This allows ${WRKDIR} to be a path that traverses a symlink. In particular, it allows users to set WRKOBJDIR to point to a symlink.
2004-01-21Introduce concept of the "phase" that we're in as we progress throughjlam2-11/+25
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-21Put more debugging information in .work.log: first output the command thejlam2-4/+10
wrapper script will transform, then output the transformed command. Prefix the original command with [*] and the transformed command with <.> to ease scanning of .work.log.
2004-01-21Packages that use Kerberos are automatically categorized as restrictedjlam1-5/+12
packages.
2004-01-21Add a new command "sub-rpath" that does the same thing as "rpath" but onlyjlam2-2/+17
protects subdirectories of the named paths in rpath options to the linker. Use sub-rpath to protect /usr/lib/* in rpath options to the linker.
2004-01-21Rename 'submangle' to 'sub-mangle'jlam2-9/+9
2004-01-21Allow -L/usr/lib/* as NetBSD-current actually has shared libraries there,jlam1-3/+6
and we should allow these to pass untouched through the wrapper scripts.
2004-01-20s/it's/its/snj2-4/+4
2004-01-20add archivers/pax, net/tnftp, security/kth-krb4 and textproc/nbsed togrant1-7/+9
the packages to skip on non-NetBSD because they blow away bootstrap-pkgsrc installed files. only create ${PKG_DBDIR} if it doesn't already exist.
2004-01-20make this work on Solaris by using perl's internal grep(). it isgrant1-15/+28
faster, and (f)grep can't handle very long word lists.
2004-01-20reverse some "if ! command;" statements so this works with Solaris'grant1-9/+9
/bin/sh, which doesn't deal with ! bulk builds now work out-of-the-box on Solaris. woo :-)