3e4ed01146
- 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)
18 lines
394 B
Text
18 lines
394 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$(LOCALBASE)/include
|
|
+LIBS = -L$(LOCALBASE)/lib -lX11
|
|
|
|
$(PROG): $(PROG).c
|
|
$(CC) $(CFLAGS) $< $(LIBS) -o $@
|