Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc gmp,mpfr: Remove CONFIGURE_ARGS flags from builtin.mk ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d26b03197994
branches:  trunk
changeset: 437922:d26b03197994
user:      prlw1 <prlw1%pkgsrc.org@localhost>
date:      Thu Sep 03 08:58:42 2020 +0000

description:
gmp,mpfr: Remove CONFIGURE_ARGS flags from builtin.mk as it assumes that
all recursively depending packages can deal with them.
Those packages that need them already add those CONFIGURE_ARGS, at least
pbulk hasn't revealed any issues (thanks jperkin@).
XXX libiconv is in a similar position, so should receive similar
treatment, but at least it only adds the flags if GNU_CONFIGURE=yes
Fixes PR pkg/55487

diffstat:

 devel/gmp/builtin.mk |  4 +---
 math/mpfr/builtin.mk |  4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r b3b3a612ecc2 -r d26b03197994 devel/gmp/builtin.mk
--- a/devel/gmp/builtin.mk      Thu Sep 03 08:14:24 2020 +0000
+++ b/devel/gmp/builtin.mk      Thu Sep 03 08:58:42 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.9 2019/11/03 10:39:12 rillig Exp $
+# $NetBSD: builtin.mk,v 1.10 2020/09/03 08:58:42 prlw1 Exp $
 
 BUILTIN_PKG:=  gmp
 
@@ -68,9 +68,7 @@
 .if !empty(CHECK_BUILTIN.gmp:M[Nn][Oo])
 .  if !empty(USE_BUILTIN.gmp:M[Yy][Ee][Ss])
 GMP_INCLUDE=           ${H_GMP:H}
-CONFIGURE_ARGS+=       --with-gmp-include=${GMP_INCLUDE}
 BUILDLINK_INCDIRS.gmp= ${GMP_INCLUDE}
-CONFIGURE_ARGS+=       --with-gmp-lib=${BUILDLINK_PREFIX.gmp}/lib${LIBABISUFFIX}
 BUILDLINK_LIBDIRS.gmp= lib${LIBABISUFFIX}
 CPPFLAGS+=             -I${GMP_INCLUDE}
 CFLAGS+=               -I${GMP_INCLUDE}
diff -r b3b3a612ecc2 -r d26b03197994 math/mpfr/builtin.mk
--- a/math/mpfr/builtin.mk      Thu Sep 03 08:14:24 2020 +0000
+++ b/math/mpfr/builtin.mk      Thu Sep 03 08:58:42 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.6 2020/08/24 08:20:14 wiz Exp $
+# $NetBSD: builtin.mk,v 1.7 2020/09/03 08:58:42 prlw1 Exp $
 
 BUILTIN_PKG:=  mpfr
 
@@ -66,9 +66,7 @@
 .if !empty(CHECK_BUILTIN.mpfr:M[Nn][Oo])
 .  if !empty(USE_BUILTIN.mpfr:M[Yy][Ee][Ss])
 MPFR_INCLUDE=          ${H_MPFR:H}
-CONFIGURE_ARGS+=       --with-mpfr-include=${MPFR_INCLUDE}
 BUILDLINK_INCDIRS.mpfr=        ${MPFR_INCLUDE}
-CONFIGURE_ARGS+=       --with-mpfr-lib=${BUILDLINK_PREFIX.mpfr}/lib${LIBABISUFFIX}
 BUILDLINK_LIBDIRS.mpfr=        lib${LIBABISUFFIX}
 CPPFLAGS+=             -I${MPFR_INCLUDE}
 CFLAGS+=               -I${MPFR_INCLUDE}



Home | Main Index | Thread Index | Old Index