pkgsrc/pkgtools/rdigest/patches/patch-aa

50 lines
1.4 KiB
Text

$NetBSD: patch-aa,v 1.3 2007/07/09 15:19:15 joerg Exp $
--- Makefile.in.orig 2007-07-07 17:26:43.000000000 +0000
+++ Makefile.in
@@ -56,16 +56,16 @@ missing mkinstalldirs regress.sh
.c.o:
$(COMPILE) -c $< -o $@
-all: digest
+all: rdigest
-digest: $(digest_OBJS)
+rdigest: $(digest_OBJS)
$(LINK) $(digest_OBJS) $(LIBS)
-check: digest
+check: rdigest
@SHELL@ $(srcdir)/regress.sh
clean:
- rm -f *.o digest
+ rm -f *.o rdigest
distclean: clean
rm -f Makefile config.h
@@ -74,18 +74,18 @@ distclean: clean
maintainer-clean: distclean
rm -f configure config.h.in
-install: digest
+install: rdigest
$(mkinstalldirs) $(DESTDIR)$(bindir)
- @f=`echo digest|sed '$(transform)'`; \
- echo "$(INSTALL_PROGRAM) digest $(DESTDIR)$(bindir)/$$f"; \
- $(INSTALL_PROGRAM) digest $(DESTDIR)$(bindir)/$$f
+ @f=`echo rdigest|sed '$(transform)'`; \
+ echo "$(INSTALL_PROGRAM) rdigest $(DESTDIR)$(bindir)/$$f"; \
+ $(INSTALL_PROGRAM) rdigest $(DESTDIR)$(bindir)/$$f
$(mkinstalldirs) $(DESTDIR)$(mandir)/man1
- @f=`echo digest.1|sed '$(transform)'`; \
+ @f=`echo rdigest.1|sed '$(transform)'`; \
echo "$(INSTALL_DATA) digest.1 $(DESTDIR)$(mandir)/man1/$$f"; \
$(INSTALL_DATA) digest.1 $(DESTDIR)$(mandir)/man1/$$f
uninstall:
- @f=`echo digest|sed '$(transform)'`; \
+ @f=`echo rdigest|sed '$(transform)'`; \
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
rm -f $(DESTDIR)$(bindir)/$$f