sys-libs/ncurses: Slight ebuild simplification.
authorArfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com>
Wed, 21 Feb 2018 14:51:04 +0000 (15:51 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Wed, 21 Feb 2018 14:52:22 +0000 (15:52 +0100)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

sys-libs/ncurses/ncurses-6.1-r1.ebuild

index 2e95e356ae29598c0e2c2692519f0c8952c5ce12..fffbdd92da9b02736e06ecc99e95c23fd0f45078 100644 (file)
@@ -114,13 +114,8 @@ do_configure() {
                # Disabled until #245417 is sorted out.
                #$(use_with berkdb hashed-db)
 
-               # ncurses is dumb and doesn't install .pc files unless pkg-config
-               # is also installed.  Force the tests to go our way.  Note that it
-               # doesn't actually use pkg-config ... it just looks for set vars.
-               # This is fixed in newer versions:
-               # https://lists.gnu.org/archive/html/bug-ncurses/2015-08/msg00026.html
+               # Enable installation of .pc files.
                --enable-pc-files
-               --with-pkg-config="$(tc-getPKG_CONFIG)"
                # This path is used to control where the .pc files are installed.
                --with-pkg-config-libdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig"