Mon Jul 8 20:18:52 2013 UTC ()
Split the extract phase into fetch and extract, to ensure that distfiles
can be fetched correctly, keeping in sync with devel/gmp inplace.mk


(jperkin)
diff -r1.2 -r1.3 pkgsrc/math/mpcomplex/inplace.mk
diff -r1.2 -r1.3 pkgsrc/math/mpfr/inplace.mk

cvs diff -r1.2 -r1.3 pkgsrc/math/mpcomplex/inplace.mk (expand / switch to unified diff)

--- pkgsrc/math/mpcomplex/inplace.mk 2013/04/08 11:17:16 1.2
+++ pkgsrc/math/mpcomplex/inplace.mk 2013/07/08 20:18:52 1.3
@@ -1,12 +1,18 @@ @@ -1,12 +1,18 @@
1# $NetBSD: inplace.mk,v 1.2 2013/04/08 11:17:16 rodent Exp $ 1# $NetBSD: inplace.mk,v 1.3 2013/07/08 20:18:52 jperkin Exp $
2# 2#
3# Include this file to extract math/mpcomplex source into the WRKSRC of 3# Include this file to extract math/mpcomplex source into the WRKSRC of
4# another package. This is to be used by GCC packages to avoid the numerous 4# another package. This is to be used by GCC packages to avoid the numerous
5# dependencies math/mpcomplex has. 5# dependencies math/mpcomplex has.
6 6
 7post-fetch: fetch-inplace-mpcomplex
 8
7post-extract: extract-inplace-mpcomplex 9post-extract: extract-inplace-mpcomplex
8 10
 11fetch-inplace-mpcomplex:
 12 (cd ../../math/mpcomplex && ${MAKE} WRKDIR=${WRKSRC}/.devel.mpcomplex EXTRACT_DIR=${WRKSRC} \
 13 WRKSRC='$${EXTRACT_DIR}/$${DISTNAME}' SKIP_DEPENDS=YES checksum clean)
 14
9extract-inplace-mpcomplex: 15extract-inplace-mpcomplex:
10 (cd ../../math/mpcomplex && ${MAKE} WRKDIR=${WRKSRC}/.devel.mpcomplex EXTRACT_DIR=${WRKSRC} \ 16 (cd ../../math/mpcomplex && ${MAKE} WRKDIR=${WRKSRC}/.devel.mpcomplex EXTRACT_DIR=${WRKSRC} \
11 WRKSRC='$${EXTRACT_DIR}/$${DISTNAME}' SKIP_DEPENDS=YES fetch patch clean) 17 WRKSRC='$${EXTRACT_DIR}/$${DISTNAME}' SKIP_DEPENDS=YES patch clean)
12 ${MV} ${WRKSRC}/mpc-* ${WRKSRC}/mpc 18 ${MV} ${WRKSRC}/mpc-* ${WRKSRC}/mpc

cvs diff -r1.2 -r1.3 pkgsrc/math/mpfr/inplace.mk (expand / switch to unified diff)

--- pkgsrc/math/mpfr/inplace.mk 2012/04/22 15:13:26 1.2
+++ pkgsrc/math/mpfr/inplace.mk 2013/07/08 20:18:52 1.3
@@ -1,12 +1,18 @@ @@ -1,12 +1,18 @@
1# $NetBSD: inplace.mk,v 1.2 2012/04/22 15:13:26 wiz Exp $ 1# $NetBSD: inplace.mk,v 1.3 2013/07/08 20:18:52 jperkin Exp $
2# 2#
3# Include this file to extract math/mpfr source into the WRKSRC of 3# Include this file to extract math/mpfr source into the WRKSRC of
4# another package. This is to be used by GCC packages to avoid the 4# another package. This is to be used by GCC packages to avoid the
5# numerous dependencies math/mpfr has. 5# numerous dependencies math/mpfr has.
6 6
 7post-fetch: fetch-inplace-mpfr
 8
7post-extract: extract-inplace-mpfr 9post-extract: extract-inplace-mpfr
8 10
 11fetch-inplace-mpfr:
 12 (cd ../../math/mpfr && ${MAKE} WRKDIR=${WRKSRC}/.devel.mpfr EXTRACT_DIR=${WRKSRC} \
 13 WRKSRC='$${EXTRACT_DIR}/$${DISTNAME}' SKIP_DEPENDS=YES checksum clean)
 14
9extract-inplace-mpfr: 15extract-inplace-mpfr:
10 (cd ../../math/mpfr && ${MAKE} WRKDIR=${WRKSRC}/.devel.mpfr EXTRACT_DIR=${WRKSRC} \ 16 (cd ../../math/mpfr && ${MAKE} WRKDIR=${WRKSRC}/.devel.mpfr EXTRACT_DIR=${WRKSRC} \
11 WRKSRC='$${EXTRACT_DIR}/$${DISTNAME}' SKIP_DEPENDS=YES fetch patch clean) 17 WRKSRC='$${EXTRACT_DIR}/$${DISTNAME}' SKIP_DEPENDS=YES patch clean)
12 ${MV} ${WRKSRC}/mpfr-* ${WRKSRC}/mpfr 18 ${MV} ${WRKSRC}/mpfr-* ${WRKSRC}/mpfr