summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornros <nros@pkgsrc.org>2016-12-01 18:34:57 +0000
committernros <nros@pkgsrc.org>2016-12-01 18:34:57 +0000
commite63632facf2df3e0d63654740ae3c363c6b832ac (patch)
tree895b11769a427176086e778275c806eae120fa60
parent79e6fe69a5edbf40215cf6d2a276bec4a0c8b98e (diff)
downloadpkgsrc-e63632facf2df3e0d63654740ae3c363c6b832ac.tar.gz
Make clamsmtp work when PKG_SYSCONFDIR is not PREFIX/etc
-rw-r--r--mail/clamsmtp/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/clamsmtp/Makefile b/mail/clamsmtp/Makefile
index e3b7915d16d..f7aabc261d9 100644
--- a/mail/clamsmtp/Makefile
+++ b/mail/clamsmtp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2014/10/09 14:06:38 wiz Exp $
+# $NetBSD: Makefile,v 1.46 2016/12/01 18:34:57 nros Exp $
DISTNAME= clamsmtp-1.10
#PKGREVISION= 1
@@ -27,6 +27,8 @@ INSTALLATION_DIRS= share/examples/${PKGBASE}
PKG_USERS_VARS= CLAMAV_USER
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/clamsmtpd.conf ${DESTDIR}${EGDIR}
${INSTALL_SCRIPT} ${WRKSRC}/scripts/virus_action.sh ${DESTDIR}${EGDIR}