blob: 55531105e11d21d70adf100f01269621e0eab855 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# $NetBSD: inplace.mk,v 1.2 2012/04/22 15:13:26 wiz 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-extract: extract-inplace-mpfr
extract-inplace-mpfr:
(cd ../../math/mpfr && ${MAKE} WRKDIR=${WRKSRC}/.devel.mpfr EXTRACT_DIR=${WRKSRC} \
WRKSRC='$${EXTRACT_DIR}/$${DISTNAME}' SKIP_DEPENDS=YES fetch patch clean)
${MV} ${WRKSRC}/mpfr-* ${WRKSRC}/mpfr
|