openbsd-ports/audio/hydrogen/patches/patch-configure
mgrimm 2c86a3339a Make Hydrogen deal with the audio/flac update:
- Fix WANTLIB and LIB_DEPENDS,
 - add -logg to LDFLAGS, as libOggFLAC is now part of libFLAC and depends on it,
 - adjust to API changes.

ok naddy@
2007-09-18 18:30:35 +00:00

21 lines
576 B
Plaintext

$OpenBSD: patch-configure,v 1.2 2007/09/18 18:30:35 mgrimm Exp $
--- configure.orig Wed Jan 18 23:03:01 2006
+++ configure Sun Sep 9 19:10:26 2007
@@ -4583,7 +4583,7 @@ cat >>confdefs.h <<\_ACEOF
#define FLAC_SUPPORT 1
_ACEOF
- ac_libraries="${ac_libraries} -lFLAC++ -lFLAC"
+ ac_libraries="${ac_libraries} -lFLAC++ -lFLAC -logg"
features_list="${features_list} (FLAC)"
fi
else
@@ -4971,6 +4971,7 @@ cat >>confdefs.h <<\_ACEOF
_ACEOF
features_list="${features_list} (OSS)"
+ ac_libraries="${ac_libraries} -lossaudio"
else
echo "OSS support disabled."
fi