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)
28 lines
729 B
Text
28 lines
729 B
Text
--- Makefile.orig Sat Dec 18 13:47:40 2004
|
|
+++ Makefile Wed Feb 23 22:28:56 2005
|
|
@@ -11,19 +11,19 @@
|
|
|
|
#=========================== C compiler configuration ==========================
|
|
|
|
-CC = gcc
|
|
-CFLAGS = -I/usr/X11R6/include -O2
|
|
+#CC = gcc
|
|
+CFLAGS += -I$(LOCALBASE)/include
|
|
|
|
#============================= Linker configuration ============================
|
|
|
|
-LINK = gcc
|
|
-LFLAGS = -L/usr/X11R6/lib
|
|
+LINK = $(CC)
|
|
+LFLAGS = -L$(LOCALBASE)/lib
|
|
LIBS = -lm -lX11 -lXext
|
|
|
|
#============================ Installer configuration ==========================
|
|
|
|
-BINDIR = /usr/X11R6/bin
|
|
-MAN1DIR = /usr/X11R6/man/man1
|
|
+BINDIR = $(LOCALBASE)/bin
|
|
+MAN1DIR = $(LOCALBASE)/man/man1
|
|
INSTALL = install
|
|
RM = rm -f -v
|
|
|