From f9a857d08c949bd8a865376545270769c1f70a92 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 5 Nov 2009 18:07:47 +0000 Subject: libxslt: Convert to BBCLASSEXTEND Signed-off-by: Richard Purdie --- meta/packages/libxslt/files/pkgconfig_fix.patch | 22 ---------------------- meta/packages/libxslt/libxslt-native_1.1.22.bb | 4 ---- meta/packages/libxslt/libxslt/pkgconfig_fix.patch | 22 ++++++++++++++++++++++ meta/packages/libxslt/libxslt_1.1.22.bb | 2 ++ 4 files changed, 24 insertions(+), 26 deletions(-) delete mode 100644 meta/packages/libxslt/files/pkgconfig_fix.patch delete mode 100644 meta/packages/libxslt/libxslt-native_1.1.22.bb create mode 100644 meta/packages/libxslt/libxslt/pkgconfig_fix.patch diff --git a/meta/packages/libxslt/files/pkgconfig_fix.patch b/meta/packages/libxslt/files/pkgconfig_fix.patch deleted file mode 100644 index d21663896f..0000000000 --- a/meta/packages/libxslt/files/pkgconfig_fix.patch +++ /dev/null @@ -1,22 +0,0 @@ -Index: libxslt-1.1.22/libexslt.pc.in -=================================================================== ---- libxslt-1.1.22.orig/libexslt.pc.in 2008-03-19 16:52:20.000000000 +0000 -+++ libxslt-1.1.22/libexslt.pc.in 2008-03-19 16:55:49.000000000 +0000 -@@ -8,5 +8,5 @@ - Version: @LIBEXSLT_VERSION@ - Description: EXSLT Extension library - Requires: libxml-2.0 --Libs: @EXSLT_LIBDIR@ @EXSLT_LIBS@ -+Libs: -lexslt @EXSLT_LIBDIR@ @M_LIBS@ - Cflags: @EXSLT_INCLUDEDIR@ -Index: libxslt-1.1.22/libxslt.pc.in -=================================================================== ---- libxslt-1.1.22.orig/libxslt.pc.in 2008-03-19 16:52:20.000000000 +0000 -+++ libxslt-1.1.22/libxslt.pc.in 2008-03-19 16:55:38.000000000 +0000 -@@ -8,5 +8,5 @@ - Version: @VERSION@ - Description: XSLT library version 2. - Requires: libxml-2.0 --Libs: @XSLT_LIBDIR@ @XSLT_LIBS@ -+Libs: -lxslt @XSLT_LIBDIR@ @M_LIBS@ - Cflags: @XSLT_INCLUDEDIR@ diff --git a/meta/packages/libxslt/libxslt-native_1.1.22.bb b/meta/packages/libxslt/libxslt-native_1.1.22.bb deleted file mode 100644 index 5157aaacbf..0000000000 --- a/meta/packages/libxslt/libxslt-native_1.1.22.bb +++ /dev/null @@ -1,4 +0,0 @@ -require libxslt_${PV}.bb -inherit native - -DEPENDS = "libxml2-native (>=2.6.27)" diff --git a/meta/packages/libxslt/libxslt/pkgconfig_fix.patch b/meta/packages/libxslt/libxslt/pkgconfig_fix.patch new file mode 100644 index 0000000000..d21663896f --- /dev/null +++ b/meta/packages/libxslt/libxslt/pkgconfig_fix.patch @@ -0,0 +1,22 @@ +Index: libxslt-1.1.22/libexslt.pc.in +=================================================================== +--- libxslt-1.1.22.orig/libexslt.pc.in 2008-03-19 16:52:20.000000000 +0000 ++++ libxslt-1.1.22/libexslt.pc.in 2008-03-19 16:55:49.000000000 +0000 +@@ -8,5 +8,5 @@ + Version: @LIBEXSLT_VERSION@ + Description: EXSLT Extension library + Requires: libxml-2.0 +-Libs: @EXSLT_LIBDIR@ @EXSLT_LIBS@ ++Libs: -lexslt @EXSLT_LIBDIR@ @M_LIBS@ + Cflags: @EXSLT_INCLUDEDIR@ +Index: libxslt-1.1.22/libxslt.pc.in +=================================================================== +--- libxslt-1.1.22.orig/libxslt.pc.in 2008-03-19 16:52:20.000000000 +0000 ++++ libxslt-1.1.22/libxslt.pc.in 2008-03-19 16:55:38.000000000 +0000 +@@ -8,5 +8,5 @@ + Version: @VERSION@ + Description: XSLT library version 2. + Requires: libxml-2.0 +-Libs: @XSLT_LIBDIR@ @XSLT_LIBS@ ++Libs: -lxslt @XSLT_LIBDIR@ @M_LIBS@ + Cflags: @XSLT_INCLUDEDIR@ diff --git a/meta/packages/libxslt/libxslt_1.1.22.bb b/meta/packages/libxslt/libxslt_1.1.22.bb index 82a3096a7d..f32a6aa52f 100644 --- a/meta/packages/libxslt/libxslt_1.1.22.bb +++ b/meta/packages/libxslt/libxslt_1.1.22.bb @@ -17,3 +17,5 @@ PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale" FILES_${PN}-dev += "${bindir}/xslt-config" FILES_${PN}-utils += "${bindir}" + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf