/[ports]/head/Mk/bsd.default-versions.mk
ViewVC logotype

Contents of /head/Mk/bsd.default-versions.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 569016 - (show annotations) (download)
Tue Mar 23 10:47:46 2021 UTC (3 years, 3 months ago) by pkubaj
File MIME type: text/plain
File size: 5179 byte(s)
Bump the default LLVM on powerpc to 10.

9 has many issues building ports, e.g. databases/mysql57-server or previously net-p2p/libtorrent-rasterbar.

Approved by:	tier 2 blanket

1 # $FreeBSD$
2 #
3 # MAINTAINER: ports@FreeBSD.org
4 #
5 # Note: before committing to this file, contact portmgr to arrange for an
6 # experimental ports run. Untested commits may be backed out at portmgr's
7 # discretion.
8 #
9 # Provide default versions for ports with multiple versions selectable
10 # by the user.
11 #
12 # Users who want to override these defaults can easily do so by defining
13 # DEFAULT_VERSIONS in their make.conf as follows:
14 #
15 # DEFAULT_VERSIONS= perl5=5.20 ruby=2.0
16
17 .if !defined(_INCLUDE_BSD_DEFAULT_VERSIONS_MK)
18 _INCLUDE_BSD_DEFAULT_VERSIONS_MK= yes
19
20 LOCALBASE?= /usr/local
21
22 .for lang in APACHE BDB COROSYNC EMACS FIREBIRD FORTRAN FPC GCC GHOSTSCRIPT \
23 IMAGEMAGICK JAVA LAZARUS LIBRSVG2 LINUX LLVM LUA MYSQL PERL5 \
24 PGSQL PHP PYTHON PYTHON2 PYTHON3 RUBY RUST SAMBA SSL TCLTK VARNISH
25 .if defined(${lang}_DEFAULT)
26 ERROR+= "The variable ${lang}_DEFAULT is set and it should only be defined through DEFAULT_VERSIONS+=${lang:tl}=${${lang}_DEFAULT} in /etc/make.conf"
27 .endif
28 #.undef ${lang}_DEFAULT
29 .endfor
30
31 .for lang in ${DEFAULT_VERSIONS}
32 _l= ${lang:C/=.*//g}
33 ${_l:tu}_DEFAULT= ${lang:C/.*=//g}
34 .endfor
35
36 # Possible values: 2.4
37 APACHE_DEFAULT?= 2.4
38 # Possible values: 5, 6, 18
39 BDB_DEFAULT?= 5
40 # Possible values: 2, 3
41 COROSYNC_DEFAULT?= 2
42 # Possible_values: full canna nox devel_full devel_nox
43 #EMACS_DEFAULT?= let the flavor be the default if not explicitly set
44 # Possible values: 2.5
45 FIREBIRD_DEFAULT?= 2.5
46 # Possible values: flang (experimental), gfortran
47 FORTRAN_DEFAULT?= gfortran
48 # Possible values: 3.2.0
49 FPC_DEFAULT?= 3.2.0
50 # Possible values: 8, 9 (powerpcspe was dropped with GCC 9), 10
51 .if ${ARCH} == "powerpcspe"
52 GCC_DEFAULT?= 8
53 .else
54 GCC_DEFAULT?= 10
55 .endif
56 # Possible values: 7, 8, 9, agpl
57 GHOSTSCRIPT_DEFAULT?= agpl
58 # Possible values: 6, 7
59 IMAGEMAGICK_DEFAULT?= 7
60 # Possible values: 7, 8, 11, 12, 13, 14, 15, 16
61 JAVA_DEFAULT?= 8
62 # Possible values: 2.0.10
63 LAZARUS_DEFAULT?= 2.0.10
64 # Possible values: rust legacy
65 .if empty(ARCH:Naarch64:Narmv6:Narmv7:Namd64:Ni386:Npowerpc64:Npowerpc64le)
66 LIBRSVG2_DEFAULT?= rust
67 .else
68 LIBRSVG2_DEFAULT?= legacy
69 .endif
70 # Possible values: c7
71 LINUX_DEFAULT?= c7
72 # Possible values: 70, 80, 90, 10, 11, -devel (to be used when non-base compiler is required)
73 # Please give notice to the Graphics Team (x11@FreeBSD.org) in advance before
74 # bumping the LLVM version.
75 .if ${ARCH} == powerpc
76 LLVM_DEFAULT?= 10
77 .else
78 LLVM_DEFAULT?= 90
79 .endif
80 # Possible values: 5.1, 5.2, 5.3, 5.4
81 LUA_DEFAULT?= 5.2
82 # Possible values: 5.10, 5.20, 6.8
83 MONO_DEFAULT= 5.10
84 # Possible values: 5.5, 5.6, 5.7, 8.0, 10.3m, 10.4m, 10.5m, 5.5p, 5.6p, 5.7p, 5.6w, 5.7w
85 MYSQL_DEFAULT?= 5.7
86 # Possible values: 5.28, 5.30, 5.32, devel
87 .if !exists(${LOCALBASE}/bin/perl) || (!defined(_PORTS_ENV_CHECK) && \
88 defined(PACKAGE_BUILDING))
89 PERL5_DEFAULT?= 5.32
90 .elif !defined(PERL5_DEFAULT)
91 # There's no need to replace development versions, like "5.23" with "devel"
92 # because 1) nobody is supposed to use it outside of poudriere, and 2) it must
93 # be set manually in /etc/make.conf in the first place, and we're never getting
94 # in here.
95 .if !defined(_PERL5_FROM_BIN)
96 _PERL5_FROM_BIN!= ${LOCALBASE}/bin/perl -e 'printf "%vd\n", $$^V;'
97 .endif
98 _EXPORTED_VARS+= _PERL5_FROM_BIN
99 PERL5_DEFAULT:= ${_PERL5_FROM_BIN:R}
100 .endif
101 # Possible values: 9.5, 9.6, 10, 11, 12, 13
102 PGSQL_DEFAULT?= 12
103 # Possible values: 7.3, 7.4, 8.0
104 PHP_DEFAULT?= 7.4
105 # Possible values: 2.7, 3.6, 3.7, 3.8, 3.9
106 PYTHON_DEFAULT?= 3.7
107 # Possible values: 2.7
108 PYTHON2_DEFAULT?= 2.7
109 # Possible values: 3.6, 3.7, 3.8, 3.9
110 PYTHON3_DEFAULT?= 3.7
111 # Possible values: 2.5, 2.6, 2.7, 3.0
112 RUBY_DEFAULT?= 2.7
113 # Possible values: rust, rust-nightly
114 RUST_DEFAULT?= rust
115 # Possible values: 4.11, 4.12, 4.13
116 SAMBA_DEFAULT?= 4.12
117 # Possible values: base, openssl, libressl, libressl-devel
118 .if !defined(SSL_DEFAULT)
119 # If no preference was set, check for an installed base version
120 # but give an installed port preference over it.
121 . if !defined(SSL_DEFAULT) && \
122 !exists(${DESTDIR}/${LOCALBASE}/lib/libcrypto.so) && \
123 exists(${DESTDIR}/usr/include/openssl/opensslv.h)
124 SSL_DEFAULT= base
125 . else
126 . if exists(${DESTDIR}/${LOCALBASE}/lib/libcrypto.so)
127 . if defined(PKG_BIN)
128 # find installed port and use it for dependency
129 . if !defined(OPENSSL_INSTALLED)
130 . if defined(DESTDIR)
131 PKGARGS= -c ${DESTDIR}
132 . else
133 PKGARGS=
134 . endif
135 OPENSSL_INSTALLED!= ${PKG_BIN} ${PKGARGS} which -qo ${LOCALBASE}/lib/libcrypto.so || :
136 . endif
137 . if defined(OPENSSL_INSTALLED) && !empty(OPENSSL_INSTALLED)
138 SSL_DEFAULT:= ${OPENSSL_INSTALLED:T}
139 WARNING+= "You have ${OPENSSL_INSTALLED} installed but do not have DEFAULT_VERSIONS+=ssl=${SSL_DEFAULT} set in your make.conf"
140 . endif
141 . else
142 check-makevars::
143 @${ECHO_MSG} "You have a ${LOCALBASE}/lib/libcrypto.so file installed, but the framework is unable"
144 @${ECHO_MSG} "to determine what port it comes from."
145 @${ECHO_MSG} "Add DEFAULT_VERSIONS+=ssl=<openssl package name> to your /etc/make.conf and try again."
146 @${FALSE}
147 . endif
148 . endif
149 . endif
150 # Make sure we have a default in the end
151 SSL_DEFAULT?= base
152 .endif
153 # Possible values: 8.5, 8.6, 8.7
154 TCLTK_DEFAULT?= 8.6
155
156 # Possible values: 4, 6
157 VARNISH_DEFAULT?= 4
158
159 .endif

Properties

Name Value
svn:eol-style native
svn:keywords FreeBSD=%H
svn:mime-type text/plain

  ViewVC Help
Powered by ViewVC 1.1.27