openbsd-ports/audio/flac/patches/patch-src_libFLAC_flac_pc_in
fgsch f01bf712ba add -logg to the .pc file if we are compiled with ogg, so other software
depending on pkg-config's --libs output don't need to be patched. naddy@ ok
2008-04-07 03:54:39 +00:00

12 lines
450 B
Plaintext

$OpenBSD: patch-src_libFLAC_flac_pc_in,v 1.1 2008/04/07 03:54:39 fgsch Exp $
--- src/libFLAC/flac.pc.in.orig Tue Apr 1 00:19:43 2008
+++ src/libFLAC/flac.pc.in Tue Apr 1 00:20:45 2008
@@ -6,5 +6,5 @@ includedir=@includedir@
Name: FLAC
Description: Free Lossless Audio Codec Library
Version: @VERSION@
-Libs: -L${libdir} -lFLAC -lm
-Cflags: -I${includedir}/FLAC
+Libs: -L${libdir} -lFLAC @OGG_LIBS@ -lm
+Cflags: -I${includedir}/FLAC @OGG_CFLAGS@