summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2000-07-11Make the determination of the pre-req package's installed directory beagc1-1/+12
a bit more user-friendly. Introduce a show-{gtk+,imlib,kdebase,qt1,qt2,xpm}-prefix target in bsd.pkg.mk, and use "${MAKE} show-*-prefix" in package Makefiles.
2000-07-07add missing flags to the unzip commanddmcmahill1-2/+2
2000-07-06Add bin-install package: will install a binary package if available,hubertf1-1/+16
else run a "make package". XXX needs to be extended to also look on some FTP sites.
2000-07-06Allow overriding PKGSRCDIR and PKGPATHhubertf1-3/+3
2000-07-06Add PKG_DEVELOPERhubertf1-1/+8
2000-07-06Eval PKG_DEVELOPER, and if sethubertf1-1/+7
* force zero fuzz on patches * run check-shlibs after a package is installed
2000-07-04 * Fix processing of @dirrm commands: use the proper RE in sed, andhubertf1-23/+24
move it after the processing, so empty dirs are still handled properly * Align trailing \s
2000-07-04print-PLIST: recognize MACHINE_ARCH and OPSYS_LOWER, and substitute withhubertf1-3/+12
${xxx} in generated PLIST
2000-07-03Don't bother defining an internal _USE_LOCALBASE_FOR_X11 variable - it'sagc1-6/+5
not necessary. ".if ${X11PREFIX} == ${LOCALBASE}" works just as well.
2000-06-30Replace one occurence of "$NetBSD$" by something that won't be replacedhubertf1-2/+2
by CVS.
2000-06-28eliminate a few more makes from being forked off in the clean-depends areadmcmahill1-4/+14
2000-06-28only clean depends with the "clean-depends" target, not the top leveldmcmahill1-5/+9
2000-06-28rework how the DEPENDS tree is traversed in the 'clean-depends' target.dmcmahill1-10/+35
now, each branch is only traversed once instead of possibly multiple times. depending on the size of the DEPENDS list, the speedup is _huge_. For example make clean CLEANDEPENDS=yes in x11/gnome now takes around 12 minutes instead of 4 hours on a DECstation 5000/240. Thanks to Hubert for help and suggestions on this. Look for more changes to come as this same problem exists in other areas.
2000-06-28Remove the user setting of the USE_LOCALBASE_FOR_X11 definition.agc1-6/+13
(Users can still set it if they want, but it won't make much difference). In bsd.pkg.mk, check for the presence of the xpkgwedge package to determine whether to use LOCALBASE for X11 programs. Set _USE_LOCALBASE_FOR_X11 (an internal definition) if xpkgwedge is installed. Remove BUILD_DEPENDS on xpkgwedge (it would always have been true anyway). Add a new X11PREFIX definition, which reflects the PREFIX for X11 packages, and set it to LOCALBASE or X11BASE accordingly. Remove all references to USE_LOCALBASE_FOR_X11 from the xpkgwedge package. In all, make the installation of xpkgwedge a tad less clumsy.
2000-06-27 * some whitespace fixhubertf1-5/+36
* s/.MAKEFLAGS/MAKEFLAGS/ in one place * add check-shlibs target. Need to at least document that later. :) (Should be added at end of root-install target, to check if the pkg's binaries/libs will find the shared libs they need)
2000-06-26rename Size* to .Size*wiz1-6/+6
2000-06-26Use $INSTALL_COOKIE in one appropriate placehubertf1-3/+3
2000-06-25fix typo in lasthubertf1-11/+7
2000-06-25Recognize EXTRACT_SUFX=".zip": pull in unzip pkg, and set EXTRACT_CMDhubertf1-2/+5
2000-06-25Tune the print-pkg-size targets to not re-calculate the size for all thehubertf1-23/+23
depends, but use pkg_info -sS instead. Some code-restructuring and renaming of the targets while there: print-pkg-size-this prints the size of the current pkg, and print-pkg-size-depends prints the size of all the depends ONLY (i.e. NO LONGER including the size of the current pkg). Speeds up "make install" on a pkg requiring teTeX from ~3.2s to ~1.7s.
2000-06-23In package-depends, don't print warnings about non-existing dirhubertf1-12/+16
if the information from that dir isn't used. Reviewed by: wiz
2000-06-19The "package-path" target is no longer needed (use ${PKGPATH})hubertf1-7/+2
2000-06-16Add print-PLIST target for automatic PLIST generation:hubertf1-1/+74
- files & symlinks first - @exec/@unexec calls are added for info files - @dirrm statements last - empty directories are handled properly - dirs from mtree files are excluded Usage: - make install - make print-PLIST | brain >pkg/PLIST Moved over from bsd.hf-pkg.mk, after it's lived there for quite some time now.
2000-06-10The perl archive on ftp.cdrom.com moved to ftp.freesoftware.com.veego1-2/+2
2000-06-08Added an entry for ARLA_CACHE, the location where arla looks for it'swennmach1-1/+5
local cache.
2000-06-05ignore errors from 'cd' in binpkg-list (lotsa useless warnings from thehubertf1-2/+2
daily cron job after the rototiling)
2000-06-05Restructure test for "${LICENCE}" so that "${ONLY_FOR_PLATFORM}" willtron1-18/+21
not be ignored if a the licence is acceptable.
2000-06-04Fix aout brokenness. Bump libtool to 1.3.5nb3.rh1-3/+3
2000-06-04Make USE_LIBTOOL depend on libtool-1.3.5nb2 or later.rh1-3/+3
2000-06-04Eliminate the sort and tail when determining PKGTOOLS_VERSION.mycroft1-2/+2
2000-06-04Fix pasto.mycroft1-2/+2
2000-06-04Allow using absolute paths as second component of DEPENDS again.hubertf1-2/+3
2000-06-04Don't enforce people to use relative dirs as second components of (BUILD_,RUN_)hubertf1-3/+3
DEPENDS. (there may be some other places from previous commits where that was added in a frenzy of over-optimisation. Will re-visit & check these.
2000-06-03Inline HTMLIFY using make(1) subsitution rules. Eliminates two more sed(1)mycroft1-5/+3
invocations per dependency. XXX This is really quite stupid, in that the characters we're quoting are also shell metacharacters that are passed unquoted to the shell in other places. CVS ----------------------------------------------------------------------
2000-06-03Explicitly pass down MAKEFLAGS to all sub-makes, not just the first.mycroft1-6/+6
2000-06-03* Fix a bug in clean-depends: the `sort -u' was ineffective because the `tr'mycroft1-17/+24
was missing. * Do make(1) pattern substitutions for fetch-list-recursive. * Eliminate subshells in clean-depends and fetch-list-recursive. * Make the rmdir for the WRKOBJDIR removal silent if it fails. * Slight optimization to fetch-list-one-pkg: don't do the basename operation twice.
2000-06-03/bin/echo -> echo. This file appears to have NetBSD-specific paths already,mycroft1-2/+2
so I'm not worried about .ifdefing it at the moment.
2000-06-03Remove links in "package-links" target before trying to create them totron1-1/+2
avoid failure if they already exist. We cannot use "ln -f" here because it doesn't work as expected under Solaris.
2000-06-03Fix missing redirection in ${DDIR} generation.mycroft1-2/+3
2000-06-03Fix broken "update" target.tron1-3/+3
2000-06-03Use relative paths when adding magic dependencies for USE_* variables.mycroft1-19/+19
2000-06-03Another optimization; don't cd twice.mycroft1-6/+5
2000-06-03Clean up `make clean' a little. In particular, make it safe with WRKOBJDIRmycroft1-8/+10
when doing a simultaneous build on another platform.
2000-06-03Missed a use of PKGSRC_SUBDIR in previous.mycroft1-2/+2
2000-06-03The __canonical_* stuff for WRKOBJDIR is unnecessary. Just use PKGPATH tomycroft1-9/+2
derive the work directory. No more !=s in recursive make(1)s.
2000-06-03Oops; use ?= for PKGBASE and PKGVERSION, so pkgs can derive their PKGNAMEs ↵mycroft1-3/+3
from them.
2000-06-03Add PKGPATH, PKGBASE, PKGVERSION and PKGWILDCARD make(1) variables, so thatmycroft1-24/+32
the substitution hacks are all done in one place. Protect a few things with double quotes just to be safe. Fix `readme' target that was left broken in last commit.
2000-06-03Clean up the previous commits:hubertf1-12/+29
* in package-depends split handling of DEPENDS and RUN_DEPENDS again. The fact that the code was equal for both cases (and thus broken!) is no excuse to fold the two together. (What's the difference? DEPENDS has a pkg name/patter as first value, RUN_DEPENDS has a executable name of file/path) * cut down two more ()s * fix binpkg-list to find binary pkgs again. Remember, $PACKAGES is where binary packages are placed, under a well defined directory structure (including dir "All" and category dirs). * Sort available binary pkgs in README.html by machine again * Inline one more use of the "package-path" target. It's unused now. Anyone care if we remove it? * Fix variable name in print-pkg-depend-sizes: the first component of DEPENDS is a package-name/patter, not a program.
2000-06-03Pass down ${MAKEFLAGS}.mycroft1-13/+9
2000-06-03Another minor speedup.mycroft1-3/+2