pkgsrc/devel/gmp/inplace.mk
wiz 1f2ce87cc5 gmp: update to 6.2.1.
Fix some pkglint while here.

Changes between GMP version 6.2.0 and 6.2.1

  BUGS FIXED
  * A possible overflow of type int is avoided for mpz_cmp on huge operands.

  * Overflows are more carefully detected and reported for mpz_pow_ui.

  * A bug in longlong.h for aarch64 sub_ddmmss, not affecting GMP, was healed.

  * mini-gmp: mpz_out_str and mpq_out_str now correctly handle out of
    range bases.

  FEATURES
  * C90 compliance.

  * Initial support for Darwin on arm64, and improved portability.

  * Support for more processors.

  SPEEDUPS
  * None, except indirectly through recognition of new CPUs.
2020-11-16 13:12:41 +00:00

22 lines
770 B
Makefile

# $NetBSD: inplace.mk,v 1.8 2020/11/16 13:12:41 wiz Exp $
#
# Include this file to extract devel/gmp source into the WRKSRC of
# another package. This is to be used by GCC packages to avoid the
# numerous dependencies devel/gmp has.
post-fetch: fetch-inplace-gmp
post-extract: extract-inplace-gmp
.PHONY: fetch-inplace-gmp
fetch-inplace-gmp:
(cd ../../devel/gmp && ${MAKE} WRKDIR=${WRKSRC}/.devel.gmp EXTRACT_DIR=${WRKSRC} \
WRKSRC='$${EXTRACT_DIR}/$${DISTNAME:C/a$$//}' SKIP_DEPENDS=YES checksum)
.PHONY: extract-inplace-gmp
extract-inplace-gmp:
(cd ../../devel/gmp && ${MAKE} WRKDIR=${WRKSRC}/.devel.gmp EXTRACT_DIR=${WRKSRC} \
WRKSRC='$${EXTRACT_DIR}/$${DISTNAME:C/a$$//}' SKIP_DEPENDS=YES patch)
${MV} ${WRKSRC}/gmp-* ${WRKSRC}/gmp
USE_TOOLS+= bzcat tar