pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/binutils



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu May  5 08:34:35 UTC 2022

Modified Files:
        pkgsrc/devel/binutils: Makefile

Log Message:
binutils: Use OPSYS_VERSION to numerically compare NetBSD versions


To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 pkgsrc/devel/binutils/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/binutils/Makefile
diff -u pkgsrc/devel/binutils/Makefile:1.104 pkgsrc/devel/binutils/Makefile:1.105
--- pkgsrc/devel/binutils/Makefile:1.104        Thu Feb 10 14:03:07 2022
+++ pkgsrc/devel/binutils/Makefile      Thu May  5 08:34:35 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.104 2022/02/10 14:03:07 fcambus Exp $
+# $NetBSD: Makefile,v 1.105 2022/05/05 08:34:35 nia Exp $
 
 DISTNAME=      binutils-2.38
 CATEGORIES=    devel
@@ -80,7 +80,7 @@ PLIST.ld=     yes
 .if ${OPSYS} == DragonFly \
        || (${OPSYS} == FreeBSD && empty(OS_VERSION:M[12345678].*)) \
        || (${OPSYS} == OpenBSD && empty(OS_VERSION:M[1234].*)) \
-       || (${OPSYS} == NetBSD && empty(OS_VERSION:M[12345].*)) \
+       || (${OPSYS} == NetBSD && ${OPSYS_VERSION} > 050000) \
        || ${OPSYS} == Linux
 PLIST.gold=            yes
 USE_TOOLS+=            bison



Home | Main Index | Thread Index | Old Index