diff options
Diffstat (limited to 'math/mpfr')
-rw-r--r-- | math/mpfr/inplace.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/math/mpfr/inplace.mk b/math/mpfr/inplace.mk index 55531105e11..fac5e790ce3 100644 --- a/math/mpfr/inplace.mk +++ b/math/mpfr/inplace.mk @@ -1,12 +1,18 @@ -# $NetBSD: inplace.mk,v 1.2 2012/04/22 15:13:26 wiz Exp $ +# $NetBSD: inplace.mk,v 1.3 2013/07/08 20:18:52 jperkin Exp $ # # Include this file to extract math/mpfr source into the WRKSRC of # another package. This is to be used by GCC packages to avoid the # numerous dependencies math/mpfr has. +post-fetch: fetch-inplace-mpfr + post-extract: extract-inplace-mpfr +fetch-inplace-mpfr: + (cd ../../math/mpfr && ${MAKE} WRKDIR=${WRKSRC}/.devel.mpfr EXTRACT_DIR=${WRKSRC} \ + WRKSRC='$${EXTRACT_DIR}/$${DISTNAME}' SKIP_DEPENDS=YES checksum clean) + extract-inplace-mpfr: (cd ../../math/mpfr && ${MAKE} WRKDIR=${WRKSRC}/.devel.mpfr EXTRACT_DIR=${WRKSRC} \ - WRKSRC='$${EXTRACT_DIR}/$${DISTNAME}' SKIP_DEPENDS=YES fetch patch clean) + WRKSRC='$${EXTRACT_DIR}/$${DISTNAME}' SKIP_DEPENDS=YES patch clean) ${MV} ${WRKSRC}/mpfr-* ${WRKSRC}/mpfr |