freebsd-ports/x11-wm/ratmenu/files/patch-Makefile
Pete Fritchman 3b5dd0eb9f Add ratmenu-1.4, a simple menu patterened for use with ratpoison
PR:		31064
Submitted by:	Mike Meyer <mwm@mired.org>
2001-10-05 20:44:11 +00:00

18 lines
390 B
Text

--- Makefile.orig Wed Sep 26 14:36:26 2001
+++ Makefile Fri Oct 5 13:16:05 2001
@@ -5,12 +5,9 @@
PROG = ratmenu
-PREFIX=/usr/local
-MANDIR=$(PREFIX)/man
-
-CC = gcc
-LIBS = -L/usr/X11R6/lib -lX11
-CFLAGS = -Os -Wall -ansi -pedantic
+MANDIR = $(PREFIX)/man
+CFLAGS += -I$(X11BASE)/include
+LIBS = -L$(X11BASE)/lib -lX11
$(PROG): $(PROG).c
$(CC) $(CFLAGS) $< $(LIBS) -o $@