summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-10-13 10:41:13 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-10-13 10:41:13 +0000
commit6d93b2e2efe4034288ceb9f61f932bef44cb1af1 (patch)
tree2873c1c8031c1560a98b690f612a0ee693c5a25d /dev-java/tomcat-native
parentdev-java/tomcat-native: Modified to build jar. (diff)
downloadgentoo-6d93b2e2efe4034288ceb9f61f932bef44cb1af1.tar.gz
gentoo-6d93b2e2efe4034288ceb9f61f932bef44cb1af1.tar.bz2
gentoo-6d93b2e2efe4034288ceb9f61f932bef44cb1af1.zip
dev-java/tomcat-native: Add missing dies.
Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-java/tomcat-native')
-rw-r--r--dev-java/tomcat-native/tomcat-native-1.1.33-r1.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-java/tomcat-native/tomcat-native-1.1.33-r1.ebuild b/dev-java/tomcat-native/tomcat-native-1.1.33-r1.ebuild
index c6f89cd55e5c..dd46836fc0cf 100644
--- a/dev-java/tomcat-native/tomcat-native-1.1.33-r1.ebuild
+++ b/dev-java/tomcat-native/tomcat-native-1.1.33-r1.ebuild
@@ -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"