openbsd-ports/games/scummvm/patches/patch-configure
2010-07-13 21:23:39 +00:00

18 lines
581 B
Plaintext

$OpenBSD: patch-configure,v 1.5 2010/07/13 21:23:39 jsg Exp $
--- configure.orig Thu Apr 1 00:51:54 2010
+++ configure Mon Jul 12 21:58:22 2010
@@ -1949,9 +1949,11 @@ fi
if test "$_flac" = yes ; then
_def_flac='#define USE_FLAC'
if test "$_vorbis" = yes ; then
- LIBS="$LIBS $FLAC_LIBS $OGG_LIBS -lFLAC -logg"
+ # LIBS="$LIBS $FLAC_LIBS $OGG_LIBS -lFLAC -logg"
+ LIBS="$LIBS `pkg-config --libs flac` -logg"
else
- LIBS="$LIBS $FLAC_LIBS -lFLAC"
+ # LIBS="$LIBS $FLAC_LIBS -lFLAC"
+ LIBS="$LIBS `pkg-config --libs flac`"
fi
INCLUDES="$INCLUDES $FLAC_CFLAGS"
else