LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File wavpack-fix_pkgconfig.patch of Package wavpack (Project multimedia:libs)

--- wavpack.pc.in.orig
+++ wavpack.pc.in
@@ -1,12 +1,11 @@
 prefix=@prefix@
-libdir=${prefix}/lib
-includedir=${prefix}/include
+libdir=@libdir@
+includedir=@includedir@
 
 Name: wavpack
 Description: wavpack library
 Version: @PACKAGE_VERSION@
 Requires:
 Conflicts:
-Libs: -L${libdir} -lwavpack
-Libs.private: @LIBM@
+Libs: -lwavpack @LIBM@ @ICONV@
 Cflags: -I${includedir}
--- include/Makefile.am.orig
+++ include/Makefile.am
@@ -1,5 +1,5 @@
 wpinclude_HEADERS = wavpack.h
-wpincludedir = $(prefix)/include/wavpack
+wpincludedir = $(includedir)/wavpack
 
 MAINTAINERCLEANFILES = \
 	Makefile.in