mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-14 16:14:50 +00:00
tetex: fix darwin build
specify -std=gnu89 and -std=c++03 to fix the configure script and build.
the tarballs were last updated in 2006 and the package is no longer
maintain so use standards from the era.
(cherry picked from commit 61e89d1002
)
This commit is contained in:
parent
b841269d85
commit
85b86328ec
@ -31,6 +31,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
env = {
|
||||
CFLAGS = "-std=gnu89";
|
||||
CXXFLAGS = "-std=c++03";
|
||||
};
|
||||
|
||||
configureFlags =
|
||||
[ "--disable-multiplatform" "--without-x11" "--without-xdvik"
|
||||
"--without-oxdvik" "--without-texinfo" "--without-texi2html"
|
||||
|
Loading…
Reference in New Issue
Block a user