summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/npth/npth/pkgconfig.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/npth/npth/pkgconfig.patch')
-rw-r--r--meta/recipes-support/npth/npth/pkgconfig.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/meta/recipes-support/npth/npth/pkgconfig.patch b/meta/recipes-support/npth/npth/pkgconfig.patch
deleted file mode 100644
index b6a12e7309..0000000000
--- a/meta/recipes-support/npth/npth/pkgconfig.patch
+++ /dev/null
@@ -1,49 +0,0 @@
1Added npth pkgconfig file
2
3Upstream-Status: Pending
4
5Signed-off-by: Saul Wold <sgw@linux.intel.com>
6
7Index: npth-1.1/src/npth.pc.in
8===================================================================
9--- /dev/null
10+++ npth-1.1/src/npth.pc.in
11@@ -0,0 +1,10 @@
12+prefix=@prefix@
13+exec_prefix=@exec_prefix@
14+libdir=@libdir@
15+includedir=@includedir@
16+
17+Name: npth
18+Description: a new portable posix threading library
19+Version: @VERSION@
20+Libs: -L${libdir} -lnpth -lpthread
21+Cflags: -I${includedir}
22Index: npth-1.1/src/Makefile.am
23===================================================================
24--- npth-1.1.orig/src/Makefile.am
25+++ npth-1.1/src/Makefile.am
26@@ -27,8 +27,10 @@
27 # License along with this program; if not, see <http://www.gnu.org/licenses/>.
28
29 ## Process this file with automake to produce Makefile.in
30+pkgconfigdir = $(libdir)/pkgconfig
31+pkgconfig_DATA = npth.pc
32
33-EXTRA_DIST = libnpth.vers
34+EXTRA_DIST = libnpth.vers npth.pc
35 # versioninfo.rc.in
36 nodist_include_HEADERS = npth.h
37
38Index: npth-1.1/configure.ac
39===================================================================
40--- npth-1.1.orig/configure.ac
41+++ npth-1.1/configure.ac
42@@ -337,6 +337,7 @@ src/Makefile
43 w32/Makefile
44 tests/Makefile])
45 AC_CONFIG_FILES(npth-config, chmod +x npth-config)
46+AC_CONFIG_FILES([src/npth.pc])
47 AC_OUTPUT
48
49 echo "