Fix inplace patching

This commit is contained in:
ryoon 2014-04-23 12:55:42 +00:00
parent 379802778e
commit 4f15a17884

View file

@ -1,4 +1,4 @@
# $NetBSD: inplace.mk,v 1.4 2013/04/07 16:19:08 asau Exp $
# $NetBSD: inplace.mk,v 1.5 2014/04/23 12:55:42 ryoon Exp $
#
# Include this file to extract devel/gmp source into the WRKSRC of
# another package. This is to be used by GCC packages to avoid the
@ -10,9 +10,9 @@ post-extract: extract-inplace-gmp
fetch-inplace-gmp:
(cd ../../devel/gmp && ${MAKE} WRKDIR=${WRKSRC}/.devel.gmp EXTRACT_DIR=${WRKSRC} \
WRKSRC='$${EXTRACT_DIR}/$${DISTNAME}' SKIP_DEPENDS=YES checksum clean)
WRKSRC='$${EXTRACT_DIR}/$${DISTNAME:C/a$$//}' SKIP_DEPENDS=YES checksum clean)
extract-inplace-gmp:
(cd ../../devel/gmp && ${MAKE} WRKDIR=${WRKSRC}/.devel.gmp EXTRACT_DIR=${WRKSRC} \
WRKSRC='$${EXTRACT_DIR}/$${DISTNAME}' SKIP_DEPENDS=YES patch clean)
WRKSRC='$${EXTRACT_DIR}/$${DISTNAME:C/a$$//}' SKIP_DEPENDS=YES patch clean)
${MV} ${WRKSRC}/gmp-* ${WRKSRC}/gmp