diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2000-09-14 16:56:05 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2000-09-14 16:56:05 +0000 |
commit | e531d42910c1f02cfb431edf973a9e15903f3339 (patch) | |
tree | 51b16a2b49d26f4d8135a8fe992ce1c785a98ead /net/gkrellm_snmp/files | |
parent | 9c96f92111a1c3326cc3e26bf1b2c835559c0432 (diff) | |
download | ports-e531d42910c1f02cfb431edf973a9e15903f3339.tar.gz ports-e531d42910c1f02cfb431edf973a9e15903f3339.zip |
Notes
Diffstat (limited to 'net/gkrellm_snmp/files')
-rw-r--r-- | net/gkrellm_snmp/files/patch-aa | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/net/gkrellm_snmp/files/patch-aa b/net/gkrellm_snmp/files/patch-aa new file mode 100644 index 000000000000..6e605bb80c39 --- /dev/null +++ b/net/gkrellm_snmp/files/patch-aa @@ -0,0 +1,39 @@ +Index: Makefile +diff -u Makefile.orig Makefile +--- Makefile.orig Fri May 12 03:39:39 2000 ++++ Makefile Fri Sep 15 01:11:28 2000 +@@ -1,8 +1,8 @@ + # Makefile for a GKrellM SNMP monitor plugin + + # Linux +-GTK_CONFIG = gtk-config +-IMLIB_CONFIG = imlib-config ++GTK_CONFIG?= gtk-config ++IMLIB_CONFIG?= imlib-config + SYSLIB = -lsnmp + # we need lib crypto if libsnmp has privacy support. + SYSLIB += -lcrypto +@@ -14,8 +14,8 @@ + #PLUGIN_DIR = /usr/X11R6/libexec/gkrellm/plugins/ + + USER_PLUGIN_DIR = $(HOME)/.gkrellm/plugins +-PLUGIN_DIR = /usr/share/gkrellm/plugins +-GKRELLM_INCLUDE = -I/usr/local/include ++PLUGIN_DIR?= /usr/share/gkrellm/plugins ++GKRELLM_INCLUDE?= -I/usr/local/include + + GTK_INCLUDE = `$(GTK_CONFIG) --cflags` + GTK_LIB = `$(GTK_CONFIG) --libs` +@@ -24,11 +24,9 @@ + IMLIB_LIB = `$(IMLIB_CONFIG) --libs-gdk` + + +-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE) ++CFLAGS += -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE) + LIBS = $(GTK_LIB) $(IMLIB_LIB) $(SYSLIB) + LFLAGS = -shared +- +-CC = gcc $(CFLAGS) $(FLAGS) + + INSTALL = install -c + INSTALL_PROGRAM = $(INSTALL) -s |