diff options
author | Saul Wold <sgw@linux.intel.com> | 2014-11-10 13:59:03 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-03 12:22:40 +0000 |
commit | 7799ca5e72cd42830efa7e1b5f2dbddcf2495254 (patch) | |
tree | e6a73f2422aeb54f1e6116cee5a82efbca990da6 /meta/recipes-support/npth/npth | |
parent | 733856ee8458b31074e4df379dc8c1b037251c49 (diff) | |
download | openembedded-core-contrib-7799ca5e72cd42830efa7e1b5f2dbddcf2495254.tar.gz |
npth: Upgrade to 1.1
Add patch for adding pkgconfig file.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-support/npth/npth')
-rw-r--r-- | meta/recipes-support/npth/npth/pkgconfig.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/recipes-support/npth/npth/pkgconfig.patch b/meta/recipes-support/npth/npth/pkgconfig.patch new file mode 100644 index 0000000000..55d12c220c --- /dev/null +++ b/meta/recipes-support/npth/npth/pkgconfig.patch @@ -0,0 +1,48 @@ +Added npth pkgconfig file + +Upstream-Status: Incompatible [oe-core specific] + +Signed-off-by: Saul Wold <sgw@linux.intel.com> +Index: npth-1.1/src/npth.pc.in +=================================================================== +--- /dev/null ++++ npth-1.1/src/npth.pc.in +@@ -0,0 +1,10 @@ ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ ++libdir=@libdir@ ++includedir=@includedir@ ++ ++Name: npth ++Description: a new portable posix threading library ++Version: @VERSION@ ++Libs: -L${libdir} -lnpth ++Cflags: -I${includedir} +Index: npth-1.1/src/Makefile.am +=================================================================== +--- npth-1.1.orig/src/Makefile.am ++++ npth-1.1/src/Makefile.am +@@ -27,8 +27,10 @@ + # License along with this program; if not, see <http://www.gnu.org/licenses/>. + + ## Process this file with automake to produce Makefile.in ++pkgconfigdir = $(libdir)/pkgconfig ++pkgconfig_DATA = npth.pc + +-EXTRA_DIST = libnpth.vers ++EXTRA_DIST = libnpth.vers npth.pc + # versioninfo.rc.in + nodist_include_HEADERS = npth.h + +Index: npth-1.1/configure.ac +=================================================================== +--- npth-1.1.orig/configure.ac ++++ npth-1.1/configure.ac +@@ -337,6 +337,7 @@ src/Makefile + w32/Makefile + tests/Makefile]) + AC_CONFIG_FILES(npth-config, chmod +x npth-config) ++AC_CONFIG_FILES([src/npth.pc]) + AC_OUTPUT + + echo " |