cernlib: fix build
The imake rules contain a comment line that looks like a pragma. Recently imake in nixpkgs was switched to use tradcpp, which is a bit more strict about interpreting unknown pragmas. To fix the build, the comments is changed to use C++ style comments.
This commit is contained in:
parent
703827f36c
commit
357f6a8b7e
@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
|
||||
postPatch = ''
|
||||
substituteInPlace 2006/src/config/site.def \
|
||||
--replace "# define MakeCmd gmake" "# define MakeCmd make"
|
||||
substituteInPlace 2006/src/config/lnxLib.rules \
|
||||
--replace "# lib" "// lib"
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
|
Loading…
Reference in New Issue
Block a user