diff options
author | hans <hans> | 2012-04-13 11:00:14 +0000 |
---|---|---|
committer | hans <hans> | 2012-04-13 11:00:14 +0000 |
commit | 950ee6cd9359f8603b819da138e4035f59e6f6ff (patch) | |
tree | 40ede6cdc5beac6baae4a405dd4e4fe83baf3a10 /math/mpfr | |
parent | 3b2e1261ee2ba36420ce8030776c2dd398da3da5 (diff) | |
download | pkgsrc-950ee6cd9359f8603b819da138e4035f59e6f6ff.tar.gz |
Add inplace.mk to allow building this inside another package.
Diffstat (limited to 'math/mpfr')
-rw-r--r-- | math/mpfr/inplace.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/math/mpfr/inplace.mk b/math/mpfr/inplace.mk new file mode 100644 index 00000000000..e949f6dc640 --- /dev/null +++ b/math/mpfr/inplace.mk @@ -0,0 +1,13 @@ +# $NetBSD: inplace.mk,v 1.1 2012/04/13 11:00:14 hans 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 + |