From owner-svn-ports-all@freebsd.org Thu May 19 11:06:13 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 50815B428F2; Thu, 19 May 2016 11:06:13 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 21EBB116F; Thu, 19 May 2016 11:06:13 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4JB6C0o020058; Thu, 19 May 2016 11:06:12 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4JB6CcI020057; Thu, 19 May 2016 11:06:12 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201605191106.u4JB6CcI020057@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Thu, 19 May 2016 11:06:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415502 - head/devel/fb-adb X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2016 11:06:13 -0000 Author: mat Date: Thu May 19 11:06:12 2016 New Revision: 415502 URL: https://svnweb.freebsd.org/changeset/ports/415502 Log: Fixup the NDK distfile extraction, sometime, libarchive can't cope with it. Reported by: jbeich Sponsored by: Absolight Modified: head/devel/fb-adb/Makefile Modified: head/devel/fb-adb/Makefile ============================================================================== --- head/devel/fb-adb/Makefile Thu May 19 10:57:35 2016 (r415501) +++ head/devel/fb-adb/Makefile Thu May 19 11:06:12 2016 (r415502) @@ -56,16 +56,17 @@ WRKSRC_ndk= ${ANDROID_NDK} .else NDK_DISTFILES= ${DISTNAME_ndk}.bin:ndk DISTNAME_ndk= android-ndk-r10e-linux-${LINUX_RPM_ARCH:C/i.86/x86/} +EXTRACT_ONLY= ${DISTFILES:N${EXTRACT_ONLY_7z}*} +EXTRACT_ONLY_7z= ${DISTNAME_ndk}.bin WRKSRC_ndk= ${WRKDIR}/${DISTNAME_ndk:C/(-[^-]+){2}$//} .endif NDK_BUILD_DEPENDS= ${LINUX_BASE_PORT} -NDK_USES= 7z:partial${NDK_7z_ARGS_${LINUX_RPM_ARCH}} +NDK_USES= 7z:partial,p7zip NDK_USE= LINUX=yes # build NDK_SHELL= ${SETENV} UNAME_s=Linux UNAME_m=${LINUX_RPM_ARCH} ${SH} NDK_CONFIGURE_ENV= ANDROID_NDK="${WRKSRC_ndk}" \ ANDROID_NDK_SHELL="${NDK_SHELL}" \ NDK_TMPDIR="${WRKDIR}" -NDK_7z_ARGS_x86_64= ,p7zip # libarchive fails to read NDK_BUILD_DEPENDS_OFF= ${LOCALBASE}/android/ARMv7/bin/arm-aux-linux-androideabi-gcc:lang/gnatdroid-armv7 \ ${LOCALBASE}/android-x86/x86_32/bin/i686-aux-linux-android-gcc:lang/gnatdroid-x86 .if defined(.PARSEDIR)