summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2022-02-10 21:22:44 +0000
committerschmonz <schmonz@pkgsrc.org>2022-02-10 21:22:44 +0000
commit0865b714c744c2b8be7e4ad9c4ec1eccccfe948f (patch)
treedc103a541865ebfd76f1b8dbeb31a887a7cf27ce /mk
parent27d1b2946c8c72fe776bcb178ddbcf03b42f500b (diff)
downloadpkgsrc-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.mk5
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}