pkgsrc/mk
jperkin c8d7a85bde mk: Add OPSYS_EXPLICIT_LIBDEPS and enable on SunOS.
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-09 11:31:14 +00:00
..
build bsd.build-vars.mk: describe MAKE_FLAGS in details, rewrite and reformat 2020-09-12 06:51:15 +00:00
buildlink3 mk/buildlink3: fix breakage from previous commit 2022-07-09 08:19:18 +00:00
check mk/check: Do not waste time checking binaries that set EMUL_PLATFORM. 2022-03-07 16:53:08 +00:00
checksum mk/checksum: Remove distinfo before replacing. 2022-05-08 12:25:18 +00:00
cmake-Modules/Platform
compiler mk: add stack-clash option to PKGSRC_USE_STACK_CHECK 2022-08-01 07:58:21 +00:00
configure cmake.mk: install stripped binaries 2022-08-05 18:54:43 +00:00
defaults *** empty log message *** 2022-08-08 10:29:45 +00:00
depends mk: rename show-depends-all to show-depends-recursive 2022-04-13 22:02:36 +00:00
emulator Add quotes overlooked in previous. 2021-12-18 00:53:33 +00:00
extract Remove leftover debug statement, spotted by wiz@. 2022-01-06 10:30:50 +00:00
features For macOS, getline(3) arrived sometime after 10.6 -- guessing 10.7 like 2022-01-14 14:46:50 +00:00
fetch gitlab: underscore is a valid character in gitlab project/user names. 2022-05-24 13:05:37 +00:00
gnu-config match/pass mipsn64e[lb]. 2022-03-03 03:33:22 +00:00
haskell Wrote a packaging guide for Haskell packages 2022-02-11 05:24:06 +00:00
help mk/help: replace 'appear' with 'occur', as it is more accurate 2022-06-11 15:58:41 +00:00
init
install mk/install: fix indentation and alignment, no functional change 2022-07-06 18:53:58 +00:00
misc mk/developer.mk: reorganize documentation for 'make cce' 2022-06-16 04:56:49 +00:00
package
patch
pbulk mk/pbulk: Support SCAN_DEPENDS_SKIP. 2022-04-25 10:59:23 +00:00
pkgformat mk/pkgformat/pkg: Fix deinstall of cross-built package. 2022-04-04 11:40:20 +00:00
pkginstall typo in comment 2022-05-14 21:48:51 +00:00
pkgtasks
platform mk: Add OPSYS_EXPLICIT_LIBDEPS and enable on SunOS. 2022-08-09 11:31:14 +00:00
plist mk: Remove reference to LOWER_OS_VERSION. 2021-11-30 09:39:50 +00:00
repro
scripts mk/scripts/mkreadme: fix typo? 2022-07-17 13:37:30 +00:00
tools mk: do not set TOOLS_PATH.pkgconfig, defaulting to 'false' as replacement 2022-07-24 14:47:00 +00:00
wrapper mk: Cross-eyed hacks to support cross-libtool. 2022-04-04 11:23:06 +00:00
alternatives.mk
apache.mk
apache.module.mk
atomic64.mk mk/atomic64.mk: CFLAGS is added to CXXFLAGS automatically 2021-12-19 15:12:28 +00:00
bdb.buildlink3.mk
blas.buildlink3.mk mk/blas.bl3, Netlib and OpenBLAS packages, NumPy: C fixup and 64 bits 2021-06-15 04:41:51 +00:00
bsd.fast.prefs.mk
bsd.hacks.mk
bsd.makevars.mk
bsd.options.mk bsd.options.mk: fix typo in comment 2021-06-11 20:21:01 +00:00
bsd.pkg.barrier.mk
bsd.pkg.clean.mk
bsd.pkg.debug.mk
bsd.pkg.error.mk
bsd.pkg.mk bsd.pkg.mk: fix typo in comment 2022-07-31 19:16:33 +00:00
bsd.pkg.readme.mk mk: use http. 2021-04-09 20:15:16 +00:00
bsd.pkg.subdir.mk
bsd.pkg.update.mk
bsd.pkg.use.mk mk: Add PKGSRC_USE_MKTOOLS support. 2022-06-07 10:04:25 +00:00
bsd.prefs.mk mk: Revert userland version detection for OS_VERSION for NetBSD, causes 2022-08-06 07:38:44 +00:00
bsd.utils.mk mk: rename show-depends-all to show-depends-recursive 2022-04-13 22:02:36 +00:00
compiler.mk mk: Add support for newer C standards. 2022-07-05 17:32:24 +00:00
curses.buildlink3.mk mk/curses: mark USE_NCURSES as package-settable 2022-06-11 15:02:28 +00:00
curses.builtin.mk curses.builtin.mk: fix a typo in a comment 2022-06-06 01:24:11 +00:00
cwrappers.mk mk: Use CWRAPPERS_PREPEND for --sysroot. 2022-04-10 19:54:02 +00:00
db1.builtin.mk
djbware.mk Run without errors when LICENSE is undefined. 2020-11-19 09:16:38 +00:00
dlopen.buildlink3.mk
dlopen.builtin.mk
endian.mk
fam.buildlink3.mk
fonts.mk mk: Avoid find -iname for compatibility with Solaris 10 2021-11-13 22:21:20 +00:00
fuse.buildlink3.mk Fix FUSE version in fake pkg-config files 2022-01-27 04:27:05 +00:00
haskell.mk mk/haskell.mk: remove pkg-config hiding workaround 2022-07-23 07:14:54 +00:00
java-env.mk
java-vm.mk mark NetBSD-current/evbarm as eligible for openjdk11 & openjdk17 2022-05-26 21:29:37 +00:00
jpeg.buildlink3.mk Fix jpeg.bl3.mk to include bl3 files outside multiple-include protection. 2022-07-14 23:45:48 +00:00
krb5.buildlink3.mk
Kyuafile
libusb.buildlink3.mk
license.mk license.mk: add Beer-Ware to DEFAULT_ACCEPTABLE_LICENSES 2022-07-15 00:51:13 +00:00
linux-pam.builtin.mk
love.mk
motif.buildlink3.mk
mpi.buildlink3.mk mk/mpi.buildlink3.mk: Add MPI_TYPE=native and diagnostics 2021-05-11 21:30:57 +00:00
mysql.buildlink3.mk mk: Update comment for mysql/mariadb to reflect code change 2021-09-27 15:25:54 +00:00
ocaml.mk mk: use lang/ocaml/native.mk instead of wip/* 2022-05-25 17:18:13 +00:00
omf-scrollkeeper.mk
oss.buildlink3.mk
oss.builtin.mk mk: Create a fake <soundcard.h> on illumos to help OSSv4 apps compile. 2022-04-14 06:17:40 +00:00
pam.buildlink3.mk
pax.mk
pf.buildlink3.mk pf.buildlink3.mk: simplify ONLY_FOR_PLATFORM 2022-06-01 21:42:02 +00:00
pgsql.buildlink3.mk mk: Bump default postgres version to 14 2022-06-28 09:38:38 +00:00
pkg-build-options.mk
pthread.buildlink3.mk
pthread.builtin.mk
readline.buildlink3.mk
readline.builtin.mk mk: Use .elif instead of .else if 2020-12-17 09:44:24 +00:00
resolv.buildlink3.mk mk: Use OPSYS_VERSION to numerically compare NetBSD versions 2022-05-05 08:30:43 +00:00
smf.mk
solaris-pam.builtin.mk
subst.mk mk/subst.mk: fix indentation of directives 2022-07-06 20:59:51 +00:00
termcap.buildlink3.mk
termcap.builtin.mk
terminfo.buildlink3.mk
terminfo.builtin.mk
unprivileged.mk
x11.buildlink3.mk
x11.builtin.mk
x11.version.mk
xaw.buildlink3.mk