pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/wine wine: Use OPSYS_VERSION to numerically ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7da492e32280
branches:  trunk
changeset: 378717:7da492e32280
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu May 05 08:32:50 2022 +0000

description:
wine: Use OPSYS_VERSION to numerically compare NetBSD versions

diffstat:

 emulators/wine/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1c40e2505373 -r 7da492e32280 emulators/wine/Makefile
--- a/emulators/wine/Makefile   Thu May 05 08:32:27 2022 +0000
+++ b/emulators/wine/Makefile   Thu May 05 08:32:50 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.237 2022/04/18 19:11:01 adam Exp $
+# $NetBSD: Makefile,v 1.238 2022/05/05 08:32:50 nia Exp $
 
 DISTNAME=      wine-5.0.5
 PKGREVISION=   7
@@ -51,7 +51,7 @@
 .endif
 
 .if ${OPSYS} == "NetBSD"
-.  if !empty(OS_VERSION:M[0-8].*)
+.  if ${OPSYS_VERSION} < 090000
 # Disable new_dtags as NetBSD versions prior to 9.0 don't honor DT_RUNPATH
 CONFIGURE_ENV+=                ac_cv_cflags__Wl___enable_new_dtags=no
 .  endif



Home | Main Index | Thread Index | Old Index