pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/clamav Fix clamav install when PKG_SYSCONFDIR...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7fef3de24570
branches:  trunk
changeset: 415359:7fef3de24570
user:      nros <nros%pkgsrc.org@localhost>
date:      Sat Oct 05 20:52:52 2019 +0000

description:
Fix clamav install when PKG_SYSCONFDIR not set to ${PREFIX}/etc

Use PKG_SYSCONFDIR when moving files to EGDIR.
Fixes install when PKG_SYSCONFDIR is set to something else than
${PREFIX}/etc

diffstat:

 security/clamav/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2dd14c8513a1 -r 7fef3de24570 security/clamav/Makefile
--- a/security/clamav/Makefile  Sat Oct 05 20:10:19 2019 +0000
+++ b/security/clamav/Makefile  Sat Oct 05 20:52:52 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2019/09/06 09:22:49 jperkin Exp $
+# $NetBSD: Makefile,v 1.54 2019/10/05 20:52:52 nros Exp $
 
 PKGREVISION= 1
 .include "Makefile.common"
@@ -78,7 +78,7 @@
 
 post-install:
 .for i in ${CONF_SAMPLES}
-       ${MV} ${DESTDIR}${PREFIX}/etc/${i}.sample ${DESTDIR}${EGDIR}/${i}
+       ${MV} ${DESTDIR}${PKG_SYSCONFDIR}/${i}.sample ${DESTDIR}${EGDIR}/${i}
 .endfor
 
 .include "../../archivers/bzip2/buildlink3.mk"



Home | Main Index | Thread Index | Old Index