git.iko.soy/typeable/nixpkgs
on master help sign in
pakcs: fixed for darwin
commit1fa5aceda8f5ffa4b9cb6217ded9f40dbe876189 authorAlex Ivanov <gnidorah@users.noreply.github.com> dateMon 10 Oct 2016, 21:50 (10 years ago) parente9e6999
2 files changed+24−2
pkgs/development/compilers/pakcs/case-insensitive.patch+19 pkgs/development/compilers/pakcs/default.nix+5−2
pkgs/development/compilers/pakcs/case-insensitive.patchnew file+19
@@ -0,0 +1,19 @@
1+--- www/Makefile.orig 2016-10-10 21:04:36.000000000 +0300
2++++ pakcs-1.14.0/www/Makefile 2016-10-10 21:07:56.000000000 +0300
3+@@ -6,7 +6,7 @@ all: submitform Registry
4+ submitform: SubmitForm.curry $(LIBDIR)/HtmlCgi.curry \
5+ $(LIBDIR)/NamedSocket.curry $(LIBDIR)/CPNS.curry
6+ $(REPL) $(REPL_OPTS) :load SubmitForm :save :q
7+- mv SubmitForm submitform
8++ mv SubmitForm submitform.orig && mv submitform.orig submitform
9+
10+ Registry: Registry.curry $(LIBDIR)/HtmlCgi.curry
11+ $(REPL) $(REPL_OPTS) :load Registry :save :q
12+--- currytools/erd2curry/Makefile.orig 2016-10-10 21:13:49.000000000 +0300
13++++ pakcs-1.14.0/currytools/erd2curry/Makefile 2016-10-10 21:21:14.000000000 +0300
14+@@ -32,4 +32,4 @@ uninstall: clean
15+ erd2curry: $(DEPS)
16+ # create saved state for top-level function "main":
17+ $(REPL) $(REPL_OPTS) :load ERD2Curry :save "main \"$(CURDIR)\"" :q
18+- mv ERD2Curry $@
19++ mv ERD2Curry $@.orig && mv $@.orig $@
pkgs/development/compilers/pakcs/default.nix+5−2
@@ -82,7 +82,10 @@ stdenv.mkDerivation rec {
8282
8383 buildInputs = [ swiPrologLocked makeWrapper glibcLocales rlwrap tk which ];
8484
85− patches = [ ./adjust-buildsystem.patch ];
85+ patches = [
86+ ./adjust-buildsystem.patch
87+ ./case-insensitive.patch
88+ ];
8689
8790 configurePhase = ''
8891 # Phony HOME.
@@ -151,6 +154,6 @@ stdenv.mkDerivation rec {
151154 '';
152155
153156 maintainers = [ stdenv.lib.maintainers.gnidorah ];
154− platforms = stdenv.lib.platforms.linux;
157+ platforms = stdenv.lib.platforms.unix;
155158 };
156159}