net-misc/openvpn-radiusplugin: bump EAPI, fix category for openvpn dependency

This commit is contained in:
Sergey Popov 2017-06-08 16:13:16 +03:00
parent ecf16a3633
commit 30bec57edf
2 changed files with 7 additions and 5 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata> <pkgmetadata>
<maintainer> <maintainer type="person">
<email>pinkbyte@gentoo.org</email> <email>pinkbyte@gentoo.org</email>
<name>Sergey Popov</name> <name>Sergey Popov</name>
</maintainer> </maintainer>

View File

@ -1,8 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: $ # $Header: $
EAPI=4 EAPI=6
MY_PN="radiusplugin" MY_PN="radiusplugin"
MY_P="${MY_PN}_v${PV}" MY_P="${MY_PN}_v${PV}"
@ -21,9 +21,9 @@ KEYWORDS="~amd64 ~x86"
#IUSE="doc" #IUSE="doc"
IUSE="" IUSE=""
DEPEND="dev-libs/libgcrypt" DEPEND="dev-libs/libgcrypt:="
RDEPEND="${DEPEND} RDEPEND="${DEPEND}
net-misc/openvpn" net-vpn/openvpn"
S="${WORKDIR}/${MY_PN}" S="${WORKDIR}/${MY_PN}"
@ -37,6 +37,8 @@ src_prepare() {
Makefile || die 'sed on Makefile failed' Makefile || die 'sed on Makefile failed'
# needed for proper compilation # needed for proper compilation
append-cflags -shared -fPIC -DPIC append-cflags -shared -fPIC -DPIC
eapply_user
} }
src_compile() { src_compile() {