mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
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";
|
||||
};
|
||||
|
||||
postPatchPhase = ''
|
||||
sed -i 's/^\t.*run/\t/' Makefile.in
|
||||
'';
|
||||
|
||||
patches = [ ./libressl.patch ];
|
||||
patches = [ ./libressl.patch ./remove-mkdir-var.patch ];
|
||||
|
||||
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…
Reference in New Issue
Block a user