summaryrefslogtreecommitdiff
path: root/graphics/gocr/patches/patch-ab
blob: 2c65b69bcb04012de7587bf63e0a100b71443ae7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-ab,v 1.3 2008/06/20 01:09:22 joerg Exp $

--- src/Makefile.in.orig	2005-02-28 14:40:39.000000000 +0000
+++ src/Makefile.in
@@ -30,6 +30,8 @@ LIBOBJS=pgm2asc.o \
 # these two lines are for cross-compiling, not tested
 #srcdir = @srcdir@
 #VPATH = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
 bindir = @bindir@
 libdir = @libdir@
 includedir = @includedir@
@@ -67,9 +69,7 @@ $(LIBOBJS): Makefile
 # 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) ../bin/gocr.tcl   $(DESTDIR)$(bindir)  # better X11/bin?
 	$(INSTALL) $(LIBPGMASCLIB) $(DESTDIR)$(libdir)
 	$(INSTALL) $(INCLUDEFILES) $(DESTDIR)$(includedir)