math/spooles*: specify post-extraction with ${TAR}

It's possible that EXTRACT_CMD won't be predefined in the near future
in order to support distfiles in multiple formats.  We know the post-
extraction tool needs to be tar, so let's specify it directly.

It may be worth looking at the post-extract target here and seeing
if it's really needed.  Often one can just change the WRKSRC value to
avoid a custom post-extract taraget.

Approved by:	infrastructure improvements blanket
This commit is contained in:
John Marino 2014-05-29 22:02:52 +00:00
parent 8b2b8f3d8d
commit 9c4f0764df
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355754

View file

@ -54,7 +54,7 @@ pre-everything::
.endif
do-extract:
${MKDIR} ${WRKSRC} ; cd ${WRKSRC} ; ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS}
${MKDIR} ${WRKSRC} ; cd ${WRKSRC} ; ${TAR} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS}
post-patch:
${MKDIR} ${WRKSRC}_SHARED ; ${CP} -r ${WRKSRC}/* ${WRKSRC}_SHARED