bind: Fix patching Makefile.in

There is no postPatchPhase.
This commit is contained in:
Franz Pletz 2015-12-22 17:27:35 +01:00 committed by Charles Strahan
parent 4867d6943f
commit 0e07172c6d
2 changed files with 13 additions and 5 deletions

View File

@ -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 ];

View 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