freebsd-ports/sysutils/xwlans/files/patch-Makefile
Pav Lucistnik f5fd241497 Add xwlans, an utility which displays your current wlan (IEEE 802.11/wavelan)
signal strength in a nice graph on your X11 root desktop.

WWW: http://shapeshifter.se/code/xwlans/

PR:		ports/69822
Submitted by:	Fredrik Lindberg <fredde@shapeshifter.se>
2004-07-31 19:01:26 +00:00

34 lines
779 B
Text

*** Makefile.orig Tue Dec 23 16:43:46 2003
--- Makefile Fri Jul 30 20:08:42 2004
***************
*** 1,15 ****
! CC = gcc
! CFLAGS = -O2 -ansi -Wall -L/usr/X11R6/lib -I/usr/X11R6/include
OBJS = main.o graphics.o sys.o osdep/freebsd.o
all:: ${OBJS}
! ${CC} -o xwlans *.o -lX11 -L/usr/X11R6/lib -I/usr/X11R6/include
install:: xwlans
strip xwlans
! cp xwlans /usr/X11R6/bin
! chmod 0755 /usr/X11R6/bin/xwlans
clean::
rm *.o
--- 1,14 ----
! CFLAGS += -L${X11BASE}/lib -I${X11BASE}/include
OBJS = main.o graphics.o sys.o osdep/freebsd.o
all:: ${OBJS}
! ${CC} -o xwlans *.o -lX11 -L${X11BASE}/lib -I${X11BASE}/include
install:: xwlans
strip xwlans
! cp xwlans ${PREFIX}/bin
! chmod 0755 ${PREFIX}/bin/xwlans
clean::
rm *.o