Fix cfdg build
This commit is contained in:
parent
2ab2b27e93
commit
38323efd03
@ -1,8 +1,8 @@
|
|||||||
a @ {libpng, bison, flex, fullDepEntry, ...} :
|
a @ {libpng, bison, flex, ffmpeg, fullDepEntry, ...} :
|
||||||
let
|
let
|
||||||
s = import ./src-for-default.nix;
|
s = import ./src-for-default.nix;
|
||||||
buildInputs = with a; [
|
buildInputs = with a; [
|
||||||
libpng bison flex
|
libpng bison flex ffmpeg
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
@ -13,7 +13,11 @@ rec {
|
|||||||
configureFlags = [];
|
configureFlags = [];
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
/* doConfigure should be removed if not needed */
|
||||||
phaseNames = ["doMake" "copyFiles"];
|
phaseNames = ["doFixInc" "doMake" "copyFiles"];
|
||||||
|
|
||||||
|
doFixInc = a.fullDepEntry ''
|
||||||
|
sed -e "/YY_NO_UNISTD/a#include <stdio.h>" -i src-common/cfdg.l
|
||||||
|
'' ["doUnpack" "minInit"];
|
||||||
|
|
||||||
copyFiles = a.fullDepEntry ''
|
copyFiles = a.fullDepEntry ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
@ -522,6 +522,7 @@ let
|
|||||||
|
|
||||||
cfdg = builderDefsPackage ../tools/graphics/cfdg {
|
cfdg = builderDefsPackage ../tools/graphics/cfdg {
|
||||||
inherit libpng bison flex;
|
inherit libpng bison flex;
|
||||||
|
ffmpeg = ffmpeg_1_0;
|
||||||
};
|
};
|
||||||
|
|
||||||
checkinstall = callPackage ../tools/package-management/checkinstall { };
|
checkinstall = callPackage ../tools/package-management/checkinstall { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user