Opened 17 months ago

Last modified 17 months ago

#67580 closed defect

libmagic @5.44_0: pkfconfig file is missing CFlags: directive — at Initial Version

Reported by: rafork (raf) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: libmagic

Description

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.

Change History (1)

Changed 17 months ago by rafork (raf)

Attachment: libmagic.pc.patch added

patch for pkgconfig file

Note: See TracTickets for help on using tickets.