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)
17 lines
492 B
Text
17 lines
492 B
Text
--- Makefile.orig Sun Sep 14 19:18:12 2003
|
|
+++ Makefile Sat Dec 11 23:12:03 2004
|
|
@@ -8,12 +8,12 @@
|
|
FLAGS = -Wall -fPIC $(GTK_CFLAGS) $(GKRELLM_INCLUDE)
|
|
CFLAGS ?= -O -g
|
|
CFLAGS += $(FLAGS)
|
|
-LIBS = -L/usr/X11R6/lib $(GTK_LIB)
|
|
+LIBS = -L${LOCALBASE}/lib $(GTK_LIB) -lXxf86vm
|
|
LFLAGS = -shared
|
|
CC ?= gcc
|
|
INSTALL = install -c
|
|
INSTALL_PROGRAM = $(INSTALL) -s
|
|
-OBJS = main.o /usr/X11R6/lib/libXxf86vm.a
|
|
+OBJS = main.o
|
|
|
|
gamma.so: $(OBJS)
|
|
$(CC) $(FLAGS) $(OBJS) -o gamma.so $(LIBS) $(LFLAGS)
|