summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2004-03-29Make lang/perl58 the default perl package installed when a package needsjlam1-16/+2
Perl as a dependency.
2004-03-29Set DFLT_PKG_SYSCONDIR to the location that PKG_SYSCONFDIR would havejlam1-20/+20
been set to if it hadn't been overridden by PKG_SYSCONFDIR.<pkg>. This can be used in /etc/mk.conf to re-override certain PKG_SYSCONFDIR.<pkg> in /etc/mk.conf from various package Makefiles, e.g. PKG_SYSCONFDIR.openssl= ${DFLT_PKG_SYSCONFDIR} PKG_SYSCONFDIR.tcp_wrappers= ${DFLT_PKG_SYSCONFDIR}
2004-03-29Allow setting BUILDLINK_WRAPPER_LOG in /etc/mk.conf and using that as thejlam1-1/+5
log file used by all of the wrapper scripts.
2004-03-29Handle "-Xlinker" being equivalent to "-Wl," when passing argumentsjlam1-11/+30
to the linker. This fixes a bug building Emacs on Linux.
2004-03-29Look at the list of run-time dependencies for the package (gleanedjlam2-16/+224
from BUILDLINK_PACKAGES, which is built up by including buildlink[23].mk files in the package's Makefile), and for each dependency, if it's already installed, then automatically include the buildlink[23].mk file for that dependency. This means that for any package, the dependencies are taken to be the union of the dependency information as laid out in /usr/pkgsrc and the dependency information of installed packages stored in /var/db/pkg. This handle situations where an installed package has _more_ dependencies than the package as it exists in pkgsrc. This can occur, e.g., if you build databases/gnome-libs with BDB_DEFAULT=db4, and then you decide that you'd rather build other packages using the native Berkeley DB, so you remove that setting from your environment. You'd still like for your packages that depend on gnome-libs to also depend on db4, but the pkgsrc Makefiles no longer reflect that dependency.
2004-03-29Make the list of files "buildlinked" be unique for cleanliness' sake.jlam1-1/+2
2004-03-29Instead of saving all of the buildlink3 variables into the command-linejlam1-4/+30
environment, it creates a Makefile fragment that is included within bsd.buildlink3.mk that contains all of the buildlink3 variable definitions that we want to pass to make(1) invocations on the same package Makefile. Change the make variables that are only relevant for the current package to use BUILDLINK_VARS instead of MAKEFLAGS. This avoids overflowing the command line with lots of extra arguments.
2004-03-29umask should be 002.tv1-2/+2
2004-03-28Remove USE_PKGSRC_XFREE86 which has been replaced by X11_TYPE=XFree86.xtraeme1-6/+1
2004-03-28Enable X11_TYPE=XFree86.xtraeme1-3/+3
2004-03-28Rearrange the wording slightly in an informational message, to avoidagc1-2/+2
some email filters and false positives.
2004-03-27Remove traces of automake-1.7.wiz1-6/+2
2004-03-27wrap a long line in BUILD_DEFS output, tweak the message slightly.grant1-3/+4
2004-03-27don't assume that /usr/bin/gunzip will exist, use /usr/bin/gzip -dgrant1-2/+2
instead.
2004-03-26Reverse the use of USE_DB185 in bdb.buildlink3.mk -- it defaults tojlam1-5/+10
"yes" and packages that can't use the DB-1.85 API should set it to "no". This makes the native DB the preferred DB if it exists.
2004-03-26Ensure that ${LOCALBASE}/lib is always in the runtime library search path,jlam1-1/+8
even for packages that have no dependencies.
2004-03-26Attribute "my thoughts" to the original author.jlam1-3/+3
2004-03-22If BULK_BUILD_CONF points to an absolute path, don't try to use itjschauma1-2/+6
with a leading "./".
2004-03-22Let _ONLY_FOR_PLATFORMS.sun-jdk14 recognize NetBSD 2.0 and future versions.kristerw1-2/+3
2004-03-22Due to the special handling of pkgtools/digest in pkgsrc (it must bejlam1-11/+18
installed before the normal dependency checks), on a system without any packages installed, we can run into the problem where digest won't install because it has already been installed as part of installing a build dependency. This can happen if, e.g., PKGSRC_COMPILER is set to "ccache gcc", and you try to build devel/gmake. Change the way that the uptodate-digest target installs pkgtools/digest by ensuring that pkgtools/digest is deinstalled just before installing it.
2004-03-21Move the code that includes the package builtin.mk files into a separatejlam2-39/+116
file, bsd.builtin.mk. Document the requirements and the recommended structure of a builtin.mk file in the comments at the top of bsd.builtin.mk.
2004-03-19Don't match "bin/libtool" and symlink into the buildlink directory ifjlam1-2/+2
libtool/buildlink3.mk is included by a package Makefile, as that symlink overwrites the libtool wrapper script. This fixes pkg/24851.
2004-03-19add another darwin linker option that needs to be protected fromdanw1-4/+5
path munging
2004-03-19When using imake and buildlink together, assert our definitions ofdanw1-1/+4
CC and CXX on the make command line, in case imake's definitions use complete paths (which would get around the buildlink wrappers)
2004-03-18don't assume there will always be broken packages. noted by wiz.grant1-2/+5
2004-03-18Back out part of previous that was an unrelated change accidentallyjlam1-107/+2
committed.
2004-03-18Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properlyjlam6-84/+183
by moving the inclusion of buildlink3.mk files outside of the protected region. This bug would be seen by users that have set PREFER_PKGSRC or PREFER_NATIVE to non-default values. BUILDLINK_PACKAGES should be ordered so that for any package in the list, that package doesn't depend on any packages to the left of it in the list. This ordering property is used to check for builtin packages in the correct order. The problem was that including a buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed from BUILDLINK_PACKAGES and appended to the end. However, since the inclusion of any other buildlink3.mk files within that buildlink3.mk was in a region that was protected against multiple inclusion, those dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-17fix a file descriptor leak in the darwin PLIST so->dylib translationdanw1-3/+5
script that broke packages that installed too many shared libraries (eg libwww).
2004-03-17Also accept DISTCC_VERBOSE in /etc/mk.conf to allow for easier debugging.jlam1-1/+4
2004-03-17Allow DISTCC_HOSTS and DISTCC_SSH to be set in /etc/mk.conf to modify thejlam1-1/+8
behaviour of distcc when used in the compiler framework.
2004-03-16If the ${PKGBASE} of a package doesn't match the token passed tojlam1-1/+2
BUILDLINK_PACKAGES, then set BUILDLINK_PKGBASE.<pkg> explicitly so that we can map from <pkg> to BUILDLINK_PKGBASE.<pkg>.
2004-03-16Be more permissive in finding libraries to symlink into the buildlinkjlam1-2/+2
directory as libraries may be found outside of ${PREFIX}/lib. We now match anything that looks like "/lib[^/]*$".
2004-03-16Enforce vulnerability list being installed & correct & upto-datehubertf2-4/+18
before trying to upload anything.
2004-03-16Some of the builtin.mk files append more values to BUILDLINK_PACKAGES, sojlam1-3/+4
make a separate loop to set the default value of USE_BUILTIN.<pkg>.
2004-03-15Add MesaLib and glu to the list of packages for which we prefer the pkgsrcjlam1-3/+3
libraries. This now matches the behaviour in pre-buildlink3 days.
2004-03-15Add -L${X11BASE}/lib for the benefit of any *-config scripts onjlam1-5/+10
use-xpkgwedge systems. Not needed when building within pkgsrc, but useful if you want to link outside 3rd-party software against pkgsrc-controlled libraries.
2004-03-15Alphabetize the PREFER_PKGSRC list for easier searching.jlam1-3/+3
2004-03-14Back out previous and remove an extra ")" that was causing "malformedjlam1-3/+2
conditional" problems.
2004-03-14Apparently, some pre-conditions aren't true, so set a default USE_BUILTINjlam1-1/+2
value before checking it.
2004-03-14Don't bother checking whether a package is actually built-in or notjlam1-4/+10
in the fall-through code for setting a default value for USE_BUILTIN.<pkg>. This provides ensures that USE_BUILTIN.<pkg> is always set for every package listed in BUILDLINK_PACKAGES. Back out previous as it's now unneeded.
2004-03-14Fix a 'malformed conditional' error.jmmv1-2/+2
2004-03-13Test was reversed.jlam1-2/+2
2004-03-13If USE_DIGEST is "no", then skip the check for an up-to-date digest.jlam1-1/+7
XXX These changes should be removed once we have a working XXX pkgsrc/bootstrap.
2004-03-13Don't save the value of _NEED_NEWER_GCC as it gets a bad value on 1.5.3.jlam1-2/+2
XXX This should be removed after pkgsrc/bootstrap is up and running.
2004-03-13Discard unused error messages from "pkg_admin pmatch".jlam1-2/+2
2004-03-13Provide a way to forcibly use the native GCC by setting USE_NATIVE_GCC injlam1-4/+10
a package Makefile. Also modify pkg_admin checks to drop stderr so that errors aren't so verbose.
2004-03-13Note what _CC contains.jlam1-1/+2
2004-03-13Remove some more of the "last touched by" code.wiz1-4/+2
2004-03-13Indent.uebayasi5-26/+26
2004-03-13During the "extract" phase (which is when "install-depends" is invoked),jlam1-1/+15
add all of the direct _and_ indirect dependencies to the DEPENDS list. This causes "install-depends" to check that every dependency, whether it be direct or indirect, is up-to-date. This fixes PR 24721 by Jeremy Reed.