forked from Lainports/freebsd-ports
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
34 lines
787 B
Text
34 lines
787 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${LOCALBASE}/lib -I${LOCALBASE}/include
|
|
|
|
OBJS = main.o graphics.o sys.o osdep/freebsd.o
|
|
|
|
all:: ${OBJS}
|
|
! ${CC} -o xwlans *.o -lX11 -L${LOCALBASE}/lib -I${LOCALBASE}/include
|
|
|
|
install:: xwlans
|
|
strip xwlans
|
|
! cp xwlans ${PREFIX}/bin
|
|
! chmod 0755 ${PREFIX}/bin/xwlans
|
|
|
|
clean::
|
|
rm *.o
|