diff mbox series

pkgconf: don't use alternatives

Message ID 20180911093745.5397-1-ross.burton@intel.com
State Accepted
Commit d638fe0cc84b72b9159767a862ad37550469eae8
Headers show
Series pkgconf: don't use alternatives | expand

Commit Message

Ross Burton Sept. 11, 2018, 9:37 a.m. UTC
There's no need to do alternatives as pkgconf and pkg-config won't be installed
at the same time, and pkg-config doesn't do alternatives either.

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/recipes-devtools/pkgconf/pkgconf_1.5.3.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

-- 
2.11.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

diff --git a/meta/recipes-devtools/pkgconf/pkgconf_1.5.3.bb b/meta/recipes-devtools/pkgconf/pkgconf_1.5.3.bb
index 2021d1ac602..415478d5cf9 100644
--- a/meta/recipes-devtools/pkgconf/pkgconf_1.5.3.bb
+++ b/meta/recipes-devtools/pkgconf/pkgconf_1.5.3.bb
@@ -24,7 +24,7 @@  SRC_URI = "\
 SRC_URI[md5sum] = "c21743bca14c882c0f282746168a5edc"
 SRC_URI[sha256sum] = "d3468308553c94389dadfd10c4d1067269052b5364276a9d24a643c88485f715"
 
-inherit autotools update-alternatives
+inherit autotools
 
 EXTRA_OECONF += "--with-pkg-config-dir='${libdir}/pkgconfig:${datadir}/pkgconfig'"
 
@@ -46,8 +46,6 @@  do_install_append_class-native () {
     install -m755 ${B}/pkg-config-esdk ${D}${bindir}/pkg-config-esdk
 }
 
-ALTERNATIVE_${PN} = "pkg-config"
-
 # When using the RPM generated automatic package dependencies, some packages
 # will end up requiring 'pkgconfig(pkg-config)'.  Allow this behavior by
 # specifying an appropriate provide.