[BACK]Return to patch-Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / cppcheck / patches

File: [cvs.NetBSD.org] / pkgsrc / devel / cppcheck / patches / Attic / patch-Makefile (download)

Revision 1.2, Sun Aug 10 08:21:46 2014 UTC (8 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3
Changes since 1.1: +2 -1 lines

Add upstream bug report URL.

$NetBSD: patch-Makefile,v 1.2 2014/08/10 08:21:46 wiz Exp $

Fix DESTDIR installation of config files.
http://5.150.254.56:443/trac-cppcheck/ticket/6043

--- Makefile.orig	2014-08-02 10:39:20.000000000 +0000
+++ Makefile
@@ -263,8 +263,8 @@ install: cppcheck
 	install cppcheck ${BIN}
 	install htmlreport/cppcheck-htmlreport ${BIN}
 ifdef CFGDIR 
-	install -d ${CFGDIR}
-	install -m 644 cfg/* ${CFGDIR}
+	install -d ${DESTDIR}${CFGDIR}
+	install -m 644 cfg/* ${DESTDIR}${CFGDIR}
 endif