Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www www/ap2-python: omit unknown configure option



details:   https://anonhg.NetBSD.org/pkgsrc/rev/781074ddcd49
branches:  trunk
changeset: 430975:781074ddcd49
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu May 07 05:41:33 2020 +0000

description:
www/ap2-python: omit unknown configure option

This fixes the build with GNU_CONFIGURE_STRICT=yes.

diffstat:

 www/ap2-python/Makefile    |  3 ++-
 www/apache24/buildlink3.mk |  4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r 728effc567a0 -r 781074ddcd49 www/ap2-python/Makefile
--- a/www/ap2-python/Makefile   Thu May 07 05:40:35 2020 +0000
+++ b/www/ap2-python/Makefile   Thu May 07 05:41:33 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2019/11/21 11:40:37 leot Exp $
+# $NetBSD: Makefile,v 1.37 2020/05/07 05:41:33 rillig Exp $
 
 DISTNAME=      mod_python-3.5.0
 PKGNAME=       ${APACHE_PKG_PREFIX}-${PYPKGPREFIX}-${DISTNAME:S/mod_//}
@@ -19,6 +19,7 @@
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --with-apxs=${APXS:Q}
 CONFIGURE_ARGS+=       --with-python=${PYTHONBIN:Q}
+CONFIGURE_ARGS.apache= # none (since --with-apxs2 is unknown)
 
 SUBST_CLASSES+=                        optimization
 SUBST_STAGE.optimization=      pre-configure
diff -r 728effc567a0 -r 781074ddcd49 www/apache24/buildlink3.mk
--- a/www/apache24/buildlink3.mk        Thu May 07 05:40:35 2020 +0000
+++ b/www/apache24/buildlink3.mk        Thu May 07 05:41:33 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2020/01/18 21:48:29 jperkin Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2020/05/07 05:41:33 rillig Exp $
 
 BUILDLINK_TREE+=       apache
 
@@ -24,7 +24,7 @@
 MAKE_ENV+=             APR_LIBTOOL=${LIBTOOL:Q}
 APXS?=                 ${BUILDLINK_PREFIX.apache}/bin/apxs
 .if defined(GNU_CONFIGURE)
-CONFIGURE_ARGS+=       --with-apxs2=${APXS:Q}
+CONFIGURE_ARGS+=       ${CONFIGURE_ARGS.apache:U--with-apxs2=${APXS:Q}}
 .endif
 
 .include "../../devel/apr/buildlink3.mk"



Home | Main Index | Thread Index | Old Index