*: fix name of jdk profile script in templates

This commit is contained in:
classabbyamp 2023-12-22 19:26:22 -05:00 committed by classabbyamp
parent 5fa5053aeb
commit d989670185
13 changed files with 13 additions and 13 deletions

View file

@ -17,7 +17,7 @@ conf_files="/etc/fop.conf"
do_build() {
. /etc/profile.d/apache-ant.sh
. /etc/profile.d/openjdk.sh
. /etc/profile.d/jdk.sh
ant package
}
do_install() {

View file

@ -15,7 +15,7 @@ checksum="5f499a0c9263be556b03dd64002a1f99892eb50ee253aab81f1f338f3bc7abed
replaces="apache-maven-bin>=0"
do_build() {
source /etc/profile.d/openjdk.sh
source /etc/profile.d/jdk.sh
./bin/mvn package -DskipTests -Drat.skip=true -Dmaven.repo.local=repo -DdistributionTargetDir=${DESTDIR}/usr/lib/${pkgname}
}

View file

@ -26,7 +26,7 @@ fi
do_build() {
. /etc/profile.d/apache-ant.sh
. /etc/profile.d/openjdk.sh
. /etc/profile.d/jdk.sh
export CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/lib/jvm/java-1.8-openjdk/include/linux"
export CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/lib/jvm/java-1.8-openjdk/include"

View file

@ -20,7 +20,7 @@ distfiles="https://github.com/bibletime/bibletime/releases/download/v${version}/
checksum=d6beef62ad44b255e3dc4c5e89214bf01a0e85c9136073b0be12fca3d2b22622
pre_build() {
. /etc/profile.d/openjdk.sh
. /etc/profile.d/jdk.sh
if [ "$XBPS_WORDSIZE" = "32" ]; then
export _JAVA_OPTIONS="-Xmx1024m"
fi

View file

@ -14,7 +14,7 @@ distfiles="${SOURCEFORGE_SITE}/davmail/davmail-src-${version}-${_commit}.tgz"
checksum=08e7103d14e9f05ec269caceef7585dcf8be202a35c471fa6fc12729cf99ef2f
do_build() {
. /etc/profile.d/openjdk.sh
. /etc/profile.d/jdk.sh
. /etc/profile.d/apache-ant.sh
ant jar

View file

@ -22,7 +22,7 @@ esac
do_build() {
. /etc/profile.d/apache-ant.sh
. /etc/profile.d/openjdk.sh
. /etc/profile.d/jdk.sh
gradle format_translation binZip -x test
}

View file

@ -12,7 +12,7 @@ distfiles="https://github.com/freerouting/${pkgname}/archive/v${version}.tar.gz"
checksum=36742a91e492956e3adc5d75e542a40f3e03d15d69d15717a9d39c0585faac44
do_build() {
. /etc/profile.d/openjdk.sh
. /etc/profile.d/jdk.sh
gradle assemble
}

View file

@ -18,7 +18,7 @@ case "$XBPS_MACHINE" in
esac
do_build() {
source /etc/profile.d/openjdk.sh
source /etc/profile.d/jdk.sh
mvn package -Dmaven.test.skip=true
}

View file

@ -18,7 +18,7 @@ post_patch() {
do_build() {
. /etc/profile.d/apache-ant.sh
. /etc/profile.d/openjdk.sh
. /etc/profile.d/jdk.sh
ant -propertyfile ${FILESDIR}/build.properties build
ant -propertyfile ${FILESDIR}/build.properties docs-html

View file

@ -102,7 +102,7 @@ pre_configure() {
xargs sed -i -e "s;-isystem;-I;g"
fi
. /etc/profile.d/openjdk.sh
. /etc/profile.d/jdk.sh
# Build tools needed to run on the host
if [ "$CROSS_BUILD" ]; then

View file

@ -28,7 +28,7 @@ do_build() {
vsed -i lightcrafts/jnisrc/tiff/GNUmakefile \
-e "s;\./configure;& --host=${XBPS_MACHINE%-musl};"
. /etc/profile.d/openjdk.sh
. /etc/profile.d/jdk.sh
cd linux
TARGET=${XBPS_TARGET_MACHINE%-musl} ant jar
}

View file

@ -14,7 +14,7 @@ distfiles="${SOURCEFORGE_SITE}/plantuml/plantuml-gplv2-${version}.tar.gz"
checksum=c21bb155ecfc53f4f0a5924238069f0c979b0f426bfa44fd62ce73f2aa1b4339
do_build() {
. /etc/profile.d/openjdk.sh
. /etc/profile.d/jdk.sh
. /etc/profile.d/apache-ant.sh
ant
mv ${pkgname}.jar ${pkgname}-${version}.jar

View file

@ -27,7 +27,7 @@ if [ "$CROSS_BUILD" ]; then
fi
pre_configure() {
. /etc/profile.d/openjdk.sh
. /etc/profile.d/jdk.sh
}
post_install() {