Commit graph

10283 commits

Author SHA1 Message Date
nia
2d18181c91 mk: Initial support for NixOS (Linux variant)
A particular challenge for pkgsrc on NixOS is that it usurps all
Unix conventions and stores its system binaries and libraries in
a crazy system of hashed sub-directories:

$ which ls
/run/current-system/sw/bin/ls
$ ls -l /run/current-system/sw/bin/ls
Lrwxrwxrwx 1 root root 65 Jan  1  1970 /run/current-system/sw/bin/ls -> /nix/store/xs02fpnpkq
frhqqfsxx3lpj48wrapd00-coreutils-8.32/bin/ls

We can make a "best effort" attempt to accomodate this by invoking
the compiler to figure out where libc is.  In general, it's required to
adjust the Linux files to make fewer assumptions about the layout of the
filesystem.

However, since using a compiler and libc from NixOS results in /nix/store
paths being embedded in binaries, running the NixOS "garbage collector"
can result in binaries installed from pkgsrc becoming unusable.  Use with
care:

$ readelf -a ~/pkg/bin/perl | grep nix
      [Requesting program interpreter: /nix/store/p5sam91qwz995pi0160rfr7dkh6pibil-glibc-2.32
-39/lib/ld-linux-aarch64.so.1]
 0x000000000000001d (RUNPATH)            Library runpath: [/home/nia/pkg/lib:/home/nia/pkg/li
b/perl5/5.32.0/aarch64-linux/CORE:/nix/store/p5sam91qwz995pi0160rfr7dkh6pibil-glibc-2.32-39/l
ib:/nix/store/vv9nz0bwv1pfl70w14k7dgz6yx7hjwxk-gcc-9.3.0-lib/lib]

Apparently, the "stdenv.cc" package must be installed prior to
bootstrapping pkgsrc.

I worked on this patch last year for a friend who wanted to test
something on pkgsrc but had no other system available.
2022-05-01 08:03:40 +00:00
tnn
7c75cb3f99 prevent OPSYS_VERSION_CMD going wrong if minor or patch is >= 100
Clamp the version to 99 in that case, which is less wrong than expanding
the fixed-width field.
2022-04-30 21:27:57 +00:00
rillig
03f3253e37 mkreadme: fix comment 2022-04-27 22:27:55 +00:00
jperkin
a6720cc2d9 mk/pbulk: Support SCAN_DEPENDS_SKIP.
This is a list of paths that will be excluded from SCAN_DEPENDS.  Most users
will not need this, it's only really useful if you happen to use shared files
included by your mk.conf that may be touched even though there was no change
made to affect dependencies.
2022-04-25 10:59:23 +00:00
gutteridge
861526d39a bsd.prefs.mk: account for powerpc64le in LP64PLATFORMS 2022-04-24 17:55:55 +00:00
tnn
995ecaed29 mk: de-support PostgreSQL 9.6 2022-04-24 17:46:24 +00:00
wiz
9f08634101 mk: sync allowed licenses with pkg_install 2022-04-20 21:48:14 +00:00
tnn
1eb6d5fcdf license.mk: mark ijg license (graphics/jpeg) as default acceptable 2022-04-20 21:39:36 +00:00
riastradh
6781c1eb22 tools: Expose NATIVE_AR and NATIVE_RANLIB for cross-builds. 2022-04-16 08:58:19 +00:00
nikita
58f930ead3 ats2: Optionally build included Emacs mode. Add 'emacs' to supported options. 2022-04-14 18:52:21 +00:00
nia
9d43e7982c mk: Create a fake <soundcard.h> on illumos to help OSSv4 apps compile. 2022-04-14 06:17:40 +00:00
rillig
d5a3dea14a mk: rename show-depends-all to show-depends-recursive
This avoids confusing the target with the similarly named
show-all-depends, which lists makefile variables related to the depends
phase.

Suggested by J. Lewis Muir on pkgsrc-users.

https://mail-index.netbsd.org/pkgsrc-users/2022/04/13/msg035470.html
2022-04-13 22:02:36 +00:00
tnn
17620cc568 ocaml.mk: try to fix PKGMANDIR support 2022-04-12 11:27:13 +00:00
riastradh
a649e3b771 mk: Use CWRAPPERS_PREPEND for --sysroot.
Looks like maybe the -Wl,-rpath-link business isn't necessary after
all -- will leave this as is until I find evidence otherwise.  (joerg
says it was a workaround for NetBSD toolchain parts that weren't
properly adapted to use sysroot.)

With this, revert cwrappers version dependency to what it was before.
But keep it as TOOL_DEPENDS, not BUILD_DEPENDS.
2022-04-10 19:54:02 +00:00
rillig
a52c6a65a5 mk: add show-depends-all
Previously, there was no easy way to list all dependencies of a package.
The target show-depends only lists the direct missing dependencies, the
target show-depends-dirs lists all direct dependencies, but neither
lists the indirect dependencies as well.  The newly added target
show-depends-all includes the indirect dependencies.

While here, document the existing targets since they differ subtly.

https://mail-index.netbsd.org/pkgsrc-users/2022/04/07/msg035444.html
2022-04-09 00:46:12 +00:00
adam
d5218f014a Make pkglint happy 2022-04-07 12:12:02 +00:00
nia
ca60b0b578 gcc.mk: gcc8 and gcc9 from pkgsrc do not build on 32-bit netbsd arm
workaround PR pkg/56679
2022-04-07 07:08:34 +00:00
wiz
5af065b4ff mk: document xps option 2022-04-06 06:12:09 +00:00
jperkin
0b3d39a899 mk: Fix malformed conditional.
There's no guarantee that POSSIBLE_GFORTRAN_VERSION is a numeric value,
so cannot be compared as such.  For example on my macOS it is set to
"clang-12 (clang-1205.0.22.9)".

This really needs to be normalised correctly at some point.
2022-04-04 15:38:47 +00:00
riastradh
d237f71fea mk/pkgformat/pkg: Fix deinstall of cross-built package. 2022-04-04 11:40:20 +00:00
riastradh
d8bc697ded mk: For cross-builds, use work.$ARCH and packages.$ARCH by default.
Otherwise it is mandatory to set these in mk.conf anyway, so let's
save the trouble.
2022-04-04 11:23:18 +00:00
riastradh
a1abd9761c mk: Cross-eyed hacks to support cross-libtool.
For a long time, when cross-building, say from native=amd64 to
target=powerpc, it was necessary to:

1. cross-build a _powerpc_ package called cross-libtool-base-powerpc,
   and then

2. install the powerpc package _natively_ with `pkg_add -m x86_64' to
   override the architecture check that normally forbids this kind of
   shenanigans,

in order to cross-build anything that uses libtool as a tool.

This is partly because libtool doesn't follow the normal GNU
convention of `./configure --build=<native platform> --host=<platform
package will run on> --target=<platform package is configured to
operate on>' -- in this example, build=amd64, host=amd64,
target=powerpc.

Instead, libtool expects to be cross-built itself, even if it's going
to run as a tool.  It's not as bonkers as it sounds at first: libtool
is just a shell script, and it caches various information about the
(cross-building!) toolchain it is built with so it can use that
information later when it is run as a tool itself to cross-compile
other software.

To make this work, we need to create the toolchain wrappers for
libtool _as if_ we were cross-building even if we are building a
native package.  So mk/tools uses a new flag TOOLS_USE_CROSS_COMPILE
instead of USE_CROSS_COMPILE, and libtool internally sets
MACHINE_ARCH=${TARGET_ARCH} (in the example above, powerpc) to make
it look like we're cross-building.  The new TOOLS_CROSS_DESTDIR is an
alias for the (defaulted) CROSS_DESTDIR, which must now be set
unconditionally in mk.conf in order for libtool to know where the
cross-destdir will be; _CROSS_DESTDIR remains empty when building any
native packages (including the native cross-libtool package).

Finally, we need to make the resulting package be a native package,
with MACHINE_ARCH set to the one that it will be installed on (in the
example above, amd64), so I added an indirection _BUILD_DEFS.${var}
to replace var on its own in the build definitions that get baked
into the package, shown by `pkg_info -B'.  Setting
_BUILD_DEFS.MACHINE_ARCH=${NATIVE_MACHINE_ARCH} ensures that this
mutant hybrid cross-built libtool still produces a native package.

All of this logic is gated on setting USE_CROSS_COMPILE in mk.conf or
LIBTOOL_CROSS_COMPILE in the package makefile, so it should be safe
for non-cross-builds -- when USE_CROSS_COMPILE=no and you're not
building cross-libtool, everything is as before.
2022-04-04 11:23:06 +00:00
riastradh
81729c2501 cwrappers: Add cross-compilation support.
- New option `sysroot=<dir>':
  . Wrapper will add `--sysroot=<dir>' as first argument.
  . For every rpath argument, e.g. -Wl,-R<path> to cc, wrapper will
    pass `-rpath-link <dir><path>' to the linker.
  This matches the old mk/wrapper/cmd-sink-cross-* logic.

- Create wrappers for the ${MACHINE_GNU_PLATFORM}-cc style of command,
  as in ${CC}, ${CXX}, ${LD} for cross-builds.

- Bump version.

- Use TOOL_DEPENDS, not BUILD_DEPENDS, for cwrappers.
2022-04-04 11:22:50 +00:00
riastradh
de4c5ea882 mk/tools: Fix readelf for cross-compilation on NetBSD.
This is needed by check-pie.
2022-04-03 10:33:44 +00:00
nia
d98deba6c1 gfortran: Correct notion of check. All pkgsrc gccs before version 10 are
broken on 32-bit arm.
2022-04-02 08:01:48 +00:00
nia
c7c1c82592 gfortran.mk: Use gcc version 10 on all arm-type netbsds. 2022-04-02 07:57:11 +00:00
nia
f3f2f94f6c mk/defaults: document SDL12_TYPE 2022-04-01 10:46:44 +00:00
nia
a059fcaba3 mk/defaults: document RUST_TYPE 2022-04-01 07:32:11 +00:00
tnn
c66e9db28b mk: revert local change 2022-03-28 10:49:12 +00:00
tnn
536ce33d1f m*/*: revbump(1) for libsndfile 2022-03-28 10:45:17 +00:00
rillig
afcf35629e mk/java-vm.mk: clean up documentation 2022-03-19 14:10:51 +00:00
nia
711c75b795 mk: MKPIE is not GCC-specific. Should help ObjC packages. 2022-03-13 06:26:57 +00:00
nia
ac88c22960 mk/check: Do not waste time checking binaries that set EMUL_PLATFORM. 2022-03-07 16:53:08 +00:00
nia
666362de88 mk/platform: Add a variable for detectic static PIE support. 2022-03-03 07:30:06 +00:00
mrg
3328e3635b match/pass mipsn64e[lb]. 2022-03-03 03:33:22 +00:00
mrg
1b4558fc9e default OCAML_USE_OPT_COMPILER to YES on arm64eb. 2022-03-03 03:32:28 +00:00
pho
555de7c535 mk/haskell.mk: Enable --enable-split-sections
Ask GHC to put each compiled function in a separate section and ld(1) to
perform GC. This greatly reduces the size of executables linked with static
Haskell libraries. For example, lang/purescript shrinks down from 104 MiB
to 57 MiB! Reduced storage use means reduced I/O cost!
2022-02-26 03:55:37 +00:00
pho
aad7fd9413 mk/haskell.mk: Add a package-settable variable HASKELL_ENABLE_DYNAMIC_EXECUTABLE
Prior to this change, packages that install both libraries and executables
were both linked dynamically when HASKELL_ENABLE_SHARED_LIBRARY is set to
yes. This turned out to be problematic when the executables end up
depending on hundreds of shared objects (which occurs rather frequently for
tools written in Haskell): the dynamic linker spends several seconds upon
loading the executables to resolve all the symbols.

Now we can selectively opt out from dynamic linkage by setting
HASKELL_ENABLE_DYNAMIC_EXECUTABLE to no. This should be done carefully,
because linking executables with static Haskell libraries means that those
executables will also use static RTS. This causes problems if they use GHC
API to interpret Haskell code at run time: static RTS would violate PaX
MPROTECT and suffer from ASLR while loading static objects.
2022-02-23 16:03:00 +00:00
wiz
4484a87bee mk/scripts/remove_todo: support python 3.10 2022-02-18 18:10:09 +00:00
wiz
6bda17fb11 mk/ocaml.mk: add some automation for prefixing ${PLIST.ocaml-opt} 2022-02-14 11:37:48 +00:00
wiz
917caf6b4b mk/ocaml.mk: remove jbuilder support 2022-02-14 11:24:57 +00:00
pho
a59a2656f9 Fix a broken CVS tag 2022-02-14 00:31:18 +00:00
nia
6400a3e964 mk: Flip partial MKRELRO back on now that many problems have been resolved. 2022-02-13 11:06:42 +00:00
nia
b00de445c0 check-pie-elf.awk: make the failure case amuse me less 2022-02-13 10:48:24 +00:00
pho
822826a3f8 mk/haskell.mk: Switch the default Haskell compiler to lang/ghc92 2022-02-12 08:38:15 +00:00
pho
b47b80d798 Wrote a packaging guide for Haskell packages 2022-02-11 05:24:06 +00:00
pho
6bb80a54ac Infrastructure improvements and bugfixes to mk/haskell.mk
* mk/haskell.mk no longer set USE_TOOLS+=pkg-config for all the packages
  that include it. Instead it does TOOLS_FAIL+=pkg-config unless they
  explicitly do USE_TOOLS.

* Fixed an issue regarding Template Haskell and our wrappers.

* Fixed an issue where packages that had things like PLIST.common but
  lacked PLIST were incorrectly considered to have no PLISTs.

* mk/haskell.mk now supports packages that contain more than a single
  library. The INSTALL and DEINSTALL scripts can now handle such packages
  properly.
2022-02-11 01:11:57 +00:00
schmonz
0e29b0a970 Fix GLIBC_VERSION detection on Manjaro ARM (so that devel/gettext-tools
passes PLIST checks) and probably other Arch Linux too.
2022-02-10 21:22:44 +00:00
gutteridge
524b41c341 buildlink3/find*.mk: fix typos in comments 2022-02-10 18:58:37 +00:00
pho
e6b403f35b Warn when PLIST is missing, not just when it is outdated 2022-02-07 02:58:24 +00:00
pho
829724adf5 Fix a bug in my previous commit 2022-02-07 02:43:42 +00:00
pho
1a798fd2dd Handle the case where *.cabal lacks the field "Build-Type" 2022-02-07 02:39:41 +00:00
gutteridge
226926d973 options.description: add a couple of PHP options 2022-02-07 02:14:35 +00:00
schmonz
aa0ba74e0b Add OSX_SDK_MAP for 12.2. From Herbert J. Skuhra in private mail. 2022-02-05 21:43:17 +00:00
wiz
9265e3fae1 compiler/clang.mk: do not disable PIE support
joerg says clang has the same interface for this like gcc
2022-01-30 13:07:34 +00:00
schmonz
c070be973a Add defaults for DQCACHE_{USER,GROUP}. 2022-01-27 15:32:34 +00:00
pho
c7ea0c443f Fix FUSE version in fake pkg-config files
The original FUSE contains a patch version in fuse.pc or fuse3.pc. We must do
the same or otherwise pkg-config requirements such as 'fuse >= 2.6.0' will fail.
2022-01-27 04:27:05 +00:00
gutteridge
9194a16051 help/help.mk: pick up further language-specific variables
Add lua, nodejs, octave, qore, and tk-specific variables. (tk and tk85
define the same variable, so I only included tk.) This relates to
PR pkg/56301, where I noticed various REPLACE_* variables were not
listed in Appendix E of the pkgsrc guide.

There is a separate issue related to Appendix E here. If wip/mk is
found, the auto-generation of the help topic list for the pkgsrc guide
includes anything it finds under that path, but that's potentially
misleading, and causes the generated list to see-saw back and forth as
committers do or do not have wip visible (I do not).
2022-01-24 23:16:01 +00:00
gutteridge
65783bd529 defaults/mk.conf: remove some now unused variables
Prune a bunch of variables that haven't been used for years. In some
cases, the packages they influenced don't even exist anymore. There may
be more of these, this is after a quick pass through.
2022-01-24 23:11:32 +00:00
pho
aef4f625df Create both pkgconfig/fuse.pc and pkgconfig/fuse3.pc
Some packages expect fuse3.pc for FUSE >= 3. Also do not hard-code the version
of <fuse.h> as it becomes quickly obsolete.
2022-01-22 18:23:43 +00:00
pho
af87f2f6ac Emit a warning when PKGSRC_MKPIE==yes but PKGSRC_COMPILER==clang
Prior to this change PKGSRC_MKPIE was silently ignored when clang was chosen for
the compiler, i.e. executables were never built as PIE. This became an error
after introducing a post-build check for it.

Of course we should add a MKPIE support for clang, but for now we just emit a
warning. Otherwise we cannot build packages such as devel/gnustep-base which
requires clang to build.
2022-01-19 16:06:43 +00:00
pho
db46eea828 Support PKGSRC_MKPIE 2022-01-18 02:24:36 +00:00
pho
7606a33d85 Add a package-settable variable PKGSRC_OVERRIDE_MKPIE
This is needed by packages that require hand-holding in building PIE. Also a
post-build check for MKPIE is performed by default when PKG_DEVELOPER=YES.
2022-01-18 01:41:09 +00:00
schmonz
78ede58614 For macOS, getline(3) arrived sometime after 10.6 -- guessing 10.7 like
strnlen(3). Make libnbcompat's implementation available to packages via
USE_FEATURES=getline.
2022-01-14 14:46:50 +00:00
tnn
2ad23be483 SunOS: add native tool paths for xz & xzcat
Spotted on OpenIndiana, provided by compress/xz pkg
2022-01-09 17:36:52 +00:00
schmonz
a3f7a834e8 Remove leftover debug statement, spotted by wiz@. 2022-01-06 10:30:50 +00:00
schmonz
7a1c735319 Extract .zst distfiles using archivers/zstd. 2022-01-06 10:19:11 +00:00
schmonz
c6d6e47ad5 Provide a default value for TLSWRAPPER_CHROOT. 2022-01-04 21:53:46 +00:00
wiz
e032d93683 kiwiki: add option for choosing markdown backend
From Vladimir Stupin in PR 56602.
2022-01-03 16:58:40 +00:00
rillig
73a3b43475 mk/license: make guess-license more user-friendly 2022-01-01 13:55:48 +00:00
nia
552986130e mk: Set the default page size when compiling with RELRO with GCC on
NetBSD/mips.

PR pkg/56559
2021-12-22 10:14:27 +00:00
ryoon
ad08cb7902 mk/atomic64.mk: CFLAGS is added to CXXFLAGS automatically 2021-12-19 15:12:28 +00:00
nia
05b92186b2 mk/compiler: Return the cwrappers stuff for RELRO now that it doesn't
cause any noticable breakage.
2021-12-19 11:55:29 +00:00
he
b56e9e962a Add quotes overlooked in previous. 2021-12-18 00:53:33 +00:00
he
209291ac56 Make compat90 known. 2021-12-18 00:51:04 +00:00
schmonz
318812e1f2 The non-writability check for DISTDIR is intended to prevent wasting
resources when fetchers wouldn't be able to save what they download. On
my build farm with pkgsrc (and pkgsrc/distfiles) mounted over NFS,
however, the check gives false positives for NetBSD 9.2 and -current.
Downgrade it to a warning so that these fetches can succeed, while
leaving a breadcrumb in case someone encounters a true positive.

It would of course be interesting to sort out why, in my environment, a
wide variety of other OSes get 1 for "${TEST} ! -w $fetchdir" while
NetBSD gets 0. In the meantime, joerg@ suggested this workaround and
gdt@ agrees it's reasonable to try.
2021-12-16 14:10:46 +00:00
schmonz
356253d0e0 I export pkgsrc over NFS from a macOS host to a variety of VMs, each of
which sets ${PACKAGES} to a subdir of ${PKGSRCDIR}/packages (on the same
NFS mount) so that the generated packages all land in one place.

From my Debian, Devuan, Ubuntu, and CentOS 8 (but not 7) VMs,
copying ${STAGE_PKGFILE} to ${PKGFILE} fails to preserve permissions,
which fails the copy and the "package" target with it. The error
looks like so:

===> Building binary package for foo-4.2
=> Creating binary package /home/schmonz/trees/pkgsrc-cvs/packages/Debian/All/foo-4.2.tgz
/bin/cp: preserving permissions for ‘/home/schmonz/trees/pkgsrc-cvs/packages/Debian/All/foo-4.2.tgz’: Operation not permitted

Assuming permissions on built packages are merely a nice-to-have, avoid
failing if we couldn't preserve them. Patch from sjmulder@, for whom
this fixes a similar problem with FreeBSD with ZFS.
2021-12-11 09:01:23 +00:00
abs
7280c70d2c Add mongodb3 & mongodb4 to defaults/options.description 2021-12-06 15:32:25 +00:00
wiz
080a2de9bd mk: document pbulk-rsync option 2021-12-06 11:22:10 +00:00
wiz
b3c710176f mk: add c++20 and gnu++20 2021-12-03 07:40:26 +00:00
jperkin
9a448ce4d0 mk: Remove use of /bin/ksh wrapper hack on Darwin.
There are only a few releases where this appears to work, and the commit logs
show this to be a complete pain to get working.  I've now confirmed it's also
broken on Big Sur where ksh simply segfaults on both x86_64 and arm64.

This may have been marginally useful in the past, but we now have cwrappers to
provide a much bigger performance improvement, and so this hack was only used
during bootstrap to build a small number of packages anyway.
2021-12-02 09:44:03 +00:00
jperkin
a764d73a77 mk: Remove reference to LOWER_OS_VERSION. 2021-11-30 09:39:50 +00:00
jperkin
2a8f9a5ddd mk: Remove LOWER_OS_VERSION.
OS_VERSION removes any non-numeric characters, so having a lowercase version
of it will always be identical.  There's only a single package, a very old
version of gcc in wip, that references this variable so it should be safe to
just remove and avoid any potential confusion.
2021-11-30 09:39:11 +00:00
jperkin
bca58f5dbd mk: Don't expand OPSYS_VERSION early.
Something about NetBSD make(1), at least on 9_STABLE, doesn't like doing this,
resulting in literal "$$3" being passed to awk instead of being escaped down
to "$3".  The same construct works fine with pkgsrc bmake(1).

There doesn't appear to be any need to evaluate it inline anyway.
2021-11-30 09:06:37 +00:00
gutteridge
d31754c59a options.description: add gspell option 2021-11-30 00:44:17 +00:00
jperkin
a8263cd3d6 mk: Use OPSYS_VERSION where appropriate.
Should improve readability and in some cases avoid potential failure due to
string comparisons being used.  No other functional change intended.
2021-11-29 16:14:23 +00:00
jperkin
9e5f61e0c1 mk: Introduce OPSYS_VERSION variable.
This provides a single integer that can be used in arithmetic expressions
when comparing the current operating system version in make(1).

The two existing variables that are currently used for such tests are
MACHINE_PLATFORM and OS_VERSION.  The former usually results in complicated
and hard to read empty() strings, and the latter is often used incorrectly in
version comparisons where developers are unaware that a string comparison is
being performed (for example ".if 5.9 >= 5.10" evaluates to true).

The default based on uname -r should be correct for most systems, and can be
overridden as it is on Darwin where the product version provides a more
useful number than the kernel version.
2021-11-29 15:57:55 +00:00
jperkin
fc61917895 mk: Explicitly set arm64 flags on Darwin/aarch64.
It's currently impossible to run system binaries inside an arm64 chroot, even
with SIP turned off, so the only way to build is to use an x86_64 chroot and
effectively cross-compile to arm64.
2021-11-29 12:38:44 +00:00
jperkin
3f106085e3 mk: Tidy and expand macOS platform list. 2021-11-29 12:31:56 +00:00
nia
46636b8902 mk: Register strnlen as missing on Solaris 10
adapted from PR pkg/56511 from pekdon
2021-11-23 10:37:59 +00:00
nia
bc4b26c020 mk: According to Boyd Lynn Gerber, UnixWare lacks IPv6, although the
header files misleadingly pretend it has IPv6.
2021-11-18 13:23:56 +00:00
schmonz
3d21ab0f09 On Linux with glibc, if libc.so.6 isn't executable, glean GLIBC_VERSION
via ldd instead. Noticed when devel/gettext-tools failed PLIST check on
Ubuntu/aarch64 21.10. NFCI for musl libc.
2021-11-14 14:47:11 +00:00
nia
d176df8418 mk: Avoid find -iname for compatibility with Solaris 10
from Claes Nästén.
2021-11-13 22:21:20 +00:00
nia
d30868861b mk/bootstrap: Fix bits for SCO UnixWare 7.
Derived from a patch from Boyd Lynn Gerber.
2021-11-12 20:29:05 +00:00
gutteridge
2682c22633 replace-interpreter.mk: update a comment 2021-11-09 17:39:42 +00:00
nia
f0847b49a7 mk: For consistency, rename PKG_HAS_ to OPSYS_HAVE_.
Requested by jperkin.
2021-11-09 12:04:43 +00:00
nia
cf45d178e4 mk: Create per-platform PKG_HAVE_EVENTFD and PKG_HAVE_TIMERFD variables. 2021-11-09 11:05:07 +00:00
khorben
0e67d2c6e9 Also substitute SYSCONFBASE in MESSAGE files 2021-11-07 18:49:28 +00:00
nia
bf115b5cf8 mk: revert RELRO default and cease use of wrappers until some more
substantial changes to infrastructure and testing can be performed
to ensure it's applied universally without breaking anything
2021-11-07 11:25:33 +00:00
nia
0c613150f5 mk: Correct the wrappers invocation for RELRO. This should help many
remaining packages that fail to build with RELRO that were uncaught
by my original bulk builds due to CHECK_RELRO failing to work (sorry...)
2021-11-06 10:03:32 +00:00