aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-07-18 05:42:11 +0800
committerleeym <leeym@FreeBSD.org>2005-07-18 05:42:11 +0800
commit9bb7094a9e44655457303986cd85c3791e5113d4 (patch)
treee65ffa2722d68039d40a29ff1c6450f4589a7a9e
parent97d2f71306abafaa85d1e9a8543b07cb8c1115aa (diff)
downloadfreebsd-ports-graphics-9bb7094a9e44655457303986cd85c3791e5113d4.tar.gz
freebsd-ports-graphics-9bb7094a9e44655457303986cd85c3791e5113d4.tar.zst
freebsd-ports-graphics-9bb7094a9e44655457303986cd85c3791e5113d4.zip
- fix installation of start script on 4.x
PR: 83604 Submitted by: Blaz Zupan <blaz@si.FreeBSD.org>
-rw-r--r--security/amavisd-new/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/security/amavisd-new/Makefile b/security/amavisd-new/Makefile
index 656c167a0d5..cc6d85f2408 100644
--- a/security/amavisd-new/Makefile
+++ b/security/amavisd-new/Makefile
@@ -8,6 +8,7 @@
PORTNAME= amavisd-new
PORTVERSION= 2.3.2
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= security
MASTER_SITES= http://www.ijs.si/software/amavisd/ \
@@ -77,8 +78,12 @@ AMAVIS_NOAMAVIS="@comment "
.endif
.if defined(WITH_MILTER) && !defined(AMAVIS_NOAMAVIS)
+.if ${OSVERSION} >= 500037
USE_RCORDER+= amavis-milter.sh
.else
+USE_RC_SUBR+= amavis-milter.sh
+.endif
+.else
AMAVIS_NOMILTER="@comment "
.endif