public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-ftp/vsftpd/
Date: Sat, 14 Aug 2021 02:47:33 +0000 (UTC)	[thread overview]
Message-ID: <1628909208.7123e409ac015189a9e5c173f542180926a0e428.floppym@gentoo> (raw)

commit:     7123e409ac015189a9e5c173f542180926a0e428
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 14 02:45:42 2021 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Aug 14 02:46:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7123e409

net-ftp/vsftpd: drop pkg-config use

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 net-ftp/vsftpd/vsftpd-3.0.5.ebuild | 19 ++++---------------
 1 file 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 c417498f044..e4ecfb256b8 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[@]}"


             reply	other threads:[~2021-08-14  2:47 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-14  2:47 Mike Gilbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-08-25 18:17 [gentoo-commits] repo/gentoo:master commit in: net-ftp/vsftpd/ Arthur Zamarin
2022-02-02  8:03 Agostino Sarubbo
2022-02-02  0:08 Sam James
2022-02-01  5:57 Sam James
2022-02-01  5:19 Sam James
2022-02-01  5:19 Sam James
2022-02-01  5:17 Sam James
2022-01-15  9:51 Yixun Lan
2022-01-03 23:26 David Seifert
2021-08-14 16:51 Mike Gilbert
2021-07-27 18:14 Mike Gilbert
2021-07-23 17:36 Mike Gilbert
2021-06-08  9:15 Sam James
2021-05-02 14:40 Mikle Kolyada
2019-10-12 21:02 Mikle Kolyada
2018-09-15 19:40 Mikle Kolyada
2018-07-23 19:00 Sergei Trofimovich
2018-07-22 16:13 Mikle Kolyada
2018-07-09 14:35 Mikle Kolyada
2018-07-02  0:49 Thomas Deutschmann
2018-07-01  9:24 Sergei Trofimovich
2018-07-01  8:51 Sergei Trofimovich
2018-06-30 19:03 Sergei Trofimovich
2018-06-29  6:52 Sergei Trofimovich
2018-06-27 17:23 Tobias Klausmann
2016-11-03 16:19 Göktürk Yüksek
2016-08-23 15:47 Anthony G. Basile
2016-08-07  6:52 Pacho Ramos
2015-08-29 10:21 Markos Chandras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1628909208.7123e409ac015189a9e5c173f542180926a0e428.floppym@gentoo \
    --to=floppym@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox