1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Update to 0.6b

PR:		29832
Submitted by:	pat@databits.net
No response:	maintainer
This commit is contained in:
David W. Chapman Jr. 2001-09-17 04:07:35 +00:00
parent 1ee710f73f
commit c4efad7479
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47899
4 changed files with 17 additions and 25 deletions

View File

@ -6,7 +6,7 @@
# #
PORTNAME= gkrellmmailwatch PORTNAME= gkrellmmailwatch
PORTVERSION= 0.5 PORTVERSION= 0.6b
CATEGORIES= mail CATEGORIES= mail
MASTER_SITES= http://gkrellm.luon.net/files/ MASTER_SITES= http://gkrellm.luon.net/files/
DISTNAME= mailwatch-${PORTVERSION} DISTNAME= mailwatch-${PORTVERSION}

View File

@ -1 +1 @@
MD5 (mailwatch-0.5.tar.gz) = ee53dabf084120e113709a922916aadd MD5 (mailwatch-0.6b.tar.gz) = 8291712c808c6f291ee824768568475b

View File

@ -1,30 +1,29 @@
--- Makefile.orig Fri Apr 13 13:52:32 2001 --- Makefile.orig Mon Jul 2 00:34:11 2001
+++ Makefile Mon Apr 16 23:24:03 2001 +++ Makefile Fri Aug 17 15:21:47 2001
@@ -1,32 +1,30 @@ @@ -1,27 +1,25 @@
# Makefile for the GKrellM mailwatch plugin # Makefile for the GKrellM mailwatch plugin
-GTK_INCLUDE = `gtk-config --cflags` -GTK_INCLUDE = `gtk-config --cflags`
-GTK_LIB = `gtk-config --libs` -GTK_LIB = `gtk-config --libs`
+GTK_INCLUDE = `$(GTK_CONFIG) --cflags` +GTK_INCLUDE = `${GTK_CONFIG} --cflags`
+GTK_LIB = `$(GTK_CONFIG) --libs` +GTK_LIB = `${GTK_CONFIG} --libs`
-GKRELLM_INCLUDE= -I/usr/local/include -GKRELLM_INCLUDE= -I/usr/local/include
+GKRELLM_INCLUDE= -I$(PREFIX)/include +GKRELLM_INCLUDE= -I${PREFIX}/include
-IMLIB_INCLUDE = `imlib-config --cflags-gdk` -IMLIB_INCLUDE = `imlib-config --cflags-gdk`
-IMLIB_LIB = `imlib-config --libs-gdk` -IMLIB_LIB = `imlib-config --libs-gdk`
+IMLIB_INCLUDE = `$(IMLIB_CONFIG) --cflags-gdk` +IMLIB_INCLUDE = `${IMLIB_CONFIG} --cflags-gdk`
+IMLIB_LIB = `$(IMLIB_CONFIG) --libs-gdk` +IMLIB_LIB = `${IMLIB_CONFIG} --libs-gdk`
INSTALL=install -c -s -m 755 INSTALL=install -c -m 755
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE) -FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE)
-LIBS = $(GTK_LIB) $(IMLIB_LIB) +CFLAGS = -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE)
+CFLAGS+= -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE) LIBS = $(GTK_LIB) $(IMLIB_LIB)
+LIBS = $(GTK_LIB) $(IMLIB_LIB) -lc_r
LFLAGS = -shared LFLAGS = -shared
-CC = gcc $(CFLAGS) $(FLAGS) -CC = gcc-3.0 $(CFLAGS) $(FLAGS)
- -
OBJS = mailwatch.o OBJS = mailwatch.o
@ -36,10 +35,3 @@
clean: clean:
rm -f *.o core *.so* *.bak *~ rm -f *.o core *.so* *.bak *~
+
install:
- $(INSTALL) -c -s -m 755 mailwatch.so /usr/share/gkrellm/plugins
+ $(INSTALL) mailwatch.so $(PREFIX)/libexec/gkrellm/plugins
mailwatch.c.o: mailwatch.c
-

View File

@ -1,10 +1,10 @@
--- mailwatch.c.orig Mon Apr 16 23:00:40 2001 --- mailwatch.c.orig Sun Aug 12 07:15:30 2001
+++ mailwatch.c Mon Apr 16 23:02:26 2001 +++ mailwatch.c Fri Aug 17 15:20:54 2001
@@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
*/ */
#include <dirent.h> #include <dirent.h>
+#include <sys/types.h> +#include <sys/types.h>
#include <time.h>
#include <utime.h> #include <utime.h>
#include <string.h> #include <string.h>
#include "mailwatch.h"