pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/emulator



Module Name:    pkgsrc
Committed By:   hauke
Date:           Wed May 12 10:14:24 UTC 2021

Modified Files:
        pkgsrc/mk/emulator: linux.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/mk/emulator/linux.mk

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

Modified files:

Index: pkgsrc/mk/emulator/linux.mk
diff -u pkgsrc/mk/emulator/linux.mk:1.33 pkgsrc/mk/emulator/linux.mk:1.34
--- pkgsrc/mk/emulator/linux.mk:1.33    Thu Oct  8 10:42:49 2020
+++ pkgsrc/mk/emulator/linux.mk Wed May 12 10:14:24 2021
@@ -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?=        13.1
 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