pkgsrc-WIP-changes archive

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

py-setconf: Fix usage of PYTHON_REPLACE, as it conflicts with NO_CONFIGURE



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Oct 20 23:45:36 2015 +0200
Changeset:	675fcc5ce99f63d967f40b12c87488af512abf43

Modified Files:
	py-setconf/Makefile

Log Message:
py-setconf: Fix usage of PYTHON_REPLACE, as it conflicts with NO_CONFIGURE

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

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

diffstat:
 py-setconf/Makefile | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diffs:
diff --git a/py-setconf/Makefile b/py-setconf/Makefile
index 751b6c6..8d4efc4 100644
--- a/py-setconf/Makefile
+++ b/py-setconf/Makefile
@@ -11,15 +11,10 @@ HOMEPAGE=	http://setconf.roboticoverlords.org/
 COMMENT=	Small utility to change settings in configuration textfiles
 LICENSE=	gnu-gpl-v2
 
-SUBST_CLASSES+=		path
-SUBST_SED.path=		-e "s,/usr/bin/python2,${PYTHONBIN},"
-SUBST_MESSAGE.path=	Fixing path to python.
-SUBST_STAGE.path=	post-patch
-SUBST_FILES.path=	setconf.py
+PYTHON_REPLACE+=	setconf.py
 
 WRKSRC=	${WRKDIR}/setconf-${PKGVERSION_NOREV}
 
-NO_CONFIGURE=	yes
 NO_BUILD=	yes
 
 AUTO_MKDIRS=	yes


Home | Main Index | Thread Index | Old Index