pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/tesseract Replace patch-ab with a post-extrac...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2f7ac9bcc931
branches:  trunk
changeset: 549288:2f7ac9bcc931
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Oct 30 22:12:59 2008 +0000

description:
Replace patch-ab with a post-extract rule. No change to the binary package,
just one file less in pkgsrc ;)

diffstat:

 graphics/tesseract/Makefile         |   5 ++++-
 graphics/tesseract/distinfo         |   3 +--
 graphics/tesseract/patches/patch-ab |  18 ------------------
 3 files changed, 5 insertions(+), 21 deletions(-)

diffs (53 lines):

diff -r 670331fbfe38 -r 2f7ac9bcc931 graphics/tesseract/Makefile
--- a/graphics/tesseract/Makefile       Thu Oct 30 22:07:37 2008 +0000
+++ b/graphics/tesseract/Makefile       Thu Oct 30 22:12:59 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2008/05/30 13:06:26 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2008/10/30 22:12:59 wiz Exp $
 #
 
 DISTNAME=      tesseract-2.03
@@ -15,6 +15,9 @@
 USE_LANGUAGES= c c++
 USE_TOOLS+=    gmake
 
+post-extract:
+       ${RM} ${WRKSRC}/java/makefile
+
 post-build:
        ${SED} -e "s,@PREFIX@,${PREFIX}," ${FILESDIR}/tesseract.sh \
                > ${WRKSRC}/tesseract.sh
diff -r 670331fbfe38 -r 2f7ac9bcc931 graphics/tesseract/distinfo
--- a/graphics/tesseract/distinfo       Thu Oct 30 22:07:37 2008 +0000
+++ b/graphics/tesseract/distinfo       Thu Oct 30 22:12:59 2008 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.4 2008/05/30 13:06:26 wiz Exp $
+$NetBSD: distinfo,v 1.5 2008/10/30 22:12:59 wiz Exp $
 
 SHA1 (tesseract-2.03.tar.gz) = b7859278ff98a8b64bf98b5a519688e1559cec57
 RMD160 (tesseract-2.03.tar.gz) = 7519e7f4d876444bd3264d599dbf423e22443311
 Size (tesseract-2.03.tar.gz) = 1075509 bytes
 SHA1 (patch-aa) = 6edb250b22714ffec9490602fe11cd2b284ba4bb
-SHA1 (patch-ab) = 0ddb1a61d2bd445a65c54390f877b7d1c0aa39a0
diff -r 670331fbfe38 -r 2f7ac9bcc931 graphics/tesseract/patches/patch-ab
--- a/graphics/tesseract/patches/patch-ab       Thu Oct 30 22:07:37 2008 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2008/05/30 13:06:26 wiz Exp $
-
-Without this patch:
-Entering directory `/scratch/graphics/tesseract/work/tesseract-2.03/java'
-*** No rule to make target `install'.  Stop.
-Leaving directory `/scratch/graphics/tesseract/work/tesseract-2.03/java'
-
---- Makefile.in.orig   2008-05-30 12:43:20.000000000 +0000
-+++ Makefile.in
-@@ -76,7 +76,7 @@ PACKAGE_YEAR = @PACKAGE_YEAR@
- RANLIB = @RANLIB@
- VERSION = @VERSION@
- 
--SUBDIRS = ccstruct ccutil classify cutil dict pageseg image textord viewer wordrec ccmain training tessdata testing dlltest java
-+SUBDIRS = ccstruct ccutil classify cutil dict pageseg image textord viewer wordrec ccmain training tessdata testing dlltest # java
- 
- EXTRA_DIST = eurotext.tif phototest.tif ReleaseNotes tesseract.spec config       tesseract.dsp tesseract.dsw tesseract.vcproj tesseract.sln       StdAfx.cpp StdAfx.h tessdll.cpp tessdll.h 
tessdll.dsp tessdll.vcproj
- 



Home | Main Index | Thread Index | Old Index