summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
AgeCommit message (Collapse)AuthorFilesLines
2000-08-28Don't output any errors if perl isn't available when doing a "make clean"jlam1-4/+4
in a package which has USE_PERL5.
2000-08-28Surround the PERL5_* in PLIST_SUBST with .if defined(USE_PERL5) ... .endifjlam1-3/+5
2000-08-28Correct thinko which caused p5-Tk to not register installation correctly.jlam1-3/+3
"/X/" was mistakenly replaced with "/", which broke the translation of the packlist to a correct PLIST.
2000-08-27Changes for building dynamic PLIST for perl packages:jlam1-11/+39
* Add a PERL5 variable that is always defined, set to the path of a pkgsrc-installed perl5 binary (${LOCALBASE}/bin/perl). * Define three new variables PERL5_SITELIB, PERL5_SITEARCH, and PERL5_ARCHLIB that define special locations used by perl. In particular, it seems packlists are always found under PERL5_SITEARCH. * Substitute the above three variables when generating PLISTs, but stripping away the initial ${LOCALBASE}/ part. This is for perl packages which don't generate packlists because they don't use the perl Makefile generator during the build process. * Append to the PLIST any files listed in the packlists named by PERL5_PACKLIST. Also append statements to try removing the directories installed into by the packlist-ed files.
2000-08-24In check-shlibs, use ${LDD}, instead of directly invoking "ldd" to checkjlam1-5/+10
whether the proper shared libs are available. Packages which use the emulation system should set LDD to the path of a the emulated ldd, or simply set it to true, e.g.: LDD?= /emul/linux/usr/bin/ldd LDD?= ${TRUE} Fixes PR#10853.
2000-08-23Add support for new variable "USE_XPM" for packages which use the Xpmtron1-1/+15
library. It will use the include Xpm library on systems with XFree86 4.0 or newer and the package on systems with XFree86 3.3.6 and older.
2000-08-21Evalute correct value for "OBJECT_FMT" in case multiple packages matchtron1-2/+2
a dependence.
2000-08-19 * Prevent " etc. in RESTRICTED (NO_{SRC,BIN}_ON_{CDROM,FTP}) and BROKENhubertf1-57/+60
from producing errors * Rework IGNORE handling: - IGNORE messages must now include the pkg's name - if multiple reasons exist for a pkg to be ignored, they are now all printed - IGNORECMD is gone * Make 'mirror-distfiles' not print a warning if NO_SRC_ON_FTP is set (I really don't want to see that list every day!) * Catch one leftover 'depends' -> 'install-depends'
2000-08-18 * Replace MIRROR_DISTFILES with NO_SRC_ON_FTPhubertf1-9/+9
* Replace NO_CDROM with NO_SRC_ON_CDROM and NO_BIN_ON_CDROM * Add NO_{SRC,BIN}_ON_{FTP,CDROM} to BUILD_DEFS (in case someone wants to re-distribute a binary pkg, so he has a chance to know about resitrictions) * Adjust 'mirror-distfiles' target for NO_SRC_ON_FTP
2000-08-18check-shlibs: previous commit didn't work for pkgs using @cwd. Lethubertf1-4/+4
pkg_info evaluate this, and use the result
2000-08-17USE_PKGLIBTOOL is no morewiz1-12/+4
2000-08-17print-PLIST: move all the variables from PLIST_SUBST into their non-expandedhubertf1-4/+16
for (e.g. netbsd -> ${LOWER_OPSYS})
2000-08-16Add support for "lha" archives (as distfiles). Patch submitted by SUNAGAWAfredb1-10/+11
Keiki in PR 10819. Expanded and revised comments concerning same. Also, removed some blank lines, in keeping with the style of the rest of the file, and moved the comments for 'EXTRACT_USING_PAX' closer to the relevant code. (They have slipped farther and farther apart as the 'EXTRACT_SUFX' section has expanded.)
2000-08-16Look in the right directory for binaries and libraries when doing askrll1-2/+2
check-shlibs.
2000-08-16print-PLIST: on ELF systems, exclude libfoo.so.x and libfoo.sohubertf1-2/+10
2000-08-13sunsite.auc.dk is no longer an X contrib mirror.veego1-2/+1
2000-08-12'perl --version | grep "version"' won't work with perl-5.6.0. Change tojlam1-2/+2
'perl --version | grep "This is perl"'.
2000-08-07Let "FATAL_OBJECT_FMT_SKEW=no" really work.fredb1-2/+2
2000-08-07Don't override EXTRACT_CMD if EXTRACT_SUFX is ".zip".wiz1-2/+2
2000-08-06forgot one depends -> install-depends renamehubertf1-2/+2
Hinted at by wiz
2000-08-03Fix LTCONFIG_OVERRIDE:hubertf1-2/+4
'chmod +x' the newly generated ltconfig file, so it is can be run
2000-08-01In LTCONFIG_OVERRIDE code, remove the old ltconfig file before writingjlam1-1/+2
our own in it's place. This avoids the problem of if the old ltconfig file is a symbolic link to somewhere else in the filesystem.
2000-08-01 * More target renaming:hubertf1-22/+22
depends-list => build-depends-list package-depends => run-depends-list print-depends-list => print-build-depends-list print-package-depends => print-run-depends-list * While there, fix print-run-depends-list to not seperate items by \n. Changes discussed with wiz.
2000-08-01Some more target renaming:hubertf1-7/+7
depends => install-depends run-depends => install-run-depends build-depends => install-build-depends
2000-08-01Do _not_ pass down NEED_NCURSES in the make flags, or we end upwiz1-2/+4
with a recursive dependency of ncurses on itself on <1.4Y. Problem found by Dan McMahill.
2000-08-01 * Remove RUN_DEPENDS (left in packages.7 intentionally)hubertf1-66/+32
* Renamed misc-depends to run-depends, and drop (old) run-depends altogether Code reviewed by wiz.
2000-08-01hand IS_LESSTIF off to MAKEFLAGS, and don't (re)calculate if not necessaryhubertf1-1/+4
2000-08-01expr 0 + 0 returns an error - catch!hubertf1-2/+2
2000-07-31Motif-checking code broke when X11PREFIX == X11BASE and both lesstif andjlam1-16/+8
lesstif12 were installed, and set MOTIFBASE to the wrong value when USE_MOTIF12 was set. Fix this by checking for 1.2/2.0 headers when setting MOTIFBASE. Also, use just X11PREFIX instead of extra checks for X11PREFIX == LOCALBASE throughout bsd.pkg.mk.
2000-07-30The "lesstif12" package is in directory "pkgsrc/x11/lesstif12" nottron1-2/+2
in "pkgsrc/x11/lesstif".
2000-07-30Add new "info" target which calls "pkg_info" for the package in thetron1-1/+6
current directory.
2000-07-29Fixup Motif-handling code to work again after X11PREFIX changes.jlam1-9/+29
Also add new USE_MOTIF12 variable to be set by packages requiring the Motif-1.2 headers/libraries, e.g. www/Mosaic.
2000-07-28Add USE_CURSES for packages that need curses functionality that onlywiz1-1/+34
got added in 1.4Y; on older version of NetBSD, ncurses will be used. Replace previous code that did the same, but wasn't shared.
2000-07-28Pull in bulk-build targets if BATCH is sethubertf1-1/+10
2000-07-26Don't apply ${DIST_SUBDIR} twice.hubertf1-15/+15
Fixes PR 10646 by Kawaguti Ginga <k.ginga@nbwww.isc.org ???>.
2000-07-25When constructing the +BUILD_INFO file, escape ${ECHO} using "make"'s :Q,fredb1-2/+2
rather than enclosing in quotes. Quotes doesn't work very well if the BUILD_INFO item already has quotes, as is often the case for ${RESTRICTED}.
2000-07-25Optimise by setting the EVAL_PREFIX names and directories in MAKEFLAGS, soagc1-2/+4
that they get passed to sub-makes.
2000-07-24Let DEPENDS_TARGET default to 'install' not 'reinstall' for 'make update'.rh1-1/+5
This should fix the brokenness of resumed updates for those who do not set DEPENDS_TARGET in their /etc/mk.conf.
2000-07-23Add 'RESTRICTED' to ${BUILD_DEFS}, so that any restrictions are recordedfredb1-3/+3
in the binary package.
2000-07-21Make REINSTALL=YES useful for 'make update' by explicitly deinstallingrh1-12/+13
each package before attempting to install it. Fixes a problem if 'make clean-update' was called at the wrong time. Make the 'clean-update' target warn about a preserved ${DDIR} and usage of 'make update REINSTALL=YES' if necessary.
2000-07-20don't list 'mipsel' as a port name in the README.html's for the packages.dmcmahill1-2/+2
This is consistent with not listing 'm68k'.
2000-07-20make the update target work with absolute pathnames in ${DDIR}rh1-3/+3
2000-07-20Introduce NO_{SRC,BIN}_ON_{FTP,CDROM}. Warn about placing files on CD-ROMrh1-1/+17
or ftp during 'make package' or 'make mirror-distfiles'.
2000-07-19Use "reinstall" as default for DEPENDS_TARGET, to use any pkg alreadyhubertf1-5/+3
built and possible deinstalled as dependency. Addresses PR 10629 by Erich.T.Enke@wheaton.edu. (If that's not enough, we can still introduce a "make clean ; make install"- type target, but for now i'd prefer not to was the cycles)
2000-07-19Revise previous multi-component-pathname fix: do not depend on therh1-4/+7
directory name of a package being the same as the package name when creating ${DDIR} entries.
2000-07-18Fix clean-update target to remove ${DDIR} if it didn't exist before. Thisrh1-2/+4
prevents 'make update' from "resuming" an update that never even began. Thus, a sequence of make clean-update make update is now safe, no matter if 'make update' was started previously or not.
2000-07-18Fix the ${DDIR} target to work with multi-component paths. This makes therh1-8/+9
update target work with pkgsrc installations that have more (or less) than two components (like /src/NetBSD-current/pkgsrc). Thanks for Matthias Scheler for noting this!
2000-07-15Only look at the first prefix for a package when evaluating the prefixagc1-2/+2
using EVAL_PREFIX.
2000-07-15Instead of the clunky SHOW_PKG_PREFIX, introduce an EVAL_PREFIX definition,agc1-3/+8
which takes entries of the format <make-definition-name>=<pkgname>. This has not been added to MAKEFLAGS because (a) premature optimisation is the root of all evil, and (b) because the .for loop used to implement this shows the wrong results when multiple prefices are evaluated. Modify all the package Makefiles to use EVAL_PREFIX, thereby simplifying them considerably. ALso simplify the logic to calculate the prefix as well.
2000-07-14Use "printf("%d", ...)" instead of "print ..." when invoking "awk" intron1-3/+3
"print-pkg-size-this" or "print-pkg-size-depends" targets to avoid package sizes like "2.51887e+09" which "expr" can't handle.