diff options
| author | Matt Swain | 2014-08-14 17:44:35 +0100 |
|---|---|---|
| committer | Jack Nagel | 2014-08-14 22:54:47 -0500 |
| commit | 8b070b62e7ae5e886de274ed0a21a3da1462915c (patch) | |
| tree | 6892aa5a9819e52fc57d27baf51155cad61fc786 /Library/Formula | |
| parent | 3b6431a2a1b5d61f201837cdd90cf26d1b01f9d5 (diff) | |
| download | homebrew-8b070b62e7ae5e886de274ed0a21a3da1462915c.tar.bz2 | |
gocr: Fix whitespace in DATA patch
Previous commits have accidentally removed trailing whitespace from
lines in the DATA patch, making the patch fail. This commit reinstates
the whitespace so the patch succeeds and the `--with-lib` option works
again.
Closes #31599.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gocr.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Library/Formula/gocr.rb b/Library/Formula/gocr.rb index 50cad2685..3541e13f0 100644 --- a/Library/Formula/gocr.rb +++ b/Library/Formula/gocr.rb @@ -46,12 +46,12 @@ index bf4181f..883fec2 @@ -10,7 +10,7 @@ PROGRAM = gocr$(EXEEXT) PGMASCLIB = Pgm2asc #LIBPGMASCLIB = lib$(PGMASCLIB).a - # ToDo: need a better pgm2asc.h for lib users + # ToDo: need a better pgm2asc.h for lib users -#INCLUDEFILES = gocr.h +INCLUDEFILES = pgm2asc.h output.h list.h unicode.h gocr.h pnm.h # avoid german compiler messages LANG=C - + @@ -39,8 +39,8 @@ LIBOBJS=pgm2asc.o \ #VPATH = @srcdir@ bindir = @bindir@ @@ -60,17 +60,17 @@ index bf4181f..883fec2 -#includedir = @includedir@ +libdir = @libdir@ +includedir = /include/gocr - + CC=@CC@ # lib removed for simplification @@ -89,7 +89,8 @@ $(PROGRAM): $(LIBOBJS) gocr.o $(CC) -o $@ $(LDFLAGS) gocr.o $(LIBOBJS) $(LIBS) # if test -r $(PROGRAM); then cp $@ ../bin; fi - + -libs: lib$(PGMASCLIB).a lib$(PGMASCLIB).@PACKAGE_VERSION@.so +#libs: lib$(PGMASCLIB).a lib$(PGMASCLIB).@PACKAGE_VERSION@.so +libs: lib$(PGMASCLIB).a - + #lib$(PGMASCLIB).@PACKAGE_VERSION@.so: $(LIBOBJS) # $(CC) -fPIC -shared -Wl,-h$@ -o $@ $(LIBOBJS) @@ -109,17 +110,17 @@ $(LIBOBJS): Makefile @@ -92,7 +92,7 @@ index bf4181f..883fec2 fi - # ToDo: not sure that the link will be installed correctly - #$(INSTALL) $(INCLUDEFILES) $(DESTDIR)$(includedir) - + # directories are not removed uninstall: @@ -129,7 +130,8 @@ uninstall: @@ -102,6 +102,6 @@ index bf4181f..883fec2 - #for X in $(INCLUDEFILES); do rm -f $(DESTDIR)$(includedir)/$$X; done + for X in $(INCLUDEFILES); do rm -f $(DESTDIR)$(includedir)/$$X; done + -rm -f $(DESTDIR)$(includedir)/config.h - + clean: -rm -f *.o *~ |
