pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/robodoc Fix stupid Makefile expecting /usr/bi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cb01911421f3
branches:  trunk
changeset: 506002:cb01911421f3
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jan 10 15:37:39 2006 +0000

description:
Fix stupid Makefile expecting /usr/bin/m4 is GNU-like.

diffstat:

 textproc/robodoc/Makefile         |   7 ++++++-
 textproc/robodoc/distinfo         |   4 ++--
 textproc/robodoc/patches/patch-ac |  17 +++++++++++++----
 3 files changed, 21 insertions(+), 7 deletions(-)

diffs (65 lines):

diff -r d26d654bdb14 -r cb01911421f3 textproc/robodoc/Makefile
--- a/textproc/robodoc/Makefile Tue Jan 10 14:57:18 2006 +0000
+++ b/textproc/robodoc/Makefile Tue Jan 10 15:37:39 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/12/05 20:51:08 rillig Exp $
+# $NetBSD: Makefile,v 1.9 2006/01/10 15:37:39 joerg Exp $
 #
 
 DISTNAME=      robodoc-3.2.3
@@ -12,6 +12,11 @@
 GNU_CONFIGURE= YES
 USE_TOOLS+=    gm4 gmake
 
+SUBST_CLASSES+=                gm4
+SUBST_FILES.gm4=       Docs/makefile.in
+SUBST_SED.gm4+=                -e 's,@M4@,${TOOLS_M4},g'
+SUBST_STAGE.gm4=       post-patch
+
 MAKEFILE=      makefile
 
 .include "../../mk/bsd.pkg.mk"
diff -r d26d654bdb14 -r cb01911421f3 textproc/robodoc/distinfo
--- a/textproc/robodoc/distinfo Tue Jan 10 14:57:18 2006 +0000
+++ b/textproc/robodoc/distinfo Tue Jan 10 15:37:39 2006 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 14:48:49 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/01/10 15:37:39 joerg Exp $
 
 SHA1 (robodoc-3.2.3.tar.gz) = e082883583ba9f8e4cbe82233caa3c9cdd3bb530
 RMD160 (robodoc-3.2.3.tar.gz) = a1304bd94d069aac603679ed053662dec10d4139
 Size (robodoc-3.2.3.tar.gz) = 105278 bytes
 SHA1 (patch-aa) = d9a26a78b8df348b965a15f88024dcdcd41d65a8
 SHA1 (patch-ab) = 90f3848a15b3edda2dfa2a9ad915cbd99fc5ed3b
-SHA1 (patch-ac) = 8b6a9cf8b4c0592c63f995461ed80f7fb8f32ac0
+SHA1 (patch-ac) = 7782f592e394d5ee3df2a7efbb64bae4fc7d05b3
 SHA1 (patch-ad) = c39f68e0555d32444c3ee9548e4999249acb4246
diff -r d26d654bdb14 -r cb01911421f3 textproc/robodoc/patches/patch-ac
--- a/textproc/robodoc/patches/patch-ac Tue Jan 10 14:57:18 2006 +0000
+++ b/textproc/robodoc/patches/patch-ac Tue Jan 10 15:37:39 2006 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.1.1.1 2001/09/26 19:29:13 wrstuden Exp $
+$NetBSD: patch-ac,v 1.2 2006/01/10 15:37:39 joerg Exp $
 
---- Docs/makefile.in.orig      Tue Sep 25 18:33:14 2001
-+++ Docs/makefile.in   Tue Sep 25 18:33:32 2001
-@@ -65,7 +65,7 @@
+--- Docs/makefile.in.orig      2001-05-30 16:43:16.000000000 +0000
++++ Docs/makefile.in
+@@ -65,7 +65,7 @@ VERSION = @VERSION@
  man_MANS = robodoc.1
  MAINTAINERCLEANFILES = robodoc.html stoc.html stoc.m4
  
@@ -11,3 +11,12 @@
  doc_DATA = main.css robodoc.html
  
  #
+@@ -76,7 +76,7 @@ doc_DATA = main.css robodoc.html
+ # Create the documentation in HTML format
+ #
+ 
+-M4 = /usr/bin/m4
++M4 = @M4@
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../Source/config.h
+ CONFIG_CLEAN_FILES = 



Home | Main Index | Thread Index | Old Index