cleanup the pkgconfig file

This commit is contained in:
Dan Horák 2014-06-12 12:10:19 +02:00
parent a41ac6eb91
commit f8dded0eab
2 changed files with 11 additions and 5 deletions

View File

@ -1,11 +1,17 @@
--- libffi.pc.in~ 2014-04-25 13:45:13.000000000 -0400
+++ libffi.pc.in 2014-05-19 12:58:22.354885178 -0400
@@ -2,7 +2,7 @@
diff -up libffi-3.1/libffi.pc.in.fixpath libffi-3.1/libffi.pc.in
--- libffi-3.1/libffi.pc.in.fixpath 2014-04-25 19:45:13.000000000 +0200
+++ libffi-3.1/libffi.pc.in 2014-06-12 12:06:06.000000000 +0200
@@ -1,11 +1,10 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
toolexeclibdir=@toolexeclibdir@
-toolexeclibdir=@toolexeclibdir@
-includedir=${libdir}/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
+includedir=@includedir@
Name: @PACKAGE_NAME@
Description: Library supporting Foreign Function Interfaces
Version: @PACKAGE_VERSION@
-Libs: -L${toolexeclibdir} -lffi
+Libs: -L${libdir} -lffi
Cflags: -I${includedir}

View File

@ -56,7 +56,7 @@ developing applications that use %{name}.
%prep
%setup -q
%patch0 -p0 -b .fixpath
%patch0 -p1 -b .fixpath
%build