summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2022-09-26blas.bl3: Fix BLAS_INCLUDES for openblas_pthread with 32 bit (default) indicesthor1-2/+2
2022-09-13mk: describe jansson optionwiz1-0/+1
2022-09-13mk: OSX_SDK_MAP 12.6 -> 12.3tnn1-1/+2
2022-09-12macOS: Support MACOSX_DEPLOYMENT_TARGET.jperkin1-8/+20
This allows the user to specify an exact SDK to use, and can be used to build packages for an older release of macOS than the host. The user should ideally set this via environment variable at bootstrap time, and pkgsrc will then encode that into mk.conf and use it for all builds. Tested on macOS 12.x building against an 11.3 SDK for both arm64 and x86_64.
2022-09-08mk/haskell.mk: Fix typos in a commentpho1-2/+2
2022-09-08mk/haskell.mk: print-PLIST: Prefix optionally-built files with ${PLIST.*}pho1-5/+14
HASKELL_ENABLE_SHARED_LIBRARY, HASKELL_ENABLE_LIBRARY_PROFILING, and HASKELL_ENABLE_HADDOCK_DOCUMENTATION are user-settable variables that can affect the set of installed files. `make print-PLIST' should automatically handle these.
2022-09-08mk: fix typos in commentswiz1-4/+4
2022-09-08mk/haskell.mk: New package-settable variable "HASKELL_UNRESTRICT_DEPENDENCIES"pho1-1/+32
It's a list of Cabal package names whose version constraints need to be relaxed. This should free ourselves from needing to patch *.cabal files most of the time. Suggested by wiz@
2022-09-08mk/haskell.mk: Improve `show-all-haskell' outputspho1-6/+15
2022-09-03mk/defaults/options.description: add ruby-unicorntaca1-0/+1
Enable unicorn support.
2022-09-02Add mipsn64{eb,el} - the full 64bit userland variants of NetBSD 64 bitmartin1-0/+2
mips setups (that otherwise use 32bit userland)
2022-08-30mk/blas.bl3: Define *_PC variables for pkg-config usethor1-1/+24
This enables pointing builds to pkg-config instead of plain compiler/linker flags. Future CMake integration profits from that.
2022-08-18add option descriptions for sge and slurmthor1-0/+2
2022-08-18Don't escape newline and tab in regex, newer gawk complains.joerg2-6/+6
Follows check-shlibs-elf.awk change from 2 years ago.
2022-08-18Use a deterministic locale when running the relro AWK script.joerg1-1/+2
2022-08-16defaults/options.description: add lighttpdtaca1-0/+1
Add lighttpd; Enable support for lighttpd web server.
2022-08-13mk: describe some llvm optionstnn1-0/+2
2022-08-12cmake.mk: strip only for targets have USE_LANGUAGESadam1-2/+2
2022-08-09mk: Add OPSYS_EXPLICIT_LIBDEPS and enable on SunOS.jperkin1-1/+4
Most systems use GNU ld, which will happily pull in symbols required by a program even if they are only available via implicit library dependencies. The SunOS linker is stricter, and if a program uses a symbol then the library that defines that symbol must be an explicit dependency. This mostly causes problems with libiconv and libintl, both of which Linux bundles in its C library, so a lot of third-party software does not correctly check for them. Until now we've had to add many, many overrides, along with variables such as BROKEN_GETTEXT_DETECTION which nowadays only has limited effectiveness. The situation appears to be getting worse, especially with software built with meson, and so both libiconv and gettext-lib will now automatically add the correct LDFLAGS if the OPSYS sets OPSYS_EXPLICIT_LIBDEPS=yes. This isn't perfect. For one it isn't really an OPSYS setting as you can try to use GNU ld on SunOS, it just doesn't work very well. It should also really be done via the wrappers rather than exposing LDFLAGS, but we do not yet have an approved patch for doing this. However it does improve the current situation.
2022-08-08*** empty log message ***wiz1-0/+1
2022-08-06mk: Revert userland version detection for OS_VERSION for NetBSD, causesnia1-11/+1
unintended consequences when an older userland is bootstrapped, and incompatibility with osabi. Separate variable for userland version for NetBSD is likely the way forward.
2022-08-05cmake.mk: install stripped binariesadam1-1/+5
2022-08-01mk: add stack-clash option to PKGSRC_USE_STACK_CHECKwiz3-7/+14
2022-07-31bsd.pkg.mk: fix typo in commentwiz1-2/+2
2022-07-24mk: do not set TOOLS_PATH.pkgconfig, defaulting to 'false' as replacementwiz1-2/+1
2022-07-23mk/haskell.mk: remove pkg-config hiding workaroundwiz1-9/+1
pkg-config is now hidden by default if not in USE_TOOLS
2022-07-22mk: if pkg-config is not in USE_TOOLS, create a false(1) wrapper for itwiz1-1/+8
2022-07-22mk: Also use /etc/release for OS_VERSION on NetBSD.nia1-1/+5
2022-07-22mk: When calculating OPSYS_VERSION, use the userland version (/etc/release)nia1-1/+7
on NetBSD, rather than the kernel version. Should resolve building packages with workarounds for -9 on a -9 userland and CURRENT kernel. Thanks to Hauke Fath for the hint.
2022-07-22mk/platform: add SDK mapping for macOS 12.5.schmonz1-1/+2
2022-07-17mk/scripts/mkreadme: fix typo?taca1-2/+2
s/indexx.html/index.html/.
2022-07-16Document openipmi optionleot1-0/+1
From Yuuki Enomoto via PR pkg/56929, thanks!
2022-07-16Document libssh optionleot1-0/+1
From Yuuki Enomoto via PR pkg/56928, thanks!
2022-07-15license.mk: add Beer-Ware to DEFAULT_ACCEPTABLE_LICENSESgutteridge1-1/+2
As recently discussed on tech-pkg, this should be considered "Free or Open Source", so add it accordingly. Probably this was never done before just because it is so uncommon. Debian allows inclusion of it as such (e.g., it's one of the attributions they note applies to OpenSSH code in their packaging of it), as do other mainstream Linux distros like Fedora. Debian package review where this is stated: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685575 Fedora policy: https://fedoraproject.org/wiki/Licensing/Beerware
2022-07-14Fix jpeg.bl3.mk to include bl3 files outside multiple-include protection.dholland1-5/+9
This makes the library chosen appear in all places it's supposed to in the buildlink tree instead of just the first time it's mentioned. Closes PR 47017 (mk/jpeg.bl3.mk is order-dependent)
2022-07-09mk/buildlink3: fix breakage from previous commitrillig1-3/+3
The expressions for USE_BUILTIN.* and for IGNORE_PKG.* can be undefined. The function 'empty' takes care of these, the direct expressions generate a (misleading) error message 'Malformed conditional'.
2022-07-09mk/buildlink3: remove makefile hacks for NetBSD 5rillig1-13/+6
pkgsrc does not support NetBSD 5 anymore. Back then, when expanding the body of a .for loop, the variable values were inserted verbatim in the body, allowing for lots of unintended special effects, making it essentially impossible to use these values directly in conditions. In this case, the values do not contain double quotes, that's why enclosing the ${_pkg_} in double quotes worked. See src/usr.bin/make/unit-tests/directive-for.mk for more details, search for '2008-12-21'. Combining .for loops with 'empty(...)' conditions still does not work, so replace these with direct comparisons. Before 2008-12-21, using 'empty(...)' was the safer variant because it avoided the uncontrolled code injection. No functional change.
2022-07-07mk: Remove -std overrides for clang.jperkin1-5/+1
Reported to cause problems on FreeBSD, and clang is generally pretty aggressive about defaulting to newer versions anyway.
2022-07-07mk: Move GCC <= 4.4 override out of for loop.jperkin1-4/+4
Possible performance improvement, no funtional change.
2022-07-06mk/subst.mk: fix indentation of directivesrillig1-3/+3
2022-07-06mk/bsd.pkg.mk: fix alignment and indentation, no functional changerillig1-28/+35
2022-07-06mk/install: fix indentation and alignment, no functional changerillig3-14/+15
2022-07-05tools: re-add (accidentally?) dropped realpathmarkd1-1/+4
2022-07-05mk: Add support for newer C standards.jperkin3-21/+37
For now the GCC "c99 == gnu99" override is kept, but gnu99 is now supported as a specific value for USE_LANGUAGES, so we may want to be specific where required. c11 and c17 (and the corresponding gnu11/gnu17 versions) are newly supported.
2022-06-29license.mk: fix grammar in another commentgutteridge1-2/+2
2022-06-28license.mk: fix some grammar in a commentgutteridge1-3/+3
2022-06-28mk: Bump default postgres version to 14nia1-2/+2
2022-06-19Document spotify-player image optionpin1-0/+1
2022-06-16gcc.mk: support gcc12adam1-6/+41
2022-06-16mk/developer.mk: reorganize documentation for 'make cce'rillig1-31/+35
In most cases, the command 'make cce' is all that is needed to add a changes entry, so put it at the top of the documentation. The smaller steps are useful when updating multiple packages at once, which is less often the case. Make the possible values for CTYPE stand out, instead of hiding them in the body text.