aboutsummaryrefslogtreecommitdiff
path: root/sysutils/xwlans/files/patch-Makefile
blob: 5e2db76568a52027157210277de72a4ec24c8633 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
*** 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