pkgsrc-WIP-changes archive

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

emacspeak: use REPLACE_PYTHON



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Wed Mar 13 06:45:56 2024 +0100
Changeset:	8573b02ec454592ad42e56f86491719c92d82377

Modified Files:
	emacspeak/Makefile

Log Message:
emacspeak: use REPLACE_PYTHON

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

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

diffstat:
 emacspeak/Makefile | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diffs:
diff --git a/emacspeak/Makefile b/emacspeak/Makefile
index 9a7650f354..f5fc095965 100644
--- a/emacspeak/Makefile
+++ b/emacspeak/Makefile
@@ -26,13 +26,8 @@ SUBST_MESSAGE.fix-tclsh=	Fixing tclsh path
 SUBST_FILES.fix-tclsh=		servers/*
 SUBST_SED.fix-tclsh=		-e 's,/usr/bin/tclsh,${PREFIX}/bin/tclsh,'
 
-# Fix use of /usr/bin/env
-SUBST_CLASSES+=			fix-python
-SUBST_STAGE.fix-python=		pre-configure
-SUBST_MESSAGE.fix-python=	Fixing dynamic python
-SUBST_FILES.fix-python=		etc/*streamtheworld.py
-SUBST_FILES.fix-python+=	servers/mac
-SUBST_SED.fix-python=		-e 's,/usr/bin/env python.*,${PYTHONBIN},'
+REPLACE_PYTHON+=		etc/*streamtheworld.py
+REPLACE_PYTHON+=		servers/mac
 
 # Fix sox path
 SUBST_CLASSES+=			fix-sox-path
@@ -44,7 +39,7 @@ SUBST_SED.fix-sox-path=		-E -e 's,/usr/bin/(sox|play),${PREFIX}/bin/\1,'
 
 USE_LANGUAGES+=	c c++
 
-BUILD_TARGET=	all	espeak
+BUILD_TARGET=	all espeak
 
 post-build:
 	cd ${WRKSRC} && \
@@ -76,4 +71,5 @@ do-install:
 .include "../../audio/sox/buildlink3.mk"
 .include "../../editors/emacs/modules.mk"
 .include "../../lang/python/tool.mk"
+.include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index