Diff grass-8.3.0 with a grass-8.3.0_rc1

/usr/portage/sci-geosciences/grass/grass-8.3.0_rc1.ebuild 2023-10-09 14:52:35.048368490 +0300
30 30
	MY_P="${P/_rc/RC}"
31 31
	SRC_URI="https://grass.osgeo.org/${MY_PM}/source/${MY_P}.tar.gz"
32 32
	if [[ ${PV} != *_rc* ]] ; then
33
		KEYWORDS="amd64 ~ppc ~x86"
33
		KEYWORDS="~amd64 ~ppc ~x86"
34 34
	fi
35 35

  
36 36
	S="${WORKDIR}/${MY_P}"
......
240 240
	dodir /usr/include/
241 241
	dosym ../$(get_libdir)/${MY_PM}/include/grass /usr/include/grass
242 242

  
243
	# fix paths in addons makefile includes
244
	local scriptMakeDir="${ED}"/usr/$(get_libdir)/${MY_PM}/include/Make/
245
	for f in "${scriptMakeDir}"/*; do
246
		file="${f##*/}"
247
		echo sed -i "s|${ED}|/|g" "${scriptMakeDir}/${file}" || die
248
		sed -i "s|${ED}|/|g" "${scriptMakeDir}/${file}" || die
249
	done
250

  
251
	# get proper folder for grass path in script
252
	local gisbase=/usr/$(get_libdir)/${MY_PM}
253
	sed -e "s:GISBASE = os.path.normpath(\"${D}/usr/$(get_libdir)/${MY_PM}\"):\
254
GISBASE = os.path.normpath(\"${gisbase}\"):" \
255
		-i "${ED}"/usr/bin/grass || die
256

  
257
	# get proper fonts path for fontcap
258
	sed -i \
259
		-e "s|${ED}/usr/${MY_PM}|${EPREFIX}/usr/$(get_libdir)/${MY_PM}|" \
260
		"${ED}"${gisbase}/etc/fontcap || die
261

  
243 262
	# set proper python interpreter
244 263
	sed -e "s:os.environ\[\"GRASS_PYTHON\"\] = \"python3\":\
245 264
os.environ\[\"GRASS_PYTHON\"\] = \"${EPYTHON}\":" \
246 265
		-i "${ED}"/usr/bin/grass || die
247 266

  
267
	# set proper GISDBASE directory path in the demolocation .grassrc${GVERSION//.} file
268
	sed -e "s:GISDBASE\:.*$:GISDBASE\: ${gisbase}:" \
269
		-i "${ED}"${gisbase}/demolocation/.grassrc${GVERSION//.} || die
270

  
248 271
	if use X; then
249 272
		local GUI="--gui"
250 273
		make_desktop_entry "/usr/bin/grass ${GUI}" "${PN}" "${PN}-48x48" "Science;Education"
Thank you!