Search
j0ke.net Open Build Service
>
Projects
>
stresslinux
>
ifstatus
> ifstatus-makefile.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File ifstatus-makefile.patch of Package ifstatus
--- Makefile.orig 2009-11-18 15:38:46.000000000 +0100 +++ Makefile 2012-09-24 23:34:36.759615438 +0200 @@ -2,8 +2,8 @@ # Gabriel Montenegro GCC = g++ -LDFLAGS = -lncurses -CFLAGS = -O2 -Wall +LDFLAGS = $(RPM_LDFLAGS) -lncurses +CFLAGS = $(RPM_CFLAGS) -O2 -Wall BIN = ifstatus OBJ = BorderDecorator.o\ @@ -23,9 +23,9 @@ Window.o -INSTDIR = /usr/local/bin +INSTDIR = $(DESTDIR)/usr/bin INSTALL=/usr/bin/install -INSTALL_PARMS=-o 0 -g 0 -s -m 0755 +INSTALL_PARMS=-m 0755 all : ifstatus printdone @@ -38,7 +38,7 @@ clean: rm -f ${BIN} *.o core *~ install: - $(INSTALL) $(INSTALL_PARMS) ifstatus /usr/local/bin + $(INSTALL) $(INSTALL_PARMS) ifstatus $(INSTDIR)