Merge pull request #10934 from benley/darwin-dpkg
dpkg: fix the build on Darwin
This commit is contained in:
commit
7693fc2994
@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
|
|||||||
"--disable-dselect"
|
"--disable-dselect"
|
||||||
"--with-admindir=/var/lib/dpkg"
|
"--with-admindir=/var/lib/dpkg"
|
||||||
"PERL_LIBDIR=$(out)/${perl.libPrefix}"
|
"PERL_LIBDIR=$(out)/${perl.libPrefix}"
|
||||||
|
(stdenv.lib.optionalString stdenv.isDarwin "--disable-linker-optimisations")
|
||||||
|
(stdenv.lib.optionalString stdenv.isDarwin "--disable-start-stop-daemon")
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
@ -55,7 +57,7 @@ stdenv.mkDerivation rec {
|
|||||||
description = "The Debian package manager";
|
description = "The Debian package manager";
|
||||||
homepage = http://wiki.debian.org/Teams/Dpkg;
|
homepage = http://wiki.debian.org/Teams/Dpkg;
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ mornfall nckx ];
|
maintainers = with maintainers; [ mornfall nckx ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user