forked from Lainports/freebsd-ports
- 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)
19 lines
699 B
Text
19 lines
699 B
Text
--- Makefile.orig Wed Aug 1 22:12:08 2001
|
|
+++ Makefile Tue Aug 28 21:12:58 2001
|
|
@@ -13,12 +13,11 @@
|
|
DESTDIR =
|
|
|
|
# This should point to your gkrellm headers
|
|
-GKRELLM_HDRS := /usr/include/gkrellm
|
|
+GKRELLM_HDRS := ${LOCALBASE}/include/gkrellm
|
|
|
|
-CC := gcc
|
|
-GTKFLAGS := $(shell gtk-config --cflags)
|
|
-IMLIBFLAGS := $(shell imlib-config --cflags-gdk)
|
|
-CFLAGS := $(CFLAGS) -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS) -I$(GKRELLM_HDRS)
|
|
+GTKFLAGS = `${GTK_CONFIG} --cflags`
|
|
+IMLIBFLAGS = `${IMLIB_CONFIG} --cflags-gdk`
|
|
+CFLAGS += -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS) -I$(GKRELLM_HDRS)
|
|
LDFLAGS := -shared -Wl
|
|
INST_DIR := $(DESTDIR)/usr/lib/gkrellm/plugins
|
|
USER_INST_DIR := $(DESTDIR)$(HOME)/.gkrellm/plugins
|