openbsd-ports/sysutils/gkrellm/patches/patch-src_Makefile_src
naddy db5d4e0164 Update to 1.0.7; from maintainer Joshua Stein <jcs@rt.fm>.
Changes:
- Updated ja.po.
- Add man page.
- POP3/IMAP connections can be on non-standard port numbers if you
  enter server:port instead of just the server in the config.
- IMAP checking could not handle untagged responses to LOGIN.
- Meminfo label initialization and mua_is_launched fixes.
2001-03-17 18:25:42 +00:00

37 lines
1.1 KiB
Plaintext

$OpenBSD: patch-src_Makefile_src,v 1.2 2001/03/17 18:25:45 naddy Exp $
--- src/Makefile.src.orig Wed Mar 14 13:43:35 2001
+++ src/Makefile.src Sat Mar 17 18:53:56 2001
@@ -1,10 +1,10 @@
GTK_CONFIG ?= gtk-config
BINMODE ?= 755
-INSTALLDIR ?= /usr/local/bin
-INCLUDEDIR ?= /usr/local/include
+INSTALLDIR ?= ${PREFIX}/bin
+INCLUDEDIR ?= ${PREFIX}/include
INCLUDEMODE ?= 644
INCLUDEDIRMODE ?= 755
-MANDIR ?= /usr/local/share/man/man1
+MANDIR ?= ${PREFIX}/man/man1
MANMODE ?= 644
MANDIRMODE ?= 755
@@ -16,7 +16,7 @@ IMLIB_INCLUDE = `imlib-config --cflags-g
GTK_LIB = `$(GTK_CONFIG) --libs gthread`
IMLIB_LIB = `imlib-config --libs-gdk`
-FLAGS = -O2 -I.. $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GTOP_INCLUDE)
+FLAGS = -I.. $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GTOP_INCLUDE)
FLAGS+= $(PTHREAD_INC)
LIBS = $(GTK_LIB) $(IMLIB_LIB) $(GTOP_LIBS) $(SYS_LIBS)
@@ -33,8 +33,7 @@ ifeq ($(HAVE_GETADDRINFO),1)
FLAGS += -DHAVE_GETADDRINFO
endif
-
-CC = gcc -Wall $(FLAGS) $(CFLAGS)
+CFLAGS += $(FLAGS)
OBJS = main.o apm.o clock.o cpu.o disk.o fs.o hostname.o \
inet.o mail.o meminfo.o net.o proc.o sensors.o uptime.o \