aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qmail/Makefile
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-08-12 03:00:12 +0800
committergarga <garga@FreeBSD.org>2006-08-12 03:00:12 +0800
commit3937a110fc7d0be5158246f8dbeb19397239f402 (patch)
tree089fb1a2d7a4e0e1877de1096c72977133a9bd86 /mail/qmail/Makefile
parente05ce3c6fe6a347972cc4ad9c5e0c0f329b0281d (diff)
downloadfreebsd-ports-gnome-3937a110fc7d0be5158246f8dbeb19397239f402.tar.gz
freebsd-ports-gnome-3937a110fc7d0be5158246f8dbeb19397239f402.tar.zst
freebsd-ports-gnome-3937a110fc7d0be5158246f8dbeb19397239f402.zip
Permit big_todo and ext_todo be applied together
Reported by: Carlos A. Talhati <cat at iqsc.usp.br>
Diffstat (limited to 'mail/qmail/Makefile')
-rw-r--r--mail/qmail/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile
index 4e9663077062..dd0142089180 100644
--- a/mail/qmail/Makefile
+++ b/mail/qmail/Makefile
@@ -296,14 +296,6 @@ NO_MTREE= yes
.include <bsd.port.pre.mk>
-.if ( \
- (defined(WITH_BIG_TODO_PATCH) && !defined(BARRIER_BIG_TODO_PATCH)) || \
- (defined(SLAVE_SPAMCONTROL) && defined(WITH_BIGTODO)) \
- ) && \
- (defined(WITH_EXTTODO_PATCH) && !defined(BARRIER_EXTTODO_PATCH))
-IGNORE= EXT_TODO and BIG_TODO doesn't work together, choose just one of them
-.endif
-
.if defined(SLAVE_TLS)
CFLAGS+= -I${OPENSSLBASE}/include -L${OPENSSLBASE}/lib -DTLS
. if defined(WITH_TLS_DEBUG)
@@ -392,6 +384,14 @@ PATCHFILES+= qmail-spf-rc5.patch:spf
PLIST_SUB+= EXTTODO=""
DOCFILES_WRKSRC+= EXTTODO
+. if (defined(WITH_BIG_TODO_PATCH) && !defined(BARRIER_BIG_TODO_PATCH)) || \
+ (defined(SLAVE_SPAMCONTROL) && defined(WITH_BIGTODO))
+MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:ext_big_todo/}
+MASTER_SITE_SUBDIR+= garga/qmail/:ext_big_todo
+EXT_BIG_TODO_PATCH= ext_todo-20030105+big-todo.103.patch
+DISTFILES= ${EXT_BIG_TODO_PATCH}:ext_big_todo
+. endif
+
. if defined(WITH_SPF_PATCH) && !defined(BARRIER_SPF_PATCH)
. if defined(SLAVE_TLS) || defined(SLAVE_SPAMCONTROL)
MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:exttodo/}
@@ -609,6 +609,9 @@ post-patch:
${WRKSRC}/Makefile
. endif
.endif
+.if defined(EXT_BIG_TODO_PATCH)
+ @${PATCH} -d ${WRKSRC} < ${DISTDIR}/${DIST_SUBDIR}/${EXT_BIG_TODO_PATCH}
+.endif
@${REINPLACE_CMD} 's!/var/qmail!${PREFIX}!; \
s!/usr/local/!${LOCALBASE}/!' \
${WRKSRC}/Makefile