libvorbis: Fix ogg dependency

This commit is contained in:
William A. Kennington III 2015-05-02 14:12:53 -07:00
parent 5728c06f83
commit ca5c9e6cf2

View File

@ -13,6 +13,12 @@ stdenv.mkDerivation rec {
doCheck = true;
# Fix header reference
postInstall = ''
sed -i $out/include/vorbis/codec.h \
-e 's,#include <ogg/ogg.h>,#include "${libogg}/include/ogg/ogg.h",g'
'';
meta = with stdenv.lib; {
homepage = http://xiph.org/vorbis/;
license = licenses.bsd3;