pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/pkg-config



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu May  5 08:32:27 UTC 2022

Modified Files:
        pkgsrc/devel/pkg-config: Makefile

Log Message:
pkg-config: Use OPSYS_VERSION to numerically compare NetBSD versions


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/devel/pkg-config/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/pkg-config/Makefile
diff -u pkgsrc/devel/pkg-config/Makefile:1.41 pkgsrc/devel/pkg-config/Makefile:1.42
--- pkgsrc/devel/pkg-config/Makefile:1.41       Mon May 24 19:52:01 2021
+++ pkgsrc/devel/pkg-config/Makefile    Thu May  5 08:32:27 2022
@@ -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 @@ CONFLICTS=            pkgconfig-[0-9]*
 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