gocr (0.48-1) Makefile

Summary

 Makefile |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

    
download this patch

Patch contents

--- gocr-0.48.orig/Makefile
+++ gocr-0.48/Makefile
@@ -10,9 +10,9 @@
 #      make install DESTDIR=$RPM_BUILD_ROOT
 #
 
-prefix = /usr/local
+prefix = /usr
 #bindir = $(prefix)/bin
-bindir = /usr/local${exec_prefix}/bin
+bindir = /usr${exec_prefix}/bin
 
 SHELL = /bin/sh
 # this does not work on SuSE 6.0, why? (autoconf 2.12 do not set /bin/sh ?)
@@ -21,7 +21,7 @@
 CC = gcc
 CFLAGS = -g -O2
 # following DEFs are not used, but I play with it for training
-CPPFLAGS = -Wall -g -fexceptions -DDO_DEBUG=1 
+CPPFLAGS = 
 DEFS = -DHAVE_CONFIG_H
 includedir = ${prefix}/include
 #
@@ -100,7 +100,7 @@
 
 
 # you can override this variable by: make install DESTDIR=yourpath
-DESTDIR=/usr/local
+DESTDIR=/usr
 .PHONY : install uninstall test examples
 install:
 	$(MAKE) -C src install