pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/emulator Set SUSE_PREFER explicitly for recent Free...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/218b31209816
branches:  trunk
changeset: 452517:218b31209816
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Wed May 12 10:14:24 2021 +0000

description:
Set SUSE_PREFER explicitly for recent FreeBSD releases.

Otherwise, we end up with 10.0, which does not support FreeBSD, even
in the presence of newer suse_ packages installed -- so much for *_PREFER.

diffstat:

 mk/emulator/linux.mk |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 33cfd211cd5a -r 218b31209816 mk/emulator/linux.mk
--- a/mk/emulator/linux.mk      Wed May 12 09:59:30 2021 +0000
+++ b/mk/emulator/linux.mk      Wed May 12 10:14:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: linux.mk,v 1.33 2020/10/08 10:42:49 nia Exp $
+# $NetBSD: linux.mk,v 1.34 2021/05/12 10:14:24 hauke Exp $
 #
 # Linux binary emulation framework
 #
@@ -21,6 +21,12 @@
 SUSE_PREFER?=  12.1
 .  endif
 .endif
+.if ${OPSYS} == "FreeBSD" && ${EMUL_ARCH} == "x86_64"
+# Use 13.1 under FreeBSD 10.* and newer
+.  if empty(OS_VERSION:M[2-9].*)
+SUSE_PREFER?=  13.1
+.  endif
+.endif
 SUSE_PREFER?=  10.0
 
 .for _version_ in ${EMUL_REQD:Msuse>=*:S/suse>=//}



Home | Main Index | Thread Index | Old Index