mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 03:41:29 +00:00
utils: openzwave: disable examples and fix include
Patch 903 disables building of examples. Patch 904 fixes the following issue: When building software that build depends on openzwave, build will always search in /usr/include/openzwave instead of staging_dir/.../usr/include/openzwave. Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
This commit is contained in:
15
utils/openzwave/patches/904-fix-lib-include-path.patch
Normal file
15
utils/openzwave/patches/904-fix-lib-include-path.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
diff --git a/cpp/build/Makefile b/cpp/build/Makefile
|
||||
index 666472d..41dc58c 100644
|
||||
--- a/cpp/build/Makefile
|
||||
+++ b/cpp/build/Makefile
|
||||
@@ -139,8 +139,8 @@ $(top_builddir)/libopenzwave.pc: $(top_srcdir)/cpp/build/libopenzwave.pc.in $(PK
|
||||
@$(SED) \
|
||||
-e 's|[@]prefix@|$(PREFIX)|g' \
|
||||
-e 's|[@]exec_prefix@|$(PREFIX)/bin|g' \
|
||||
- -e 's|[@]libdir@|$(instlibdir)|g' \
|
||||
- -e 's|[@]includedir@|$(PREFIX)/include/openzwave/|g' \
|
||||
+ -e 's|[@]libdir@|$${prefix}/lib|g' \
|
||||
+ -e 's|[@]includedir@|$${prefix}/include/openzwave/|g' \
|
||||
-e 's|[@]sysconfdir@|/etc/openzwave/|g' \
|
||||
-e 's|[@]gitversion@|$(GITVERSION)|g' \
|
||||
-e 's|[@]docdir@|$(docdir)/|g' \
|
||||
Reference in New Issue
Block a user