pkgsrc-WIP-changes archive

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

uzbl-git: Fix /usr(/local)?/share paths



Module Name:	pkgsrc-wip
Committed By:	Mateusz Poszwa <old4%o2.pl@localhost>
Pushed By:	f8l
Date:		Tue Jun 14 21:13:08 2016 +0200
Changeset:	4dea5eb991b10b38dd3e46be8177bab3c7f22c31

Modified Files:
	uzbl-git/Makefile

Log Message:
uzbl-git: Fix /usr(/local)?/share paths

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

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

diffstat:
 uzbl-git/Makefile | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diffs:
diff --git a/uzbl-git/Makefile b/uzbl-git/Makefile
index ec0bf35..ea604b9 100644
--- a/uzbl-git/Makefile
+++ b/uzbl-git/Makefile
@@ -24,6 +24,18 @@ PY_PATCHPLIST=		yes
 MAKE_ENV+=	PYTHON=${PYTHONBIN}
 MAKE_ENV+=	MANDIR=${DESTDIR}/${PREFIX}/${PKGMANDIR}
 
+SUBST_CLASSES+=			fix-share
+SUBST_STAGE.fix-share=		pre-configure
+SUBST_MESSAGE.fix-share=	Fixing absolute paths to /usr/share
+SUBST_FILES.fix-share=		bin/uzbl-tabbed uzbl/plugins/__init__.py
+SUBST_SED.fix-share=		-e 's,/usr/share,${PREFIX}/share,g'
+
+SUBST_CLASSES+=			fix-local-share
+SUBST_STAGE.fix-local-share=	pre-configure
+SUBST_MESSAGE.fix-local-share=	Fixing absolute paths to /usr/local/share
+SUBST_FILES.fix-local-share=	bin/uzbl-browser.in src/uzbl-core.c
+SUBST_SED.fix-local-share=	-e 's,/usr/local/share,${PREFIX}/share,g'
+
 REPLACE_PYTHON+=	bin/uzbl-tabbed
 REPLACE_PYTHON+=	examples/data/scripts/auth.py
 REPLACE_PYTHON+=	examples/data/scripts/uzblcat


Home | Main Index | Thread Index | Old Index