diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-11-21 09:39:40 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-11-21 09:39:40 +0000 |
commit | f84705ee58b847ec8a242d6ca3e0c5faeeab196c (patch) | |
tree | a986d5f27b1edd8a2558976844f0dd91b3c1964b /security | |
parent | a27e27b75330c9fecbff60052afe1525e87edb9b (diff) | |
download | ports-f84705ee58b847ec8a242d6ca3e0c5faeeab196c.tar.gz ports-f84705ee58b847ec8a242d6ca3e0c5faeeab196c.zip |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/amavisd/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/security/amavisd/Makefile b/security/amavisd/Makefile index b043e8d52b8c..fef244fa26e3 100644 --- a/security/amavisd/Makefile +++ b/security/amavisd/Makefile @@ -54,6 +54,10 @@ CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc \ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" +.if !defined(WITHOUT_UVSCAN) +BUILD_DEPENDS+= uvscan:${PORTSDIR}/security/vscan +.endif + .if defined(BATCH) || defined(PACKAGE_BUILDING) CONFIGURE_ARGS+= --enable-all .endif @@ -76,6 +80,13 @@ CONFIGURE_ARGS+= --enable-sendmail MTA?= sendmail .endif +pre-fetch: +.if !defined(WITHOUT_UVSCAN) + @${ECHO} + @${ECHO} "Type \"make WITHOUT_UVSCAN=yes\" if you DONT use UVSCAN." + @${ECHO} +.endif + post-patch: @${SED} 's,%%AMAVISUSER%%,${AMAVISUSER},g' ${FILESDIR}/${STARTSCRIPT} > ${WRKSRC}/${STARTSCRIPT} @${PERL} -pi.orig -e 's|/etc/amavisd.conf|${PREFIX}/etc/amavisd.conf|g' ${WRKSRC}/configure ${WRKSRC}/amavis/amavisd.in ${WRKSRC}/amavis/Makefile.in |