Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Nov 2013 13:02:19 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333285 - in head/lang: gnatdroid-binutils gnatdroid-sysroot
Message-ID:  <201311091302.rA9D2JXw075033@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sat Nov  9 13:02:19 2013
New Revision: 333285
URL: http://svnweb.freebsd.org/changeset/ports/333285

Log:
  lang/gnatdroid-(sysroot,binutils): convert to staging

Modified:
  head/lang/gnatdroid-binutils/Makefile
  head/lang/gnatdroid-sysroot/Makefile

Modified: head/lang/gnatdroid-binutils/Makefile
==============================================================================
--- head/lang/gnatdroid-binutils/Makefile	Sat Nov  9 12:30:28 2013	(r333284)
+++ head/lang/gnatdroid-binutils/Makefile	Sat Nov  9 13:02:19 2013	(r333285)
@@ -40,9 +40,9 @@ CONFIGURE_ARGS+=	--with-mpfr=${LOCALBASE
 CONFIGURE_ARGS+=	--disable-werror
 CONFIGURE_ARGS+=	--disable-nls
 
-NO_STAGE=	yes
 post-install:
-	${MKDIR} ${BR2_PREFIX}
-	(cd ${BR1_PREFIX} && ${COPYTREE_BIN} \* ${BR2_PREFIX})
+	${MKDIR} ${STAGEDIR}${BR2_PREFIX}
+	(cd ${STAGEDIR}${BR1_PREFIX} && ${COPYTREE_BIN} \* \
+		${STAGEDIR}${BR2_PREFIX})
 
 .include <bsd.port.mk>

Modified: head/lang/gnatdroid-sysroot/Makefile
==============================================================================
--- head/lang/gnatdroid-sysroot/Makefile	Sat Nov  9 12:30:28 2013	(r333284)
+++ head/lang/gnatdroid-sysroot/Makefile	Sat Nov  9 13:02:19 2013	(r333285)
@@ -4,8 +4,7 @@
 PORTNAME=	sysroot
 PORTVERSION=	9
 CATEGORIES=	lang
-MASTER_SITES=	http://downloads.dragonlace.net/src/ \
-		http://dragonlace.mirrors.ada.cx/src/
+MASTER_SITES=	http://downloads.dragonlace.net/src/
 PKGNAMEPREFIX=	gnatdroid-
 DISTNAME=	android-9-arm
 
@@ -19,10 +18,9 @@ NO_MTREE=	YES
 WRKSRC=		${WRKDIR}/android-${PORTVERSION}-arm
 PREFIX=		${LOCALBASE}/android9
 
-NO_STAGE=	yes
 do-install:
-	(cd ${WRKSRC} && ${FIND} usr/ -type d -exec ${MKDIR} ${PREFIX}/{} \;)
+	(cd ${WRKSRC} && ${FIND} usr/ -type d -exec ${MKDIR} ${STAGEDIR}${PREFIX}/{} \;)
 	(cd ${WRKSRC} && ${FIND} usr/ -type f -exec \
-	   ${INSTALL} -p -o root -g wheel ${WRKSRC}/{} ${PREFIX}/{} \;)
+	   ${INSTALL} -p -o root -g wheel ${WRKSRC}/{} ${STAGEDIR}${PREFIX}/{} \;)
 
 .include <bsd.port.mk>



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