mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
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:
parent
2d7d363184
commit
178c47ad95
1 changed files with 8 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue