bind: Fix patching Makefile.in
There is no postPatchPhase.
This commit is contained in:
parent
4867d6943f
commit
0e07172c6d
@ -10,11 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1w4gp4hdkb452nmz91l413d1rx89isl2l6wv8kpbdd2afpc3phws";
|
sha256 = "1w4gp4hdkb452nmz91l413d1rx89isl2l6wv8kpbdd2afpc3phws";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatchPhase = ''
|
patches = [ ./libressl.patch ./remove-mkdir-var.patch ];
|
||||||
sed -i 's/^\t.*run/\t/' Makefile.in
|
|
||||||
'';
|
|
||||||
|
|
||||||
patches = [ ./libressl.patch ];
|
|
||||||
|
|
||||||
buildInputs = [ openssl libtool perl libxml2 ];
|
buildInputs = [ openssl libtool perl libxml2 ];
|
||||||
|
|
||||||
|
12
pkgs/servers/dns/bind/remove-mkdir-var.patch
Normal file
12
pkgs/servers/dns/bind/remove-mkdir-var.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
--- a/Makefile.in
|
||||||
|
+++ b/Makefile.in
|
||||||
|
@@ -53,8 +53,7 @@ docclean manclean maintainer-clean::
|
||||||
|
doc man:: ${MANOBJS}
|
||||||
|
|
||||||
|
installdirs:
|
||||||
|
- $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir} \
|
||||||
|
- ${DESTDIR}${localstatedir}/run ${DESTDIR}${sysconfdir}
|
||||||
|
+ $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir} ${DESTDIR}${sysconfdir}
|
||||||
|
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
|
||||||
|
|
||||||
|
install:: isc-config.sh installdirs
|
Loading…
x
Reference in New Issue
Block a user