vp-build/templates/newsyslog/patches/fix_Makefile_in.diff
Juan RP 85a7ceb76f Move all patches to templates/$pkgname/patches.
There's no need to set patch_files/patch_args anymore, all patches
in this directory will be applied with -Np0 and they have .diff
or .patch (and .gz/.bz2) extension.

--HG--
extra : convert_revision : 8d516c033fe34db94ebbcc84c246e84fc96ed901
2009-10-15 16:07:47 +02:00

14 lines
534 B
Diff

--- Makefile.in.orig 2009-03-28 14:36:17.871227905 +0100
+++ Makefile.in 2009-03-28 14:36:52.480413711 +0100
@@ -88,8 +88,8 @@ check test tests: newsyslog t/runtests
cd t && ./runtests TESTS
install: newsyslog newsyslog.8
- $(INSTALL) -m 0755 newsyslog $(sbindir)
- $(INSTALL) -m 0644 newsyslog.8 $(mandir)/man8
+ $(INSTALL) -D -m 0755 newsyslog $(DESTDIR)/$(sbindir)/newsyslog
+ $(INSTALL) -D -m 0644 newsyslog.8 $(DESTDIR)/$(mandir)/man8/newsyslog.8
clean:
rm -f *.o t/*.o core newsyslog newsyslog.pure .pure config.log \