File optipng-suse-paths.diff of Package optipng

--- lib/pngxtern/scripts/gcc.mak
+++ lib/pngxtern/scripts/gcc.mak
@@ -20,7 +20,6 @@
 LDRELEASE = -s
 CFLAGS = -W -Wall $(CRELEASE)
 LDFLAGS = $(LDRELEASE)
-INCS = -I$(ZDIR) -I$(PNGDIR)
 LIBS = -lpng -lz -lm
 
 # File extensions
--- src/scripts/gcc.mak.in
+++ src/scripts/gcc.mak.in
@@ -4,16 +4,15 @@
 # Usage: make -f scripts/gcc.mak
 
 
-prefix=/usr/local
+prefix=/usr
 exec_prefix=$(prefix)
 bindir=$(exec_prefix)/bin
-mandir=$(prefix)/man
+mandir=$(prefix)/share/man
 man1dir=$(mandir)/man1
 
 CC = gcc
 LD = $(CC)
-CFLAGS  = -O2 -W -Wall
-LDFLAGS = -s
+LDFLAGS = 
 
 OPTIPNG = optipng$(EXE)
 ZLIB    = libz.a
openSUSE Build Service is sponsored by