summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2021-08-13 22:45:42 -0400
committerMike Gilbert <floppym@gentoo.org>2021-08-13 22:46:48 -0400
commit7123e409ac015189a9e5c173f542180926a0e428 (patch)
tree569aafe039cf104233ac517375b09b9cdf873b4b /net-ftp/vsftpd
parentnet-p2p/deluge: Fix twisted logging error (diff)
downloadgentoo-7123e409ac015189a9e5c173f542180926a0e428.tar.gz
gentoo-7123e409ac015189a9e5c173f542180926a0e428.tar.bz2
gentoo-7123e409ac015189a9e5c173f542180926a0e428.zip
net-ftp/vsftpd: drop pkg-config use
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-ftp/vsftpd')
-rw-r--r--net-ftp/vsftpd/vsftpd-3.0.5.ebuild19
1 files changed, 4 insertions, 15 deletions
diff --git a/net-ftp/vsftpd/vsftpd-3.0.5.ebuild b/net-ftp/vsftpd/vsftpd-3.0.5.ebuild
index c417498f044f..e4ecfb256b89 100644
--- a/net-ftp/vsftpd/vsftpd-3.0.5.ebuild
+++ b/net-ftp/vsftpd/vsftpd-3.0.5.ebuild
@@ -14,10 +14,6 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="pam ssl tcpd"
-BDEPEND="
- virtual/pkgconfig
-"
-
DEPEND="
>=sys-libs/libcap-2
pam? ( sys-libs/pam )
@@ -49,13 +45,7 @@ undef() {
}
src_configure() {
- cflags=()
- libs=()
-
- local PKG_CONFIG=$(tc-getPKG_CONFIG)
-
- cflags+=( $(${PKG_CONFIG} --cflags libcap) ) || die
- libs+=( $(${PKG_CONFIG} --libs libcap) ) || die
+ libs=( -lcap )
if use pam; then
libs+=( -lpam )
@@ -66,8 +56,7 @@ src_configure() {
if use ssl; then
define VSF_BUILD_SSL
- cflags+=( $(${PKG_CONFIG} --cflags libcrypto libssl) ) || die
- libs+=( $(${PKG_CONFIG} --libs libcrypto libssl) ) || die
+ libs+=( -lcrypto -lssl )
fi
if use tcpd; then
@@ -79,8 +68,8 @@ src_configure() {
src_compile() {
local args=(
CC="$(tc-getCC)"
- CFLAGS="${CFLAGS} ${cflags[*]}"
- LDFLAGS="${CFLAGS} ${LDFLAGS}"
+ CFLAGS="${CFLAGS}"
+ LDFLAGS="${LDFLAGS}"
LIBS="${libs[*]}"
)
emake "${args[@]}"