openbsd-ports/games/scummvm/patches/patch-configure
2010-10-17 19:59:51 +00:00

18 lines
553 B
Plaintext

$OpenBSD: patch-configure,v 1.6 2010/10/17 19:59:51 jsg Exp $
--- configure.orig Thu Oct 7 17:48:52 2010
+++ configure Sun Oct 17 15:45:59 2010
@@ -2278,9 +2278,11 @@ EOF
fi
if test "$_flac" = yes ; then
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"
fi