bitcoin: trim /usr->$PREFIX code
authorGreg Troxel <gdt@ir.bbn.com>
Mon, 28 Nov 2016 18:50:45 +0000 (13:50 -0500)
committerGreg Troxel <gdt@ir.bbn.com>
Mon, 28 Nov 2016 18:50:45 +0000 (13:50 -0500)
bitcoin/Makefile

index 2c52fdceb9c7c449f4422bc8b32574ed007ce513..f95a04c9eed920f9f72e9653b7ac89ea557086b0 100644 (file)
@@ -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