mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
20 lines
735 B
Makefile
20 lines
735 B
Makefile
# $NetBSD: inplace.mk,v 1.5 2015/09/15 20:56:33 joerg 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.
|
|
|
|
.PHONY: fetch-inplace-mpfr extract-inplace-mpfr
|
|
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)
|
|
|
|
extract-inplace-mpfr:
|
|
(cd ../../math/mpfr && ${MAKE} WRKDIR=${WRKSRC}/.devel.mpfr EXTRACT_DIR=${WRKSRC} \
|
|
WRKSRC='$${EXTRACT_DIR}/$${DISTNAME}' SKIP_DEPENDS=YES patch)
|
|
${MV} ${WRKSRC}/mpfr-* ${WRKSRC}/mpfr
|