gnustep: attempt to fix osx building
Set with-layout=fhs. This should prevent OS X from having compat issues.
This commit is contained in:
parent
2e5edbfd99
commit
49bb0aa25a
@ -1,25 +1,38 @@
|
|||||||
{ stdenv, fetchurl, clang, which, libobjc }:
|
{ stdenv, fetchurl, clang, which, libobjc }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2.6.8";
|
version = "2.6.8";
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gnustep-make-${version}";
|
name = "gnustep-make-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-${version}.tar.gz";
|
url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-${version}.tar.gz";
|
||||||
sha256 = "0r00439f7vrggdwv60n8p626gnyymhq968i5x9ad2i4v6g8x4gk0";
|
sha256 = "0r00439f7vrggdwv60n8p626gnyymhq968i5x9ad2i4v6g8x4gk0";
|
||||||
};
|
};
|
||||||
configureFlags = "--with-installation-domain=SYSTEM";
|
|
||||||
|
configureFlags = [
|
||||||
|
"--with-layout=fhs-system"
|
||||||
|
"--disable-install-p"
|
||||||
|
];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
configureFlags="$configureFlags --with-config-file=$out/etc/GNUstep/GNUstep.conf"
|
||||||
|
'';
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"GNUSTEP_INSTALLATION_DOMAIN=SYSTEM"
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ clang which libobjc ];
|
buildInputs = [ clang which libobjc ];
|
||||||
patches = [ ./fixup-paths.patch ];
|
patches = [ ./fixup-paths.patch ];
|
||||||
setupHook = ./setup-hook.sh;
|
setupHook = ./setup-hook.sh;
|
||||||
meta = {
|
meta = {
|
||||||
description = "A build manager for GNUstep";
|
description = "A build manager for GNUstep";
|
||||||
|
|
||||||
homepage = http://gnustep.org/;
|
homepage = http://gnustep.org/;
|
||||||
|
|
||||||
license = stdenv.lib.licenses.lgpl2Plus;
|
license = stdenv.lib.licenses.lgpl2Plus;
|
||||||
|
|
||||||
maintainers = with stdenv.lib.maintainers; [ ashalkhakov matthewbauer ];
|
maintainers = with stdenv.lib.maintainers; [ ashalkhakov matthewbauer ];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user