summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2004-04-27Pull up a bulk build fix to the pkgsrc-2004Q1 branch (and some fixesagc2-28/+17
for comments which were sandwiched in the middle). Requested by hubertf in ticket pkgsrc-25. "Deprecate RSYNC_DST_SPECIFIC and RSYNC_DST_OTHER and replace them by RSYNC_DST. Warn if any of them is not set properly, and in general adjust to the new layout on the FTP server."
2004-04-27Pull up bulk build fix to the pkgsrc-2004Q1 branch.agc1-2/+2
Requested by hubertf in ticket pkgsrc-18. "Catch UPDATE_VULNERABILITY_LIST being unset, default to be conservative and run it if it's not explicitly set to "no""
2004-04-27Pullup "specific bulk package" functionality to the pkgsrc-2004Q1agc3-9/+48
branch. Also pullup a minor wording change in an informational message whilst I'm here. Requested by dmcmahill in ticket pkgsrc-14. "Add support in the bulk build code to properly deal with SPECIFIC_PKGS=1. In particular, when SPECIFIC_PKGS is set in /etc/mk.conf, you can now do sh mk/bulk/build and have the right thing happen. Only those packages explicitly listed and those which are depended upon are considered for the build. Other than the restricted list of packages, the bulk build works the same way as a full bulk build."
2004-04-27Pull up an IRIX portability fix (by hand) to the pkgsrc-2004Q1 branch.agc1-2/+2
Requested by jschauma in ticket pkgsrc-13. "Set EGREP to an actual egrep, not plain old grep. This fixed my own PR pkg/25109, as using a proper egrep will allow buildlink to work."
2004-04-27pullup consistency fix to the pkgsrc-2004Q1 branch.agc1-2/+2
Requested by grant in ticket pkgsrc-7. "fix our idea of which platforms have bison."
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.
2004-03-12Ensure that _BLNK_DEPENDS is a subset of _BLNK_PACKAGES. Also rearrangejlam1-48/+53
some code to more easily allow other having different dependency lists for different phases.
2004-03-12Move a code snippet for easier readability.jlam1-6/+7
2004-03-12require libtool 1.5.2nb5 (fix for packages that try (and fail) to staticallydanw1-2/+2
link things)
2004-03-12Put comments in order that make sense.jlam1-2/+2
2004-03-12Add sr@ije locale, used by glib2 development version (2.3.x).jmmv10-10/+50
2004-03-12Add support for Objective C, and set USE_GCC_SHLIB whenever we're usingjlam1-2/+13
C++, Fortran, or Objective C, as we must link against shared libraries.