Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Apr 2016 10:43:22 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r413191 - head/devel/fb-adb
Message-ID:  <201604131043.u3DAhMmN001444@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Apr 13 10:43:21 2016
New Revision: 413191
URL: https://svnweb.freebsd.org/changeset/ports/413191

Log:
  devel/fb-adb: convert to CONFIGURE_OUTSOURCE
  
  PR:		208294
  Exp-run by:	antoine
  Differential Revision:	https://reviews.freebsd.org/D4157

Modified:
  head/devel/fb-adb/Makefile   (contents, props changed)

Modified: head/devel/fb-adb/Makefile
==============================================================================
--- head/devel/fb-adb/Makefile	Wed Apr 13 10:42:36 2016	(r413190)
+++ head/devel/fb-adb/Makefile	Wed Apr 13 10:43:21 2016	(r413191)
@@ -18,10 +18,11 @@ RUN_DEPENDS=	adb:devel/android-tools-adb
 USE_GITHUB=	yes
 GH_ACCOUNT=	facebook
 
-USES=		autoreconf:outsource gmake ncurses perl5 python:3,build
+USES=		autoreconf gmake ncurses perl5 python:3,build
 USE_PERL5=	build # pod2man
 BASH_CMD?=	bash # can be zsh
 GNU_CONFIGURE=	yes
+CONFIGURE_OUTSOURCE=	yes
 CONFIGURE_ENV=	PYTHON3="${PYTHON_CMD}"
 INSTALL_TARGET=	install-strip
 PLIST_FILES=	bin/${PORTNAME} \
@@ -90,25 +91,6 @@ post-patch-NDK-off:
 	@${REINPLACE_CMD} -i '.aux.bak' -e 's/linux-android/aux-&/' \
 		${WRKSRC}/stub-*/configure
 
-# XXX D4157: Similar to USES=qmake:outsource, merge into Mk/Uses/autoreconf.mk
-.if defined(USES) && ${USES:Mautoreconf\:outsource}
-USES:=			autoreconf:build ${USES:Nautoreconf*}
-CONFIGURE_CMD=		${AUTORECONF_WRKSRC}/${CONFIGURE_SCRIPT}
-CONFIGURE_WRKSRC=	${WRKDIR}/.build
-BUILD_WRKSRC=		${CONFIGURE_WRKSRC}
-INSTALL_WRKSRC=		${CONFIGURE_WRKSRC}
-AUTORECONF_WRKSRC?=	${WRKSRC}
-
-_USES_configure+=	470:do-autoreconf
-do-autoreconf:
-.for f in AUTHORS ChangeLog INSTALL NEWS README
-# Don't modify time stamps if the files already exist
-	@test -e ${AUTORECONF_WRKSRC}/${f} || ${TOUCH} ${AUTORECONF_WRKSRC}/${f}
-.endfor
-	@(cd ${AUTORECONF_WRKSRC} && ${LOCALBASE}/bin/autoreconf -f -i)
-	@${MKDIR} ${CONFIGURE_WRKSRC}
-.endif
-
 .include <bsd.port.mk>
 
 # XXX Bug 204615: Teach USE_LINUX about build-only deps



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604131043.u3DAhMmN001444>