summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2012-01-29 10:11:38 -0600
committerJeremy Olexa <darkside@gentoo.org>2012-01-29 10:11:38 -0600
commitc199ca8da38f27887da1e318f68d15640f819d75 (patch)
treeb831213083f0c772fe3815e2d21c1f9d72fd3bfa /net-misc
parent[net-misc/openvpn] version bump to 2.2.2, bug 383537 (diff)
downloaddarkside-c199ca8da38f27887da1e318f68d15640f819d75.tar.gz
darkside-c199ca8da38f27887da1e318f68d15640f819d75.tar.bz2
darkside-c199ca8da38f27887da1e318f68d15640f819d75.zip
[net-misc/openvpn] EAPI4 helpers die by themselves
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/openvpn/openvpn-2.2.2.ebuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/net-misc/openvpn/openvpn-2.2.2.ebuild b/net-misc/openvpn/openvpn-2.2.2.ebuild
index af4c8b9..a060835 100644
--- a/net-misc/openvpn/openvpn-2.2.2.ebuild
+++ b/net-misc/openvpn/openvpn-2.2.2.ebuild
@@ -74,7 +74,7 @@ src_compile() {
sed -i -e '/^LIBS/s/LIBS = /LIBS = -static /' Makefile || die "sed failed"
fi
- emake || die "make failed"
+ emake
if ! use minimal ; then
cd plugin
@@ -82,14 +82,14 @@ src_compile() {
[[ ${i} == "README" || ${i} == "examples" || ${i} == "defer" ]] && continue
[[ ${i} == "auth-pam" ]] && ! use pam && continue
einfo "Building ${i} plugin"
- emake -C "${i}" CC=$(tc-getCC) || die "make failed"
+ emake -C "${i}" CC=$(tc-getCC)
done
cd ..
fi
}
src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install
# install documentation
dodoc AUTHORS ChangeLog PORTS README
@@ -97,12 +97,12 @@ src_install() {
# Install some helper scripts
keepdir /etc/openvpn
exeinto /etc/openvpn
- doexe "${FILESDIR}/up.sh" || die "doexe failed"
- doexe "${FILESDIR}/down.sh" || die "doexe failed"
+ doexe "${FILESDIR}/up.sh"
+ doexe "${FILESDIR}/down.sh"
# Install the init script and config file
- newinitd "${FILESDIR}/${PN}-2.1.init" openvpn || die "newinitd failed"
- newconfd "${FILESDIR}/${PN}-2.1.conf" openvpn || die "newconfd failed"
+ newinitd "${FILESDIR}/${PN}-2.1.init" openvpn
+ newconfd "${FILESDIR}/${PN}-2.1.conf" openvpn
# install examples, controlled by the respective useflag
if use examples ; then