aboutsummaryrefslogtreecommitdiffstats
path: root/mail/dspam
diff options
context:
space:
mode:
Diffstat (limited to 'mail/dspam')
-rw-r--r--mail/dspam/Makefile4
-rw-r--r--mail/dspam/distinfo2
-rw-r--r--mail/dspam/pkg-plist6
3 files changed, 7 insertions, 5 deletions
diff --git a/mail/dspam/Makefile b/mail/dspam/Makefile
index 5fd25bc9a3aa..920ab1471c56 100644
--- a/mail/dspam/Makefile
+++ b/mail/dspam/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= dspam
-PORTVERSION= 2.8
+PORTVERSION= 2.8.1
CATEGORIES= mail
MASTER_SITES= http://www.nuclearelephant.com/projects/dspam/sources/
@@ -25,9 +25,11 @@ USE_MYSQL= yes
CONFIGURE_ARGS+= --with-storage-driver=mysql_drv \
--with-mysql-includes=${LOCALBASE}/include/mysql \
--with-mysql-libraries=${LOCALBASE}/lib/mysql
+PLIST_SUB+= DB4="@comment "
.else
LIB_DEPENDS= db41.1:${PORTSDIR}/databases/db41
CONFIGURE_ARGS+= --with-db4-includes=${LOCALBASE}/include/db41
+PLIST_SUB+= DB4=""
.endif
.if defined(WITH_MAILDROP)
diff --git a/mail/dspam/distinfo b/mail/dspam/distinfo
index 5d22c51f3fab..3ffab0fdf665 100644
--- a/mail/dspam/distinfo
+++ b/mail/dspam/distinfo
@@ -1 +1 @@
-MD5 (dspam-2.8.tar.gz) = 00a74c53e72c16943974ecd0bb2db30b
+MD5 (dspam-2.8.1.tar.gz) = bd3b750ca506cb468c80cabc77ea7d01
diff --git a/mail/dspam/pkg-plist b/mail/dspam/pkg-plist
index 549b4686172a..f97c74c4db33 100644
--- a/mail/dspam/pkg-plist
+++ b/mail/dspam/pkg-plist
@@ -8,10 +8,10 @@ bin/dspam_crc
bin/dspam_genaliases
bin/dspam_merge
bin/dspam_ngstats
-bin/dspam_purge
-bin/dspam_purge.libdb4
+%%DB4%%bin/dspam_purge
+%%DB4%%bin/dspam_purge.libdb4
bin/dspam_stats
-bin/libdb4_purge
+%%DB4%%bin/libdb4_purge
lib/libdspam.so
lib/libdspam.so.4
lib/libdspam.a