[MacPorts] #67580: libmagic @5.44_0: pkfconfig file is missing CFlags: directive

MacPorts noreply at macports.org
Tue Jun 6 07:39:17 UTC 2023


#67580: libmagic @5.44_0: pkfconfig file is missing CFlags: directive
--------------------+----------------------
 Reporter:  rafork  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  libmagic
--------------------+----------------------
 Using {{{pkg-config --cflags libmagic}}} produces an empty line when it
 should output {{{-I/opt/local/inlude}}}. {{{pkg-config --libs libmagic}}}
 correctly outputs {{{-L/opt/local/lib -lmagic}}}. This lead to my libmagic
 client not compiling. The .pc file is missing a line that should say:

   Cflags: -I${includedir}

 Diff is attached.

-- 
Ticket URL: <https://trac.macports.org/ticket/67580>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list