freebsd-ports/sysutils/wmfsm/files/patch-ab

27 lines
653 B
Plaintext
Raw Normal View History

$FreeBSD$
--- Makefile.bsd.orig Wed Jun 16 09:54:34 1999
+++ Makefile.bsd Mon Feb 5 00:38:13 2001
@@ -1,9 +1,9 @@
-CC = gcc
+CC ?= gcc
#CC = /usr/pure/purify-4.1-irix6/purify cc
-CFLAGS =
-INCDIR = -I/usr/X11R6/include/X11 -I/home/p-sgi2/eilemann/IRIX64/include -I/usr/X11R6/include
-DESTDIR= /usr/X11R6
-LIBDIR = -L/usr/X11R6/lib
+CFLAGS +=
+INCDIR = -I${X11BASE}/include/X11 -I${X11BASE}/include
+DESTDIR= ${PREFIX}
+LIBDIR = -L${X11BASE}/lib
# for linux & irix
LIBS = -lXpm -lX11 -lXext
@@ -33,4 +33,4 @@
rm -f wmfsm
install:: wmfsm
- install -s -m 0755 wmfsm $(DESTDIR)/bin
+ ${BSD_INSTALL_PROGRAM} wmfsm $(DESTDIR)/bin