View | Details | Raw Unified | Return to bug 95252
Collapse All | Expand All

(-)/home/yazzy/postfix-policyd-sf/Makefile (-1 / +1 lines)
Lines 17-23 Link Here
17
MAINTAINER=	kiwi@oav.net
17
MAINTAINER=	kiwi@oav.net
18
COMMENT=	Anti-spam plugin for Postfix (written in C)
18
COMMENT=	Anti-spam plugin for Postfix (written in C)
19
19
20
BROKEN=		Size mismatch
20
#BROKEN=		Size mismatch
21
21
22
USE_MYSQL=	yes
22
USE_MYSQL=	yes
23
USE_GMAKE=	yes
23
USE_GMAKE=	yes
(-)/home/yazzy/postfix-policyd-sf/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (policyd-v1.73.tar.gz) = f1fbbf3494ddb7fc4c3c80552ea62e3c
1
MD5 (policyd-v1.73.tar.gz) = 25965546d9e54aee6d0d8f05674bf9d0
2
SHA256 (policyd-v1.73.tar.gz) = f78e3c89e80479157ab75077c81509bcc139fca737ba6a1f7c454466dfc2074a
2
SHA256 (policyd-v1.73.tar.gz) = f7f2075d3304720ea961fb995e9ab9f09b2946e146b00eac57701c5e747811bc
3
SIZE (policyd-v1.73.tar.gz) = 61747
3
SIZE (policyd-v1.73.tar.gz) = 61381
(-)/home/yazzy/postfix-policyd-sf/files/patch-Makefile (-23 / +10 lines)
Lines 1-32 Link Here
1
--- Makefile.orig	Mon Oct 24 13:36:01 2005
1
--- Makefile.orig	Wed Mar 15 07:02:14 2006
2
+++ Makefile	Mon Oct 24 13:38:36 2005
2
+++ Makefile	Mon Apr  3 11:17:09 2006
3
@@ -1,20 +1,8 @@
3
@@ -12,9 +12,9 @@
4
-#
4
 inc += -I/usr/pkg/include/mysql
5
-# systems which install in /usr
5
 lib += -L/usr/pkg/lib/mysql
6
-inc  = -I/usr/include/mysql
6
 
7
-lib  = -L/usr/lib/mysql
8
-# systems with single mysql subdir
9
-inc += -I/usr/local/mysql/include -I/usr/local/mysql/include/mysql
10
-lib += -L/usr/local/mysql/lib -L/usr/local/mysql/lib/mysql
11
-# freebsd ports
12
-inc += -I/usr/local/include/mysql
13
-lib += -L/usr/local/lib/mysql
14
-# netbsd pkgsrc
15
-inc += -I/usr/pkg/include/mysql
16
-lib += -L/usr/pkg/lib/mysql
17
-
18
-CC       := gcc
7
-CC       := gcc
19
-CPPFLAGS := -O $(inc)
8
-CPPFLAGS := -O $(inc)
20
-CFLAGS   := -g -W -Wall -DMAXFDS=1023
9
-CFLAGS   := -g -W -Wall -DMAXFDS=4096
21
+inc      := -I$(LOCALBASE)/include/mysql
22
+lib      := -L$(LOCALBASE)/lib/mysql
23
+CC       ?= gcc
10
+CC       ?= gcc
24
+CPPFLAGS += -O $(inc)
11
+CPPFLAGS += -O $(inc)
25
+CFLAGS   ?= -g -W -Wall -DMAXFDS=1023
12
+CFLAGS   ?= -g -W -Wall -DMAXFDS=4096
26
 OS_NAME  := $(shell uname | tr [A-Z] [a-z])
13
 OS_NAME  := $(shell uname | tr [A-Z] [a-z])
27
 LDLIBS    = $(lib) -lmysqlclient -lz
14
 LDLIBS    = $(lib) -lmysqlclient -lz
28
 
15
 
29
@@ -26,15 +14,7 @@
16
@@ -26,15 +26,7 @@
30
 	@echo "  compiling ${CFLAGS} $<"
17
 	@echo "  compiling ${CFLAGS} $<"
31
 	@${CC} ${CPPFLAGS} ${CFLAGS} -o $@ -c $<
18
 	@${CC} ${CPPFLAGS} ${CFLAGS} -o $@ -c $<
32
 
19
 
Lines 39-45 Link Here
39
-	@echo "  make clean"
26
-	@echo "  make clean"
40
-	@echo ""
27
-	@echo ""
41
-	@exit
28
-	@exit
42
+all: build
29
+all:	build
43
 
30
 
44
 build: policyd cleanup stats
31
 build: policyd cleanup stats

Return to bug 95252