jep: move sourcing of profile to pre_*() functions

the top-level source directive causes xbps-src-make to panic because it
is stubbed out
This commit is contained in:
classabbyamp 2025-05-05 21:53:18 -04:00
parent 2d7d363184
commit 178c47ad95
No known key found for this signature in database
GPG key ID: 6BE0755918A4C7F5

View file

@ -13,8 +13,14 @@ changelog="https://github.com/ninia/jep/releases"
distfiles="https://github.com/ninia/jep/archive/v${version}.tar.gz" distfiles="https://github.com/ninia/jep/archive/v${version}.tar.gz"
checksum=152894b8323a905ba98281e26406856c4197f8a42f9839d01dacd98c4a6f1bff checksum=152894b8323a905ba98281e26406856c4197f8a42f9839d01dacd98c4a6f1bff
. /etc/profile.d/jdk.sh pre_build() {
export LDFLAGS="-L${XBPS_CROSS_BASE}/${JAVA_HOME}/lib/server" . /etc/profile.d/jdk.sh
export LDFLAGS="-L${XBPS_CROSS_BASE}/${JAVA_HOME}/lib/server"
}
pre_install() {
. /etc/profile.d/jdk.sh
}
post_install() { post_install() {
ln -sf jep.so ${DESTDIR}/${py3_sitelib}/jep/libjep.so ln -sf jep.so ${DESTDIR}/${py3_sitelib}/jep/libjep.so