summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2003-09-17patch -b <suffix> is obsoleted, use -z <suffix>itojun1-2/+2
2003-09-17binary format detection for OpenBSD. Frederick Bruckmanitojun1-1/+9
2003-09-17Introduce a new variable "CONF_DEPENDS" for pkgviews: a package'sjlam5-15/+65
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-16apply patch from Jonathan Perkin on tech-pkg@, bringing the list ofgrant1-8/+13
files to preserve in sync with reality.
2003-09-16Use pkg_admin(1) instead of pkg_delete(1) to manipulate the file entries injlam1-2/+2
pkgdb.byfile.db.
2003-09-16fix some indentationgrant1-29/+29
2003-09-16backout previousitojun1-2/+2
2003-09-16OpenBSD ships with perl in /usr/bin/perlitojun1-2/+2
2003-09-15Add a --mode== for libtool 1.5skrll1-2/+2
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 MANINSTALL and document it. This is to ensure it's always defined, evenjmmv1-1/+6
if system .mk files do not set it (when using devel/mk-files, for example).
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-14Set default value of USE_ESOUND (to YES) and document it.jmmv1-1/+7
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-14-lpthread is a no-op on Darwin, but it messes up buildlink. So add a newdanw8-9/+22
flag _OPSYS_PTHREAD_AUTO ("yes" for Darwin, "no" for everyone else) and make pthread.buildlink2.mk do basically nothing in that case.
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@.
2003-09-14Update PKGTOOLS_REQD to 20030914. This version fixes a problem injlam1-2/+2
pkg_delete(1) where recursive pkg_delete'ing didn't work if ${PKG_DBDIR} != /var/db/pkg.
2003-09-14Document that a buildlink3.mk file must either directly or indirectly setjlam1-1/+9
the value of BUILDLINK_PREFIX.<pkg>.
2003-09-14Document that the correct "pop" action uses :C and not :Sjlam1-2/+2
2003-09-13Document IMAP_UW_MAILSPOOLHOMEkim1-1/+7
2003-09-13Fix cases where we were calling "${PKG_BEST_EXISTS} <pkgbase>". <pkgbase>jlam1-7/+8
isn't actually a pkgpattern; what we really want is <pkgwildcard>. This should fix breakage with the "update" and "replace" targets introduced in revisions 1.1275 and 1.1278.
2003-09-13Kill the odd "duplicate checksum target" warning by rearranging a testjlam1-2/+2
condition. This only happened when we set PKG_*_REASON and have extracted the package.
2003-09-13We just depend on the package that best matches the pkgpattern, so removejlam1-17/+2
the unreachable code surrounded by checks for matching multiple packages.
2003-09-13Change a few more uses of PKG_INFO into PKG_BEST_EXISTS. This correctsjlam1-5/+6
the package size calculation and finding out for which packages we need to add to +REQUIRED_BY.
2003-09-13Add the config files to the view also when there are rc.d scripts present.jlam3-6/+13
Ignore any .pkgsrc files as those aren't meaningful for views.
2003-09-13Don't add the perl dependency in bsd.pkg.mk if BUILDLINK_DEPENDS.perl isjlam1-2/+2
defined (which signals that a buildlink[23].mk file will be included).
2003-09-13Correct an error message to be more meaningful, and optimize slightly byjlam1-5/+4
avoiding a call to pkg_info(1).
2003-09-13Only run the tests if TEST_TARGET is non-empty.jlam1-2/+2
2003-09-13In cases where we need the best match for a pkgpattern, usejlam2-20/+27
"${PKG_BEST_EXIST} pkgpattern" instead of "${PKG_INFO} -e pkgpattern". The latter can return multiple package names if there are multiple versions of a piece of software installed. PKG_BEST_EXIST is defined to be "${PKG_ADMIN} -b -d ${_PKG_DBDIR} -s "" lsbest", so it searches for the best installed package that matches the given pkgpattern or else returns the empty string. Bump PKGTOOLS_REQD to 20030912 since pkg_admin(1) needs to know about "-b" and "-d <dir>".
2003-09-12Make the PERL5_* definitions sane in a pkgviews world.jlam1-11/+20
2003-09-12Sync comments with reality.salo1-6/+6
2003-09-12remove redundant comment about USE_GCC2 and USE_GCC3 until they aregrant1-5/+3
better handled.
2003-09-12move a SunPro tweak to compiler.mk.grant2-10/+11
2003-09-12tidy up handling of LDFLAGS wrt USE_GCC_SHLIB a little.grant1-5/+12
2003-09-12Typos/punctuation/caps.salo2-4/+4
2003-09-12start of improved compiler handling, mostly derived from the existinggrant3-39/+100
gcc buildlink2.mk files and splitting the non-buildlink2.mk bits out into compiler.mk. this allows USE_GCC2 and USE_GCC3 to work with non-buildlink2 packages again.
2003-09-12Create two new variables:jlam1-2/+16
DEFAULT_VIEW.${PKGBASE} default view for ${PKGBASE} VIEWBASE base location of files at run-time The first is meant to be set by package Makefiles or in /etc/mk.conf, while the latter is meant to read/used only. VIEWBASE is either ${LOCALBASE} or or ${LOCALBASE}/${DEFAULT_VIEW.${PKGBASE}} depending on whether the first variable is the empty string or not.
2003-09-12Move the default settings for USE_BUILDLINK[23] from bsd.pkg.mk intojlam2-7/+8
bsd.prefs.mk so that they may be tested/used in buildlink[23].mk files.
2003-09-12Make adding config files to views other than the default view work ifjlam5-16/+23
PKG_SYSCONFBASE points outside of ${PREFIX}.
2003-09-11s/vulnerabilities/pkg-vulnerabilitesdmcmahill1-2/+2
2003-09-10During print-PLIST, use PKGNAME_NOREV to search for matches, not PKGNAMEjmmv1-2/+2
(though, keep the ${PKGNAME} replacement, as it contains the right value in the PLIST).
2003-09-10There's no need to preserve mode bits when copying the x11-links tree.jlam2-4/+4
This fixes problems where .buildlink assumes the mode of ${LOCALBASE}/share/x11-links, which may be read-only.
2003-09-10Create TEST_ENV variable that's initially just MAKE_ENV, but can be addedjlam1-2/+3
to by a package Makefile. This is passed as the environment when running the test target. We often need this since packages can require setting up LD_LIBRARY_PATH so that we can test before installation.
2003-09-10Check that ${_PKG_DBDIR} exists before cd'ing into it. This makesjlam1-2/+5
building using buildlink3 on systems that have never seen pkgsrc before work properly.
2003-09-09Update PKGTOOLS_REQD to 20030907. Critical fixes include makingjlam1-2/+2
"pkg_delete -O pkgname" actually remove file entries for pkgname from the pkgdb.byfile.db database. This makes FORCE_PKG_REGISTER work again (this must have been broken for a long time).
2003-09-09Check that the lockfile isn't stale from being left over across a systemjlam1-1/+6
reboot by testing whether or not /var/run/dmesg.boot is newer than it or not. Fix suggested by agc@NetBSD.org and simonb@NetBSD.org.
2003-09-09Use pax(1) instead of "cp -R" so we preserve symlinks instead of followingjlam2-4/+4
them.
2003-09-09Note how package views is also similar to GNU Stow, but state clearly thejlam1-6/+12
main difference in philosophy between package views and these other software management systems.
2003-09-09Document this file, and do the command length reduction by suppressingjlam1-2/+48
repeated options as is done in in revision 1.3 of wrapper.sh.
2003-09-09Remove this unsupported float comparison. How did this worked? I wonder...seb1-4/+13
Introduce private variables _{MAKEINFO,TEXINFO_REQD}_{MAJOR,MINOR} holding the major and minor number version numbers of available makeinfo and of the minimum required version. Use these to sort out if devel/gtexinfo is needed as dependency.