summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2015-12-27Look in lang/go/*.mk for help topics too.wiz1-1/+2
2015-12-27Make USE_DESTDIR != yes an error.joerg1-1/+2
2015-12-19Describe scim option.tsutsui1-0/+1
2015-12-14Make the pbulk deployment script more reusable:asau1-19/+17
- allow setting non-default prefix; - avoid embedding non-essential settings into binary bootstrap kit.
2015-12-14Extend the El Capitan HFS+ bug workaround to 15.1.0 but no further, I canjperkin1-2/+2
confirm that Apple fixed the bug in the recent 15.2.0 (10.11.2) update.
2015-12-13Define MACOSX_DEPLOYMENT_TARGET for Tiger to allow current releasessevan1-1/+8
of software such as Ruby to build on Tiger/PowerPC. Tested with & without on a G4 with Tiger & Leopard. It was not needed on Leopard as the linker defaults to a target of 10.5 & setting it back broke the bootstrap process. Reviewed by wiz@ long ago.
2015-12-13Make sure FAKEHOMEDIR is created when WRKDIR is.richard1-3/+3
Add fgrep to default USE_TOOLS for good measure.
2015-11-27Perform interpreter sed(1) check with LC_ALL=C, avoids failures on newerjperkin1-2/+2
Darwin releases with "sed: RE error: illegal byte sequence".
2015-11-25Remove mk/find-prefix.mk and its usage from the mk infrastructure.jperkin18-311/+140
The find-prefix infrastructure was required in a pkgviews world where packages installed from pkgsrc could have different installation prefixes, and this was a way for a dependency prefix to be determined. Now that pkgviews has been removed there is no longer any need for the overhead of this infrastructure. Instead we use BUILDLINK_PREFIX.pkg for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the dependency is coming from pkgsrc. Provides a reasonable performance win due to the reduction of `pkg_info -qp` calls, some of which were redundant anyway as they were duplicating the same information provided by BUILDLINK_PREFIX.pkg.
2015-11-24Do the "defined && !empty" dance for NetBSD 5 make.jperkin1-2/+2
2015-11-23Fix typo in comment line (three -> two)mef1-2/+2
2015-11-20PR pkg/47404richard1-3/+5
wrapper should convert '--rpath' to '-rpath', fixing pysvn as well as many other packages inadvertently using double-dash form of rpath.
2015-11-18Ensure building 32-bit on 64-bit is supported when using cwrappers too.jperkin1-1/+2
2015-11-17 Adding wxGTK.mk, main purpose for migration to wxGTK30 from wxGTK28mef1-0/+62
for the memoent: Because multiple versions of wxGTK cannot currently coexist, the strategy is to use a single version, with each package building with it if possible and failing otherwise. Thanks gdt@ for comments and corrections.
2015-11-16Add support for CHECK_WRKREF_EXTRA_DIRS to check-shlibs. If "extra" isjperkin2-2/+13
listed in CHECK_WRKREF then these directories will added to the checks for rpath references.
2015-11-16Always set _OPSYS_CAN_CHECK_SHLIBS to "yes" regardless of whetherjperkin1-6/+2
TOOLS_PATH.readelf is set. This is a PKG_DEVELOPER feature and it's likely the developer is smart enough to either have it already available in $PATH or be able to install it (e.g. via devel/binutils) if required.
2015-11-08Fix a typo in a comment.leot1-2/+2
2015-11-07MACHINE_ARCH for Bitrig/amd64 is now set to x86_64sevan1-2/+2
Ammend if statement
2015-11-07With OpenBSD/amd64 & Bitrig/amd64 switched to using MACHINE_ARCH=x86_64,sevan1-4/+4
amd64 no longer needs to be accounted for specifically. Remove redundant references. Reviewed by wiz@
2015-11-07Add the necessary logic for setting Bitrig/amd64 to Bitrig/x86_64.sevan1-2/+7
Switch to using arch(1) to populate $LOWER_ARCH on Bitrig Reviewed by wiz@
2015-11-07Add the necessary logic for setting OpenBSD/amd64 to OpenBSD/x86_64.sevan1-1/+12
Reviewed by wiz@
2015-10-29Make sure the pbulk user is created with /bin/sh as shell,he1-2/+2
at least on NetBSD. Trying to build with /bin/csh as login shell leads to a rather cryptic "Illegal variable name" error message for all bulk-built packages.
2015-10-29Perform signing at the staged package stage rather than only during thejperkin1-17/+19
copy to the target pkgfile. Ensures consistency at all stages, means we can support verifying the signature at install time, and also fixes signed packages with recent pbulk changes which now invoke 'stage-package-create' rather than 'package'.
2015-10-28Add plotutils option.leot1-0/+1
2015-10-28Describe cerf option.wiz1-2/+3
2015-10-27add asterisk-config optionjnemeth1-0/+1
2015-10-26GCC on SunOS supports a non-standard -mimpure-text argument which clangjperkin1-1/+6
does not have, so remove it unconditionally in the latter case. Fixes various packages.
2015-10-25Describe a vlc option.wiz1-0/+1
2015-10-25Describe two options. From Rin Okuyama in PR 50363.wiz1-0/+2
2015-10-24Unhook further PG 8.4 and 9.0 redirection.joerg1-7/+1
2015-10-24Drop EOLed PostgreSQL 8.4 and 9.0 from the supported list of PGjoerg1-2/+2
versions.
2015-10-19Don't encode the github tag into the distfile name if we are packagingtnn1-2/+2
a github release and the release version happens to look like a tag. (a date like 20150714 could be misinterpreted as a git "short SHA")
2015-10-17Add the mapping for amd64 to its GNU architecture name x86_64.sevan1-1/+2
Needed for switching OpenBSD/amd64 & Bitrig/amd64 to x86_64. Reviewed by wiz@
2015-10-14Switch from x11/Xaw3d to newer x11/libXaw3d.wiz1-2/+2
Adapt some packages so they build with that. Bump their PKGREVISIONs.
2015-10-12Now that it looks like SHA1 is getting closer to its end of life, addagc1-2/+2
the SHA512 digest to the mix of digests we keep for each distfile. All part of providing stronger digests for pkgsrc, as discussed on tech-pkg recently, with unanimous agreement. There will be further changes in this area in the near future, as we transit away from reliance on SHA1 and RMD160. New distinfo files will gain a SHA512 digest entry. Existing verification of distinfo files will just use the SHA1 and RMD160 digests which exist right now.
2015-10-12Support compressed manual pages with 3am and 3f suffixes.jperkin1-2/+2
2015-10-10Update MASTER_SITE_OSDN server names.ryoon1-3/+3
2015-10-10Append to PKG_FAIL_REASON rather than setting it so we don't overwrite otherjperkin1-2/+2
potentially more useful failure messages.
2015-10-10Set PKG_FAIL_REASON with a useful failure message if we cannot find an SDK.jperkin1-5/+7
2015-10-09Correction to the previous: we must use ${GREP} -E, there's no ${EGREP} here.he1-2/+2
2015-10-08Extend the pattern matching the -v output from pcc.he1-2/+2
2015-10-08accidental ommission of a suppressed linerichard1-2/+1
2015-10-08Quick workaround for groff tools issue per joerg@richard1-8/+5
Still needs, as many tools, TLC to simplify tools.*.mk as well as adding a builtin check.
2015-10-08OSX El Capitan has an interesting file system bug which allows a deepjperkin1-1/+8
directory hierarchy to be created but not removed. This is triggered by the GNU getcwd-path-max.m4 configure test used in lots of GNU software, and causes the builds to fail in pbulk as 'make clean' cannot complete. For now we provide a cached result for the test to avoid running it, using a 'no' value as the test is for a specific glibc bug. This bug has been brought to Apple's attention by the NixOS developers, raised as https://openradar.appspot.com/radar?id=6160634819379200. For now we mark only 10.11.0 (15.0.0) as having the bug - it remains to be seen whether Apple will fix it in the upcoming .1 release.
2015-10-07Support .3am (lang/gawk) and .3f (math/udunits) cat/man page suffixes, fixingjperkin1-17/+12
builds with PKGMANDIR=share/man for those packages. Put the regexes into variables to make it easier to add more in the future.
2015-10-05Re-order the way _OPSYS_INCLUDE_DIRS is calculated, and only perform checks forjperkin1-11/+15
the SDK path if we need to. This avoids issues on Yosemite and Xcode 7, which drops support for the 10.10 SDK. Trying to determine the SDK path fails, but the failure is not cached in the xcrun database, so each call to a compiler tool is unecessarily delayed (by around 3 seconds on my build hosts). For users still on Yosemite who have upgraded to Xcode 7, the solution is to install the Command Line Tools so that /usr/include is populated and used.
2015-10-03Add a list of options to generated README.html files. Patch frombsiegert4-10/+82
Daniel Loffgren on tech-pkg, slightly modified by me to use dl tags.
2015-09-25define TOOLS_PLATFORM.ld in tools.SunOS.mkrichard1-1/+6
2015-09-24describe xatracker option (will be used by MesaLib-11.0.1)tnn1-0/+1
2015-09-19Alter the behaviour of the "fetch" executable to accept zero download sitesdsainty1-4/+4
as an acceptable input. Fixes Pkgsrc for users that set PKG_RESUME_TRANSFERS=yes in their mk.conf if installing a package that has an interactive fetch stage, after mk/fetch/fetch.mk revision 1.66. Tested for all combinations of: + PKG_RESUME_TRANSFERS=yes/no; and + interactive fetch=yes/no; and + distfile=downloaded/not downloaded ... with no signs of misbehaviour. The specific case that was broken, and this change fixes, is: + PKG_RESUME_TRANSFERS=yes; and + interactive fetch=yes; and + distfile=downloaded This change was designed with the following considerations: 1. Given it's a freeze, keep it simple. 2. The change in behaviour allows 'fetch' to succeed where it would previously fail fatally, so it's unlikely to affect any (intentional) existing behaviour in Pkgsrc. 3. The behaviour of 'fetch' with zero sites is essentially the same as a fetch where all the possible download sites fail, I.e. Pkgsrc already expects to handle such behaviour. ok gdt@