pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/cutter cutter: Use OPSYS_VERSION



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aeaab3054045
branches:  trunk
changeset: 379877:aeaab3054045
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue May 24 13:01:02 2022 +0000

description:
cutter: Use OPSYS_VERSION

diffstat:

 devel/cutter/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 03ea30bb64b9 -r aeaab3054045 devel/cutter/Makefile
--- a/devel/cutter/Makefile     Tue May 24 13:00:15 2022 +0000
+++ b/devel/cutter/Makefile     Tue May 24 13:01:02 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.76 2022/04/18 19:10:48 adam Exp $
+# $NetBSD: Makefile,v 1.77 2022/05/24 13:01:02 nia Exp $
 #
 
 DISTNAME=      cutter-1.2.4
@@ -30,7 +30,7 @@
 
 .include "../../mk/compiler.mk"
 # PR#lib/39986
-.if !empty(CC_VERSION:Mgcc*) && !empty(MACHINE_PLATFORM:MNetBSD-[0-5].*-*)
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 060000 && !empty(CC_VERSION:Mgcc*)
 LDFLAGS.NetBSD+=       -lgcc_s
 .endif
 



Home | Main Index | Thread Index | Old Index