pkgsrc-WIP-changes archive

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

bitcoin: trim /usr->$PREFIX code



Module Name:	pkgsrc-wip
Committed By:	Greg Troxel <gdt%ir.bbn.com@localhost>
Pushed By:	gdt
Date:		Mon Nov 28 13:50:45 2016 -0500
Changeset:	c5bd4a8c105b81e13a6616d1094f16496173dff6

Modified Files:
	bitcoin/Makefile

Log Message:
bitcoin: trim /usr->$PREFIX code

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c5bd4a8c105b81e13a6616d1094f16496173dff6

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

diffstat:
 bitcoin/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diffs:
diff --git a/bitcoin/Makefile b/bitcoin/Makefile
index 2c52fdc..f95a04c 100644
--- a/bitcoin/Makefile
+++ b/bitcoin/Makefile
@@ -52,11 +52,12 @@ EGDIR=		${PREFIX}/share/examples/bitcoin
 CONF_FILES=	${EGDIR}/bitcoin.conf ${PKG_SYSCONFDIR}/bitcoin.conf
 CONF_FILES_PERMS=	${EGDIR}/bitcoin.conf ${PKG_SYSCONFDIR}/bitcoin.conf ${ROOT_USER} ${ROOT_GROUP} 0600
 
+# This is currently unnecessary, but it seems likely we will find a
+# file that references /usr when ${PREFIX} is appropriate.
 SUBST_CLASSES+= 	pkg
 SUBST_STAGE.pkg= 	post-patch
-#SUBST_FILES.pkg+=	contrib/debian/bitcoin-qt.desktop
 SUBST_SED.pkg=		-e "s|/usr/|${PREFIX}/|g"
-SUBST_MESSAGE.pkg=	"Fixing dirs."
+SUBST_MESSAGE.pkg=	"Fixing /usr references to ${PREFIX}."
 
 # bitcoin does not actually have releases; only snapshots of the
 # repository from which a release would have been made.  Remedially


Home | Main Index | Thread Index | Old Index