pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/clamav



Module Name:    pkgsrc
Committed By:   nros
Date:           Sat Oct  5 20:52:52 UTC 2019

Modified Files:
        pkgsrc/security/clamav: Makefile

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 pkgsrc/security/clamav/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/clamav/Makefile
diff -u pkgsrc/security/clamav/Makefile:1.53 pkgsrc/security/clamav/Makefile:1.54
--- pkgsrc/security/clamav/Makefile:1.53        Fri Sep  6 09:22:49 2019
+++ pkgsrc/security/clamav/Makefile     Sat Oct  5 20:52:52 2019
@@ -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 @@ INSTALLATION_DIRS+=   ${EGDIR}
 
 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