[Midnightbsd-cvs] mports [20269] trunk/textproc/docbook-xml/Makefile: fix build by using ports tar

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Sep 19 16:37:54 EDT 2015


Revision: 20269
          http://svnweb.midnightbsd.org/mports/?rev=20269
Author:   laffer1
Date:     2015-09-19 16:37:53 -0400 (Sat, 19 Sep 2015)
Log Message:
-----------
fix build by using ports tar

Modified Paths:
--------------
    trunk/textproc/docbook-xml/Makefile

Modified: trunk/textproc/docbook-xml/Makefile
===================================================================
--- trunk/textproc/docbook-xml/Makefile	2015-09-19 20:00:05 UTC (rev 20268)
+++ trunk/textproc/docbook-xml/Makefile	2015-09-19 20:37:53 UTC (rev 20269)
@@ -15,7 +15,8 @@
 LICENSE=	unknown
 
 BUILD_DEPENDS=	${LOCALBASE}/share/xml/xmlcharent/catalog.xml:${PORTSDIR}/textproc/xmlcharent \
-		${XMLCATMGR_CMD}:${PORTSDIR}/textproc/xmlcatmgr
+		${XMLCATMGR_CMD}:${PORTSDIR}/textproc/xmlcatmgr \
+		${LOCALBASE}/bin/bsdtar:${PORTSDIR}/archivers/libarchive
 RUN_DEPENDS=	${LOCALBASE}/share/xml/xmlcharent/catalog.xml:${PORTSDIR}/textproc/xmlcharent \
 		${XMLCATMGR_CMD}:${PORTSDIR}/textproc/xmlcatmgr
 
@@ -38,9 +39,8 @@
 	@${RM} -rf ${WRKDIR}
 	@${MKDIR} ${WRKDIR}
 .for df in ${DISTFILES:C,:.*,,}
-	@cd ${WRKDIR} && ${TAR} \
-		${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${df} \
-		${EXTRACT_AFTER_ARGS} -s ,^,${df:R}/,
+	cd ${WRKDIR} && /usr/local/bin/bsdtar \
+		-xf ${DISTDIR}/${df} -s ,^,${df:R}/,
 .endfor
 
 post-extract:



More information about the Midnightbsd-cvs mailing list