File dbview-1.0.4-makefile.patch of Package dbview

--- Makefile
+++ Makefile
@@ -19,13 +19,14 @@
 MAN=man
 
 CC= gcc
-CFLAGS= -O6 -fomit-frame-pointer -Wall -pipe
+CFLAGS= -O2 -fomit-frame-pointer -Wall -pipe
 # CFLAGS= -g -fomit-frame-pointer -Wall -pipe
 
 # Look where your install program is
 #
 INSTALL = /usr/bin/install
-prefix = /usr
+DESTDIR =
+prefix = $(DESTDIR)/usr
 bindir = $(prefix)/bin
 mandir = $(prefix)/share/$(MAN)
 
@@ -43,10 +44,10 @@
 	makedepend *.c
 
 install: all
-	$(INSTALL) -d -o root -g root -m 755 $(bindir)
-	$(INSTALL) -s -o root -g root -m 755 dbview $(bindir)
-	$(INSTALL) -d -o $(MAN) -g $(MAN) -m 755 $(mandir)/man1
-	$(INSTALL) -o $(MAN) -g $(MAN) -m 644 dbview.1 $(mandir)/man1
+	$(INSTALL) -d -m 755 $(bindir)
+	$(INSTALL) -m 755 dbview $(bindir)
+	$(INSTALL) -d -m 755 $(mandir)/man1
+	$(INSTALL) -m 644 dbview.1 $(mandir)/man1
 
 clean:
 	rm -f dbview *.o *.log *~ *.orig Makefile.bak;
openSUSE Build Service is sponsored by