[Midnightbsd-cvs] mports [16232] trunk/Mk/bsd.mport.mk: this is not working right with tar: xz

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Apr 12 20:15:06 EDT 2014


Revision: 16232
          http://svnweb.midnightbsd.org/mports/?rev=16232
Author:   laffer1
Date:     2014-04-12 20:15:05 -0400 (Sat, 12 Apr 2014)
Log Message:
-----------
this is not working right with tar:xz

Modified Paths:
--------------
    trunk/Mk/bsd.mport.mk

Modified: trunk/Mk/bsd.mport.mk
===================================================================
--- trunk/Mk/bsd.mport.mk	2014-04-13 00:12:57 UTC (rev 16231)
+++ trunk/Mk/bsd.mport.mk	2014-04-13 00:15:05 UTC (rev 16232)
@@ -301,19 +301,6 @@
 
 PKGCOMPATDIR?=	${LOCALBASE}/lib/compat/pkg
 
-# This must come before extension loading or it won't work
-.if defined(USE_BZIP2)
-USES+=tar:bzip2
-.elif defined(USE_ZIP)
-USES+=zip
-.elif defined(USE_XZ)
-USES+=tar:xz
-.elif defined(USE_MAKESELF)
-EXTRACT_SUFX?=	.run
-.else
-EXTRACT_SUFX?=	.tar.gz
-.endif
-
 #
 # Handle the backwards compatibility stuff for extension loading
 #
@@ -397,6 +384,17 @@
 EXTRACT_DEPENDS+=       gcpio:${PORTSDIR}/archivers/gcpio
 .endif
 
+.if defined(USE_BZIP2)
+USES+=tar:bzip2
+.elif defined(USE_ZIP)
+USES+=zip
+.elif defined(USE_XZ)
+USES+=tar:xz
+.elif defined(USE_MAKESELF)
+EXTRACT_SUFX?=			.run
+.else
+EXTRACT_SUFX?=			.tar.gz
+.endif
 PACKAGES?=		${PORTSDIR}/Packages/${ARCH}
 TEMPLATES?=		${PORTSDIR}/Templates
 



More information about the Midnightbsd-cvs mailing list