summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2021-10-26mk: Replace RMD160 as a default distfile hash with BLAKE2snia1-2/+2
2021-10-22mk: Use native bsdtar on NetBSD 9.0 onwards.jperkin1-2/+2
Relying on native variables like MKBSDTAR only works when using the native make, and should be avoided as they are not set when using a bootstrap. Should fix build of lang/go117 with bootstrapped NetBSD, as bsdtar from pkgsrc is unable to handle the distfile due to locale errors.
2021-10-20mk/configure/cmake: Add comments about cmakegdt1-1/+8
Explain that we should probably use cmake's RPATH support instead of turning it off and passing it via LDFLAGS, but that this change seems somewhat risky. (This is a comment-only change.)
2021-10-12mk: Document pkgin-prefer-gzip option.jperkin1-0/+1
2021-10-12mk: Register support for RELRO on NetBSD/powerpc. Tested on macppc.nia1-2/+3
2021-10-11mk: Rename variable to CHECK_SHLIBS_TOXIC.jperkin2-12/+14
Improves language and mirrors LD_TOXIC_PATH nomenclature available on at least the SunOS dynamic linker. The previous name is retained for now for compatibility, even though I get the feeling I'm the only person who is actually using this feature.
2021-10-08gcc.mk: Avoid matching gcc2, gcc3.nia1-96/+8
2021-10-08postgresql14: added version 14.0adam1-3/+12
PostgreSQL 14 contains many new features and enhancements, including: Stored procedures can now return data via OUT parameters. The SQL-standard SEARCH and CYCLE options for common table expressions have been implemented. Subscripting can now be applied to any data type for which it is a useful notation, not only arrays. In this release, the jsonb and hstore types have gained subscripting operators. Range types have been extended by adding multiranges, allowing representation of noncontiguous data ranges. Numerous performance improvements have been made for parallel queries, heavily-concurrent workloads, partitioned tables, logical replication, and vacuuming. B-tree index updates are managed more efficiently, reducing index bloat. VACUUM automatically becomes more aggressive, and skips inessential cleanup, if the database starts to approach a transaction ID wraparound condition. Extended statistics can now be collected on expressions, allowing better planning results for complex queries. libpq now has the ability to pipeline multiple queries, which can boost throughput over high-latency connections.
2021-10-07mk: remove SHA1 from the default digest algorithmsnia1-2/+2
2021-10-04mk: omit space between -z and relronia2-6/+6
prevents mangling by wrappers in mysterious circumstances
2021-10-03mk/ocaml.mk: Disable MKPIE pending investigation by an ocaml-knowernia1-1/+5
2021-10-01Prune gcc34, gcc44.nia1-35/+5
2021-09-27mk: Register support for MKPIE on more NetBSD archs, syncing withnia1-2/+6
/usr/share/mk
2021-09-27mk: Update comment for mysql/mariadb to reflect code changeryoon1-2/+2
2021-09-27mk: ... and the docs for the defaultsnia1-3/+4
2021-09-27mk: Bump default hardening options.nia1-4/+4
2021-09-27Disable MKPIE in Haskell.nia1-1/+3
Presumably there's a way to make this work, but it probably requires changes to the bootstrap kits.
2021-09-27mk: Default implementation of mysql is now MariaDB 10.6.nia1-2/+2
2021-09-14Remove stuff inadvertently included in previous (thanks wiz@).schmonz1-10/+1
2021-09-14mk/platform: add SDK mapping for macOS 11.6.schmonz1-1/+11
2021-09-12mk: config.{guess,sub}: sync w/ upstreamtnn2-881/+1211
- Needed for proper aarch64-apple-darwin* detection - Upstream accepted NetBSD aarch64eb patch - Manually merged config.guess revision 1.22 on top of the upstream version for NetBSD/evbarm fixes (currently the only local change we have) Tested on: NetBSD x86_64, earmv7hf and aarch64 macOS aarch64
2021-09-09(replace-interpreter.mk) Add REPLACE_R, tks rillig@ and greg@mef1-2/+11
2021-08-31mk: download.kde.org redirects to httpsmarkd1-2/+2
2021-08-28mk: When using imake, pass LDFLAGS in the environment as LOCAL_LDFLAGS.nia1-1/+2
This allows RELRO to be used when building imake packages. XXX: I'm not certain if this is the right place, but this already seems to be cargo-culted in individual package Makefiles...
2021-08-14mk/install: fix documentation and speed up install-dirs-from-PLISTrillig1-5/+5
The documentation did not mention that conditional entries in PLIST files are skipped. Pkglint doesn't know this either and issues wrong notes that some directories are redundant in INSTALLATION_DIRS when in reality they need to be listed there. While here, filter out some duplicate directories. This invokes the command for creating a single directory less often. Since PLIST files are usually sorted, files in the same directory tend to be listed near each other. The fallback to the plain 'uniq' is needed for SCO_SV, which does not define TOOLS_PLATFORM.uniq.
2021-08-04mk: Add MariaDB 10.6 bits.nia1-4/+7
2021-08-03clang.mk: add support for PKGSRC_USE_SSP=strongnia1-1/+3
2021-08-03gcc.mk: Add support for MKPIE when compiling Fortran code.nia1-1/+5
PR pkg/56337
2021-08-02Add VAX to list of architectures which need libatomic. Additional fix for ↵jklos1-2/+3
PR/56315.
2021-08-01gcc.mk: Remove bogus test for NetBSD.nia1-4/+2
2021-07-26mk: Add OSX_SDK_MAP for 11.5.jperkin1-3/+3
2021-07-20mk/defaults/options.description: +llvm-target-aarch64tnn1-0/+1
2021-07-19mk: Fix PR pkg/56299triaxx1-1/+15
Add a test to check that an xbase set is installed when a tool depends on X11 and X11_TYPE=native. Thanks to Greg and Edgar for their comments and suggestions!
2021-07-17mk: Enforce arm64 host CPU for Darwin/aarch64.jperkin1-1/+4
Fixes builds inside an x86_64 chroot where packages add x86-specific flags based on the output of uname even though we're building for aarch64. CMake provides the CMAKE_APPLE_SILICON_PROCESSOR variable for this situation.
2021-07-02mk: Add LP32PLATFORMSnia1-3/+13
2021-06-28Bump default postgres to 13nia1-2/+2
2021-06-25switch $echo statements to printf "%s\n".maya1-30/+29
dash considers \1 to be octal escape. for PR pkg/56248, from Michael Forney's suggestion. $echo seems to be used for performance here (was previously cat) and not for compatibility with some esoteric system. I misunderstood things, and failed to test the last bootstrap diff, breaking bootstrap on Ubuntu for a while.
2021-06-23mk: Switch default MySQL version to mariadb105.nia1-2/+2
2021-06-23macFUSE headers have been in /usr/local/include/fuse for a while. Addschmonz1-1/+2
that to BUILDLINK_PASSTHRU_DIRS.
2021-06-22future proof version patternsnia1-5/+5
2021-06-22Default to OpenJDK 8 on NetBSD 9.x aarch64 due to OpenJDK 11 being brokennia1-2/+4
2021-06-21Remove all MySQL mirrors that 404 or fail to respondnia1-18/+1
2021-06-21Remove broken MySQL mirrornia1-3/+1
2021-06-21Remove extremely slow MySQL mirrornia1-3/+1
2021-06-15mk/blas.bl3, Netlib and OpenBLAS packages, NumPy: C fixup and 64 bitsthor1-23/+103
This delivers 64 bit index BLAS libraries alongside 32 bit ones. This is often called ILP64 in the BLAS world, as opposed to LP64 where integers are 32 bit due to the Fortran default integer type, not to be confused with the basic system ABI used by C. For really large vectors on modern machines, you want an 'ILP64' BLAS and layers on top of it. In preparation of better support for vendor BLAS libraries, I had to realize that you better use the C interfaces supplied by them, not the netlib one strapped on. A simple reason of practicability: The vendor blas libraries, just like openblas, like to ship all symbols in one library, so you get them whether you want it or not. Also implementations may skip Fortran and implement the underlying functionality directly in C anyway, so one might skip a layer of indirection. Future will tell if other layers will follow. We still have the framework of individual layers from Netlib to combine with certain implementations that miss them (Accelerate framework comes to mind, which needs further work). The framework of netlib reference packages for the separate libraries is instructive and helps keeping things small when you not need all of them. The installation location of the headers is now in a subdirectory to be able to have 32 and 64 bit variants independently. The 32 bit ones are linked to ${PREFIX}/include to keep the old picture. We could be brave and remove those, but there is some value in a build just trying -lcblas and inclusion of <cblas.h> to be happy. There is one blas.buildlink3.mk that is supposed to be used only once and so avoids a combination of conflicting libraries (as the 64 bit index symbols have the same names as the 32 bit ones). Basic usage for getting LAPACK+BLAS is still the same as before. You get CBLAS and LAPACKE by setting BLAS_C_INTERFACE=yes in the package. The 64 bit indices are selected via BLAS_INDEX64=yes. Due to the special nature of the Accelerate framework, a package has to explicitly indicate support for it and it will also not appear on the list of implementations by default. The reason is that it does provide mainly CBLAS and CLAPACK (another version of C interface to LAPACK, f2c-based) and BLAS/LAPACK with f2c/g77 calling conventions. A default build with gfortran would not like that This commit also fixes up math/py-numpy and math/py-numpy16 to follow the new scheme, as that are the only packages directly affected by the change in CBLAS providership.
2021-06-13add 32-bit sparc to the list of libatomic archsnia1-2/+4
2021-06-11bsd.options.mk: fix typo in commentgutteridge1-2/+2
2021-06-11Mention consolekitabs1-0/+1
2021-06-08Explicitely include lib/cmake/ and share/cmake/ in thebouyer1-2/+2
BUILDLINK_CONTENTS_FILTER, as discussed on tech-pkg on may 26 and 27. Fix an issue with www/libwebsockets/buildink3.mk where some cmake files are missing from the .buildlink dir, causing config failure in consumer packages.
2021-06-04fuse.buildlink3.mk: on macOS, allow to use macFUSE (formerly OSXFUSE)adam1-7/+12