summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2003-09-21don't try to use tools if they haven't been installed yet.grant1-1/+11
fixes PR pkg/22844.
2003-09-21Test for egcs needs to come first, since egcs -v output alsowiz1-5/+5
contains "gcc". From Greg A. Woods in PR 22866.
2003-09-21override AS, AR, CPP and LD unless they are set to absolute path.grant1-1/+19
avoids relying on having /usr/ccs/{bin,lib} in $PATH.
2003-09-20Add two new pure-ftpd variables:salo1-1/+12
PURE_FTPD_USE_TLS, PURE_FTPD_USE_VIRTUAL_CHROOT
2003-09-20automake.mk only needs to go ../mk/autoconf.mk to find autoconf.mk, notchris1-2/+2
../../mk/autoconf.mk
2003-09-19Don't have the libtool wrapper add -L<dir> where <dir> is a path in srcdirjlam1-1/+2
to the cache since we do lots of custom post-processing in that case.
2003-09-19Add some debugging info to determine which wrapper added which lines to thejlam1-2/+2
common cache.
2003-09-19Remove spurious }.jlam1-2/+2
2003-09-19Make BUILDLINK_TARGETS an add-on variable to _BLNK_TARGETS so that thejlam1-4/+9
buildlink-<pkg> targets created by this file are executed before any buildlink3.mk-provided targets.
2003-09-19add m4 to the list of tools.grant1-2/+20
2003-09-18fix regex when updating /etc/shells so that eg. "/bin/tcsh" doesn'tgrant2-4/+4
mistakenly cause the removal of eg. "/usr/pkg/bin/tcsh". PKG_SHELL should be an absolute path, anyway.
2003-09-17explain why including this file in pkg Makefiles is useless.grant1-1/+4
2003-09-17honour GCC_REQD by testing $CC -v against it, and only pull in pkgsrcgrant1-9/+82
gcc if required. see the comments for how to use the variables which influence the decision. eliminate some spurious shell warnings while I'm here.
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.