freebsd-ports/misc/wmScoreBoard/files/patch-Makefile
Danilo Egea Gondolfo c9b0543b6d - Add LICENSE
- Convert USE_GMAKE to USES
- Add shebangfix to USES
- Add stage support
- Improve the patch name
- Improve pkg-plist
2013-12-09 16:41:34 +00:00

17 lines
450 B
Text

--- Makefile.orig Sat Apr 8 00:51:27 2000
+++ Makefile Mon Jul 2 21:51:07 2001
@@ -1,10 +1,9 @@
# Makefile for wmScoreBoard
-CC = gcc
-CFLAGS = -g -O2 -Wall
-INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
-LIBDIR = -L/usr/X11R6/lib
-DESTDIR = /usr/X11R6
+CFLAGS += -g -Wall
+INCDIR = -I${LOCALBASE}/include/X11 -I${LOCALBASE}/include
+LIBDIR = -L${LOCALBASE}/lib
+DESTDIR = $(PREFIX)
# for linux
LIBS = -lXpm -lX11 -lXext