pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/pkg-config pkg-config: Use OPSYS_VERSION to nume...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1c40e2505373
branches: trunk
changeset: 378716:1c40e2505373
user: nia <nia%pkgsrc.org@localhost>
date: Thu May 05 08:32:27 2022 +0000
description:
pkg-config: Use OPSYS_VERSION to numerically compare NetBSD versions
diffstat:
devel/pkg-config/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r b5ea2d00ce52 -r 1c40e2505373 devel/pkg-config/Makefile
--- a/devel/pkg-config/Makefile Thu May 05 08:31:55 2022 +0000
+++ b/devel/pkg-config/Makefile Thu May 05 08:32:27 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2021/05/24 19:52:01 wiz Exp $
+# $NetBSD: Makefile,v 1.42 2022/05/05 08:32:27 nia Exp $
DISTNAME= pkg-config-0.29.2
PKGREVISION= 1
@@ -26,7 +26,7 @@
CONFIGURE_ARGS.IRIX+= --cache-file=/dev/null
.if ${OPSYS} == "NetBSD"
-. if ${MACHINE_ARCH} == "i386" && !empty(OS_VERSION:M[12345].*)
+. if ${MACHINE_ARCH} == "i386" && ${OPSYS_VERSION} < 060000
# Built-in GLib wants __sync_bool_compare_and_swap_4
CFLAGS+= -march=i486
. endif
Home |
Main Index |
Thread Index |
Old Index