aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-03-24 19:03:36 +0100
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-03-24 19:03:36 +0100
commitf1d0b079711fb1903596513e4149a80758a2fa75 (patch)
tree8e6edaa2a97c02518c5c5b96bcafd164ff63ed2a /net-misc/openbgpd/openbgpd-6.6_p0.ebuild
parentgui-wm/wayfire + others: fixed download links for commit by Aisha Tammy (diff)
downloadguru-f1d0b079711fb1903596513e4149a80758a2fa75.tar.gz
guru-f1d0b079711fb1903596513e4149a80758a2fa75.tar.bz2
guru-f1d0b079711fb1903596513e4149a80758a2fa75.zip
net-misc/openbgpd: use PATCHES and S variable
looks a bit simpler then using src_unpack stuff Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'net-misc/openbgpd/openbgpd-6.6_p0.ebuild')
-rw-r--r--net-misc/openbgpd/openbgpd-6.6_p0.ebuild13
1 files changed, 4 insertions, 9 deletions
diff --git a/net-misc/openbgpd/openbgpd-6.6_p0.ebuild b/net-misc/openbgpd/openbgpd-6.6_p0.ebuild
index 6f9d47689..2dd151e2b 100644
--- a/net-misc/openbgpd/openbgpd-6.6_p0.ebuild
+++ b/net-misc/openbgpd/openbgpd-6.6_p0.ebuild
@@ -6,7 +6,6 @@ EAPI=7
inherit systemd
MY_PV="${PV/_p/p}"
-#MY_PN="openbgpd-portable"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="OpenBGPD is a free implementation of BGPv4"
@@ -28,15 +27,11 @@ BDEPEND="
sys-devel/libtool
"
-src_unpack() {
- default
- mv "${WORKDIR}/${MY_P}" "${S}"
-}
+S="${WORKDIR}/${MY_P}"
-src_prepare() {
- eapply -p0 "${FILESDIR}/${P}-config.c.patch"
- default
-}
+PATCHES=(
+ "${FILESDIR}/${P}-config.c.patch"
+)
src_install() {
default