Commit graph

10111 commits

Author SHA1 Message Date
schmonz
b8ff50a5d8 Remove stuff inadvertently included in previous (thanks wiz@). 2021-09-14 10:50:48 +00:00
schmonz
0d6ca3dd68 mk/platform: add SDK mapping for macOS 11.6. 2021-09-14 10:33:26 +00:00
tnn
5f992f5ce3 mk: config.{guess,sub}: sync w/ upstream
- 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-12 10:38:17 +00:00
mef
d9cb952c25 (replace-interpreter.mk) Add REPLACE_R, tks rillig@ and greg@ 2021-09-09 21:59:36 +00:00
markd
3579b1988a mk: download.kde.org redirects to https 2021-08-31 11:33:04 +00:00
nia
accd09e0ec mk: When using imake, pass LDFLAGS in the environment as LOCAL_LDFLAGS.
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-28 08:07:39 +00:00
rillig
49712ca762 mk/install: fix documentation and speed up install-dirs-from-PLIST
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-14 08:38:01 +00:00
nia
a6de4f2b6c mk: Add MariaDB 10.6 bits. 2021-08-04 16:08:43 +00:00
nia
c4a7045c5c clang.mk: add support for PKGSRC_USE_SSP=strong 2021-08-03 07:28:15 +00:00
nia
d91d5b09b5 gcc.mk: Add support for MKPIE when compiling Fortran code.
PR pkg/56337
2021-08-03 07:19:20 +00:00
jklos
910ea1becb Add VAX to list of architectures which need libatomic. Additional fix for PR/56315. 2021-08-02 18:37:08 +00:00
nia
679402db69 gcc.mk: Remove bogus test for NetBSD. 2021-08-01 12:35:06 +00:00
jperkin
fc2bea8239 mk: Add OSX_SDK_MAP for 11.5. 2021-07-26 11:58:24 +00:00
tnn
8f2b54d402 mk/defaults/options.description: +llvm-target-aarch64 2021-07-20 07:14:21 +00:00
triaxx
2e971fb41f mk: Fix PR pkg/56299
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-19 09:55:04 +00:00
jperkin
ace9774189 mk: Enforce arm64 host CPU for Darwin/aarch64.
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-17 06:34:20 +00:00
nia
b16d45cf00 mk: Add LP32PLATFORMS 2021-07-02 12:03:24 +00:00
nia
69da69b94e Bump default postgres to 13 2021-06-28 13:11:16 +00:00
maya
464228fa7a switch $echo statements to printf "%s\n".
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-25 22:02:06 +00:00
nia
39013575d1 mk: Switch default MySQL version to mariadb105. 2021-06-23 19:55:39 +00:00
schmonz
cd7f2950d7 macFUSE headers have been in /usr/local/include/fuse for a while. Add
that to BUILDLINK_PASSTHRU_DIRS.
2021-06-23 19:08:10 +00:00
nia
deccc885cb future proof version patterns 2021-06-22 12:02:23 +00:00
nia
ad84d4d3e0 Default to OpenJDK 8 on NetBSD 9.x aarch64 due to OpenJDK 11 being broken 2021-06-22 11:51:30 +00:00
nia
e309f9522a Remove all MySQL mirrors that 404 or fail to respond 2021-06-21 17:22:18 +00:00
nia
18ff2d6077 Remove broken MySQL mirror 2021-06-21 17:15:15 +00:00
nia
9f6b4e65a3 Remove extremely slow MySQL mirror 2021-06-21 17:14:22 +00:00
thor
3c66c4bf79 mk/blas.bl3, Netlib and OpenBLAS packages, NumPy: C fixup and 64 bits
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-15 04:41:51 +00:00
nia
401280bcc9 add 32-bit sparc to the list of libatomic archs 2021-06-13 06:04:17 +00:00
gutteridge
20925d76f6 bsd.options.mk: fix typo in comment 2021-06-11 20:21:01 +00:00
abs
fbbb78be14 Mention consolekit 2021-06-11 10:37:27 +00:00
bouyer
6cd1caeb32 Explicitely include lib/cmake/ and share/cmake/ in the
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-08 10:10:02 +00:00
adam
bcb476ecc0 fuse.buildlink3.mk: on macOS, allow to use macFUSE (formerly OSXFUSE) 2021-06-04 18:59:18 +00:00
khorben
727ba708e4 Introduce a new SYSCONFBASE variable (defaults to /etc)
This is part 1 to support additional platforms with the RC scripts provided in
pkgsrc, in privileged as well as in unprivileged mode, including on NetBSD
(with part 2 in pkgtools/rc.subr).

This variable is meant to point to the configuration directory of the base
system (as opposed to pkgsrc's own prefix) when it should be used by pkgsrc in
special cases (e.g. installing RC scripts), or to point to the existing
PKG_SYSCONFBASE directory otherwise (e.g. for any unprivileged bootstrap).
This teaches pkgsrc where the RC scripts should be installed, and more
importantly, where the local copy of rc.subr can be expected. Part 3 will
progressively update each and every RC script to substitute this path as
expected.

No functional changes are intended in privileged mode without a bootstrap. The
only variable affected by this change directly is RCD_SCRIPTS_DIR, which
currently remains with the same default of /etc/rc.d, and can be overridden as
before.

When bootstrapping, SYSCONFBASE also remains with the existing default when no
prefix is set or is "/usr/pkg" or "/usr"; it is set to $prefix/etc otherwise. It
can be specified specifically with --sysconfbase if necessary.

Existing installations or bootstraps are not affected, as this change needs
setting SYSCONFBASE in the corresponding $sysconfdir/mk.conf to have an impact.

Tested in privileged and unprivileged modes on NetBSD/amd64, and unprivileged
mode on Darwin/amd64; submitted for review on tech-pkg@.
2021-05-30 23:41:05 +00:00
jperkin
33d4ec633c mk: Map macOS 11.4 to the 11.3 SDK. 2021-05-27 18:16:26 +00:00
nia
3baa7b12d3 +columnstore 2021-05-25 12:09:19 +00:00
nia
fb50d48b44 +oqgraph 2021-05-25 10:18:37 +00:00
nia
bb964c332f +rocksdb 2021-05-25 10:11:33 +00:00
nia
23fbbfabda improve option descriptions 2021-05-25 10:10:10 +00:00
adam
91ff7902ca postgresql95: removed; EOL 2021-05-24 07:42:01 +00:00
nia
073326436c mk: add mariadb105 2021-05-23 15:36:45 +00:00
wiz
7861b08583 mk: document zstd option 2021-05-23 11:13:51 +00:00
jperkin
25f53256d2 mk: Overhaul mysql.buildlink3.mk.
- Avoid shouting in version names.  Users may still set MYSQL_VERSION_DEFAULT
  to "MARIADB104", but it is preferred to switch to "mariadb104".

- Set the correct variables in BUILD_DEFS_EFFECTS and _SYS_VARS.

- Instead of hardcoding library names with per-OPSYS logic and testing for
  their existence to see if the package is installed, do it the correct way
  using pkg_info(1).

- Make it easier to add new MySQL versions.

- Avoid unnecesary variables.  Use bmake(1) slices to select the first item
  in a list rather than a temporary variable.

- Improve documentation.

Based on a patch I've had sitting in the joyent/pkgsrc tree for far too many
years.  No functional change other than the switch to lowercase package names
by default.  Tested in a bulk build with additional Percona packages.
2021-05-21 13:20:43 +00:00
triaxx
e1eb9d8602 subst.mk: Fix mk/scrips/subst-identity.awk for FreeBSD
At least on FreeBSD 13.0, awk '/^[\t -~]/' does not match alphabetical
characters with some utf-8 locales (e.g. neither en_US.UTF-8 nor
fr_FR.UTF-8 works but C.UTF-8 does).
2021-05-19 14:44:22 +00:00
nia
8a845b5c99 more generic description for simd 2021-05-15 11:18:12 +00:00
nia
be29d2f130 add avx option description 2021-05-15 10:55:28 +00:00
jdolecek
21651ccf21 support MySQL 8.0
80 is accepted by default, but 57 remains the default to install if none available
2021-05-13 15:29:04 +00:00
nia
64b9c9e9e3 Remove mariadb55, EOL since April 2020. 2021-05-13 11:04:43 +00:00
hauke
b8ce4a2039 Set SUSE_PREFER explicitly for recent FreeBSD releases.
Otherwise, we end up with 10.0, which does not support FreeBSD, even
in the presence of newer suse_ packages installed -- so much for *_PREFER.
2021-05-12 10:14:24 +00:00
thor
c13d43b0d1 mk/mpi.buildlink3.mk: Add MPI_TYPE=native and diagnostics
This enables use of MPI compiler wrappers present in the host
system via MPI_TYPE=native. Also, it checks for conflicts with
a preintalled different MPI choice from pkgsrc and.
2021-05-11 21:30:57 +00:00
hauke
d50171c1c7 Add freebsd-{i386,x86_64} to _EMUL_PREFER.
No preference, no emulation...
2021-05-11 14:56:47 +00:00