ports/165091: [patch] textproc/libyaml: pkg-config file is broken with includes
David Demelier
demelier.david at gmail.com
Mon Feb 13 12:00:38 UTC 2012
>Number: 165091
>Category: ports
>Synopsis: [patch] textproc/libyaml: pkg-config file is broken with includes
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 13 12:00:26 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: David Demelier
>Release: 9.0-RELEASE
>Organization:
>Environment:
FreeBSD Groseille.malikania.fr 9.0-RELEASE FreeBSD 9.0-RELEASE #1: Thu Feb 9 09:10:34 CET 2012 root at Groseille.malikania.fr:/usr/obj/usr/src/sys/Groseille amd64
>Description:
The textproc/libyaml install a pkg-config file that does not honor --cflags switch.
This is the result of pkg-config --libs --cflags yaml-1.0 before the patch :
-L/usr/local/lib -lyaml
And this is after :
-I/usr/local/include -L/usr/local/lib -lyaml
>How-To-Repeat:
Install textproc/libyaml and type pkg-config --cflags yaml-1.0
>Fix:
--- yaml.diff begins here ---
--- /dev/null 2012-02-13 12:47:45.000000000 +0100
+++ files/patch-yaml-0.1.pc.in 2012-02-13 12:47:06.000000000 +0100
@@ -0,0 +1,9 @@
+--- yaml-0.1.pc.in.orig 2012-02-13 12:45:03.000000000 +0100
++++ yaml-0.1.pc.in 2012-02-13 12:46:08.000000000 +0100
+@@ -6,5 +6,5 @@
+ Name: LibYAML
+ Description: Library to parse and emit YAML
+ Version: @PACKAGE_VERSION@
+-Cflags:
++Cflags: -I${includedir}
+ Libs: -L${libdir} -lyaml
--- yaml.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list