lightzone: fix name of etc/profile.d/10_openjdk*.sh in template

This commit is contained in:
classabbyamp 2022-04-02 22:28:40 -04:00 committed by Andrew J. Hesford
parent 9fa10014c7
commit f07fd4a8e6

View file

@ -1,7 +1,7 @@
# Template file for 'lightzone' # Template file for 'lightzone'
pkgname=lightzone pkgname=lightzone
version=4.2.2 version=4.2.2
revision=1 revision=2
_ivy_version=2.4.0 _ivy_version=2.4.0
wrksrc=LightZone-${version} wrksrc=LightZone-${version}
hostmakedepends="automake git openjdk11 apache-ant javahelp2 rsync pkg-config" hostmakedepends="automake git openjdk11 apache-ant javahelp2 rsync pkg-config"
@ -29,7 +29,7 @@ do_build() {
vsed -i lightcrafts/jnisrc/tiff/GNUmakefile \ vsed -i lightcrafts/jnisrc/tiff/GNUmakefile \
-e "s;\./configure;& --host=${XBPS_MACHINE%-musl};" -e "s;\./configure;& --host=${XBPS_MACHINE%-musl};"
. /etc/profile.d/10_openjdk11.sh . /etc/profile.d/openjdk.sh
cd linux cd linux
TARGET=${XBPS_TARGET_MACHINE%-musl} ant jar TARGET=${XBPS_TARGET_MACHINE%-musl} ant jar
} }