Merge pull request #82815 from veprbl/pr/gnuplot_qt_darwin_fix
gnuplot_qt: fix on darwin
This commit is contained in:
commit
b31f8d9b05
@ -48,12 +48,16 @@ in
|
|||||||
(if aquaterm then "--with-aquaterm" else "--without-aquaterm")
|
(if aquaterm then "--with-aquaterm" else "--without-aquaterm")
|
||||||
];
|
];
|
||||||
|
|
||||||
|
CXXFLAGS = lib.optionalString (stdenv.isDarwin && withQt) "-std=c++11";
|
||||||
|
|
||||||
postInstall = lib.optionalString withX ''
|
postInstall = lib.optionalString withX ''
|
||||||
wrapProgram $out/bin/gnuplot \
|
wrapProgram $out/bin/gnuplot \
|
||||||
--prefix PATH : '${gnused}/bin' \
|
--prefix PATH : '${gnused}/bin' \
|
||||||
--prefix PATH : '${coreutils}/bin' \
|
--prefix PATH : '${coreutils}/bin' \
|
||||||
--prefix PATH : '${fontconfig.bin}/bin' \
|
--prefix PATH : '${fontconfig.bin}/bin' \
|
||||||
--run '. ${./set-gdfontpath-from-fontconfig.sh}'
|
--run '. ${./set-gdfontpath-from-fontconfig.sh}'
|
||||||
|
'' + lib.optionalString (stdenv.isDarwin && withQt) ''
|
||||||
|
wrapQtApp $out/bin/gnuplot
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user