pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
unit: use more canonical way to run configure script.
Module Name: pkgsrc-wip
Committed By: Sergey A. Osokin <osa%FreeBSD.org@localhost>
Pushed By: osa
Date: Sat Feb 6 13:25:32 2021 -0500
Changeset: a13a350e902440eb94de81bca75925d6a2212895
Modified Files:
unit-perl/Makefile
unit-php/Makefile
unit-python/Makefile
unit-ruby/Makefile
Log Message:
unit: use more canonical way to run configure script.
Suggested by: Roland Illig <roland.illig%gmx.de@localhost>
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a13a350e902440eb94de81bca75925d6a2212895
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
unit-perl/Makefile | 5 +++--
unit-php/Makefile | 8 +++++---
unit-python/Makefile | 7 ++++---
unit-ruby/Makefile | 5 +++--
4 files changed, 15 insertions(+), 10 deletions(-)
diffs:
diff --git a/unit-perl/Makefile b/unit-perl/Makefile
index be4bb5f823..c54ccb40c1 100644
--- a/unit-perl/Makefile
+++ b/unit-perl/Makefile
@@ -11,8 +11,9 @@ MAINTAINER= osa%FreeBSD.org@localhost
USE_TOOLS+= perl
post-configure:
- cd ${WRKSRC} && \
- ./configure ${LANG} --module=${MODNAME}
+ ${RUN} cd ${WRKSRC} && ${PKGSRC_SETENV} ${_CONFIGURE_SCRIPT_ENV} \
+ ${CONFIG_SHELL} ${CONFIG_SHELL_FLAGS} ${CONFIGURE_SCRIPT} \
+ ${LANG} --module=${MODNAME}
.include "../../lang/perl5/buildlink3.mk"
.include "../../wip/unit/ext.mk"
diff --git a/unit-php/Makefile b/unit-php/Makefile
index 5cbff5e2cc..3a7c4523be 100644
--- a/unit-php/Makefile
+++ b/unit-php/Makefile
@@ -17,9 +17,11 @@ PHP_VERSIONS_ACCEPTED?= 56 72 73 74
#.endif
post-configure:
- cd ${WRKSRC} && \
- ./configure ${LANG} --lib-path=${PREFIX}/lib \
- --module=${MODNAME}
+ ${RUN} cd ${WRKSRC} && ${SETENV} ${_CONFIGURE_SCRIPT_ENV} \
+ ${CONFIG_SHELL} ${CONFIG_SHELL_FLAGS} \
+ ${CONFIGURE_SCRIPT} ${LANG} \
+ --lib-path=${PREFIX}/lib \
+ --module=${MODNAME}
.include "${PHPPKGSRCDIR}/buildlink3.mk"
.include "../../wip/unit/ext.mk"
diff --git a/unit-python/Makefile b/unit-python/Makefile
index 718eda2a86..21cdcde831 100644
--- a/unit-python/Makefile
+++ b/unit-python/Makefile
@@ -9,9 +9,10 @@ MODNAME= ${LANG}
MAINTAINER= osa%FreeBSD.org@localhost
post-configure:
- cd ${WRKSRC} && \
- ./configure ${LANG} --module=${MODNAME} \
- --config=${LANG}${PYVERSSUFFIX}-config
+ ${RUN} cd ${WRKSRC} && ${SETENV} ${_CONFIGURE_SCRIPT_ENV} \
+ ${CONFIG_SHELL} ${CONFIG_SHELL_FLAGS} ${CONFIGURE_SCRIPT} \
+ ${LANG} --module=${MODNAME} \
+ --config=${LANG}${PYVERSSUFFIX}-config
.include "../../lang/${LANG}/application.mk"
.include "../../wip/unit/ext.mk"
diff --git a/unit-ruby/Makefile b/unit-ruby/Makefile
index 598d633877..ed3cf5b4ea 100644
--- a/unit-ruby/Makefile
+++ b/unit-ruby/Makefile
@@ -9,8 +9,9 @@ MODNAME= ${LANG}
MAINTAINER= osa%FreeBSD.org@localhost
post-configure:
- cd ${WRKSRC} && \
- ./configure ${LANG} --module=${MODNAME}
+ ${RUN} cd ${WRKSRC} && ${SETENV} ${_CONFIGURE_SCRIPT_ENV} \
+ ${CONFIG_SHELL} ${CONFIG_SHELL_FLAGS} \
+ ${CONFIGURE_SCRIPT} ${LANG} --module=${MODNAME}
.include "../../lang/${LANG}/buildlink3.mk"
.include "../../wip/unit/ext.mk"
Home |
Main Index |
Thread Index |
Old Index