pkgsrc-WIP-changes archive

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

fff: attempt fo fix portability



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Wed Sep 23 11:51:45 2020 +0200
Changeset:	832749db32210508c11814d6d15effca28bd2568

Modified Files:
	fff/Makefile

Log Message:
fff: attempt fo fix portability

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

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

diffstat:
 fff/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diffs:
diff --git a/fff/Makefile b/fff/Makefile
index 711194ed5a..082ae5a0dc 100644
--- a/fff/Makefile
+++ b/fff/Makefile
@@ -15,6 +15,12 @@ NO_BUILD=	yes
 
 MAKE_FLAGS+=	MANDIR=${PREFIX}/${PKGMANDIR}
 
+SUBST_CLASSES+=         prefix
+SUBST_MESSAGE.prefix=   Fixing paths.
+SUBST_STAGE.prefix=     pre-configure
+SUBST_FILES.prefix+=    fff
+SUBST_SED.prefix+=      -e 's,FFF_W3M_PATH,${PREFIX}/libexec/w3m,g'
+
 REPLACE_BASH+=	fff
 
 DEPENDS+=	coreutils-[0-9]*:../../sysutils/coreutils


Home | Main Index | Thread Index | Old Index