diff options
author | schmonz <schmonz@pkgsrc.org> | 2022-02-10 21:22:44 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2022-02-10 21:22:44 +0000 |
commit | 0865b714c744c2b8be7e4ad9c4ec1eccccfe948f (patch) | |
tree | dc103a541865ebfd76f1b8dbeb31a887a7cf27ce /mk | |
parent | 27d1b2946c8c72fe776bcb178ddbcf03b42f500b (diff) | |
download | pkgsrc-0865b714c744c2b8be7e4ad9c4ec1eccccfe948f.tar.gz |
Fix GLIBC_VERSION detection on Manjaro ARM (so that devel/gettext-tools
passes PLIST checks) and probably other Arch Linux too.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/platform/Linux.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/platform/Linux.mk b/mk/platform/Linux.mk index 52ddfcde9c4..f7e773454ec 100644 --- a/mk/platform/Linux.mk +++ b/mk/platform/Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: Linux.mk,v 1.87 2021/11/14 14:47:11 schmonz Exp $ +# $NetBSD: Linux.mk,v 1.88 2022/02/10 21:22:44 schmonz Exp $ # # Variable definitions for the Linux operating system. @@ -77,6 +77,9 @@ LIBABISUFFIX?= /powerpc64le-linux-gnu _OPSYS_SYSTEM_RPATH= /lib:/usr/lib:/lib${LIBABISUFFIX}:/usr/lib${LIBABISUFFIX} _OPSYS_LIB_DIRS?= /lib /usr/lib /lib${LIBABISUFFIX} /usr/lib${LIBABISUFFIX} . endif +.elif exists(/etc/arch-release) +_OPSYS_SYSTEM_RPATH= /lib:/usr/lib +_OPSYS_LIB_DIRS?= /lib /usr/lib .else _OPSYS_SYSTEM_RPATH= /lib${LIBABISUFFIX}:/usr/lib${LIBABISUFFIX} _OPSYS_LIB_DIRS?= /lib${LIBABISUFFIX} /usr/lib${LIBABISUFFIX} |