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 (Revision 4)
Currently displaying revision
4
,
show latest
--- Makefile.orig 2009-11-18 15:38:46.000000000 +0100 +++ Makefile 2009-11-18 15:40:09.000000000 +0100 @@ -2,8 +2,8 @@ # Gabriel Montenegro GCC = g++ -LDFLAGS = -lncurses -CFLAGS = -O2 -Wall +LDFLAGS = $(LDFLAGS) -lncurses +CFLAGS = $(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)