mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
dev-java/tomcat-native: Add missing dies.
Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
This commit is contained in:
@@ -26,7 +26,7 @@ DEPEND=">=virtual/jdk-1.7
|
||||
S=${WORKDIR}/${P}-src/jni
|
||||
|
||||
src_configure(){
|
||||
cd native
|
||||
cd native || die
|
||||
econf --with-apr=/usr/bin/apr-1-config \
|
||||
--with-ssl=/usr || die "Could not configure native sources"
|
||||
}
|
||||
@@ -34,12 +34,12 @@ src_configure(){
|
||||
src_compile() {
|
||||
eant jar -f build.xml
|
||||
|
||||
cd native
|
||||
cd native || die
|
||||
base_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar dist/${PN}-${PV}-dev.jar ${PN}.jar
|
||||
java-pkg_newjar "dist/${P}-dev.jar" "${PN}.jar"
|
||||
|
||||
cd native
|
||||
emake DESTDIR="${D}" install || die "Could not install libtcnative-1.so"
|
||||
|
||||
Reference in New Issue
Block a user