summaryrefslogtreecommitdiff
path: root/graphics/gocr/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-10-16 20:20:41 +0000
committerwiz <wiz@pkgsrc.org>2005-10-16 20:20:41 +0000
commitf9be05900991a9766f5a3501a371ce53a9f7e1af (patch)
treed694a7cda7dabc4a7bc6a0bf22d404595ce21027 /graphics/gocr/patches
parentb87e07e441d45488fbf5e84ee558584c0c66c30b (diff)
downloadpkgsrc-f9be05900991a9766f5a3501a371ce53a9f7e1af.tar.gz
Re-import textproc/gocr as graphics/gocr (better fit).
Diffstat (limited to 'graphics/gocr/patches')
-rw-r--r--graphics/gocr/patches/patch-aa18
-rw-r--r--graphics/gocr/patches/patch-ab12
2 files changed, 30 insertions, 0 deletions
diff --git a/graphics/gocr/patches/patch-aa b/graphics/gocr/patches/patch-aa
new file mode 100644
index 00000000000..c2b6e32f2d7
--- /dev/null
+++ b/graphics/gocr/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/10/16 20:20:41 wiz Exp $
+
+--- configure.orig 2002-08-12 17:18:53.000000000 +0200
++++ configure
+@@ -946,9 +946,11 @@ else
+ fi
+
+
+-CPPFLAGS=-I/usr/X11R6/include
++#CPPFLAGS=-I/usr/X11R6/include
++CPPFLAGS=
+ #LDFLAGS="-L/usr/X11R6/lib -lpbm -lpgm -lppm -lpnm"
+-LDFLAGS="-L/usr/X11R6/lib -L/usr/local/netpbm/lib"
++#LDFLAGS="-L/usr/X11R6/lib -L/usr/local/netpbm/lib"
++LDFLAGS=
+
+ ## pnm can only be found, if LDFLAGS contains -lpgm -lpnm ... etc.
+ ## is there a better solution ?
diff --git a/graphics/gocr/patches/patch-ab b/graphics/gocr/patches/patch-ab
new file mode 100644
index 00000000000..ed16937fe86
--- /dev/null
+++ b/graphics/gocr/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/10/16 20:20:41 wiz Exp $
+
+--- src/Makefile.in.orig 2003-12-09 13:41:53.060784000 +0000
++++ src/Makefile.in 2003-12-09 13:42:15.130080000 +0000
+@@ -66,7 +66,6 @@
+ # PHONY = don't look at file clean, -rm = start rm and ignore errors
+ .PHONY : clean proper install
+ install: all
+- $(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
+ $(INSTALL) ../bin/$(PROGRAM) $(DESTDIR)$(bindir)
+ $(INSTALL) $(LIBPGMASCLIB) $(DESTDIR)$(libdir)
+ $(INSTALL) $(INCLUDEFILES) $(DESTDIR)$(includedir)