summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2016-01-28Deal with type hiding under NetBSD-current to e.g. fix the buildtron1-1/+2
of e.g. the "fuse-ext2" package.
2016-01-24Attempt to bring sanity to how ABI and MACHINE_ARCH are set.jperkin2-110/+6
Previously there were at least 5 different ways MACHINE_ARCH could be set, some statically and some at run time, and in many cases these settings differed, leading to issues at pkg_add time where there was conflict between the setting encoded into the package and that used by pkg_install. Instead, move to a single source of truth where the correct value based on the host and the chosen (or default) ABI is determined in the bootstrap script. The value can still be overridden in mk.conf if necessary, e.g. for cross-compiling. ABI is now set by default and if unset a default is calculated based on MACHINE_ARCH. This fixes some OS, e.g. Linux, where the wrong default was previously chosen. As a result of the refactoring there is no need for LOWER_ARCH, with references to it replaced by MACHINE_ARCH. SPARC_TARGET_ARCH is also removed.
2016-01-23mysql.llarian.net is not on DNS record of llarian.netmef1-2/+1
2016-01-22update sites.mk. remove non-working mirrors.zafer1-37/+1
2016-01-20Remove support for APACHE_CUSTOM_CFLAGSkhorben1-7/+1
This goes as far back as 2001 (mk.conf.example) but there should not be any reason to explicitly set CFLAGS for specific packages. In practice this even fixes support for global CFLAGS in www/apache{22,24}. ok gdt@
2016-01-13Add farstream option description.wiz1-0/+1
2016-01-12Added keyword "platform" for "bmake help"rillig1-2/+2
2016-01-06Use :tA to make DISTINFO_FILE absolute when passing it to the fetchdholland2-4/+4
and checksum scripts. Fixes the problem where DISTINFO_FILE=../../foo/bar/distinfo doesn't work without having an extraneous and ugly ${.CURDIR} stuffed into it by hand.
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