Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2018 17:25:27 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473849 - head/devel/riscv64-binutils
Message-ID:  <201807031725.w63HPRA9089978@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb (src,doc committer)
Date: Tue Jul  3 17:25:26 2018
New Revision: 473849
URL: https://svnweb.freebsd.org/changeset/ports/473849

Log:
  Make devel/riscv64-binutils a slave of devel/binutils.
  
  Since the riscv support was merged into the upstream binutils repository
  prior to the 2.30 release, switch the riscv64-binutils port over to the
  standard binutils port rather than building from an alternate branch of
  binutils 2.29.
  
  Reviewed by:	lwhsu
  Sponsored by:	DARPA / AFRL
  Differential Revision:	https://reviews.freebsd.org/D16053

Deleted:
  head/devel/riscv64-binutils/distinfo
  head/devel/riscv64-binutils/pkg-descr
Modified:
  head/devel/riscv64-binutils/Makefile
  head/devel/riscv64-binutils/pkg-plist

Modified: head/devel/riscv64-binutils/Makefile
==============================================================================
--- head/devel/riscv64-binutils/Makefile	Tue Jul  3 17:20:45 2018	(r473848)
+++ head/devel/riscv64-binutils/Makefile	Tue Jul  3 17:25:26 2018	(r473849)
@@ -1,50 +1,9 @@
 # $FreeBSD$
 
-PORTNAME=	binutils
-PORTVERSION=	2.29
-PORTREVISION=	20180214
-PORTEPOCH=	1
-CATEGORIES=	devel
+COMMENT=	GNU binutils for RISC-V cross-development
 PKGNAMEPREFIX=	riscv64-
+PLIST=	${.CURDIR}/pkg-plist
 
-MAINTAINER=	lwhsu@FreeBSD.org
-COMMENT=	GNU binutils for RISC-V cross-development
+MASTERDIR=	${.CURDIR}/../binutils
 
-LICENSE=	GPLv3 LGPL3
-LICENSE_COMB=	multi
-
-LIB_DEPENDS=	libgmp.so:math/gmp \
-		libmpfr.so:math/mpfr \
-		libmpc.so:math/mpc
-
-USES=	bison gmake libtool makeinfo
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	freebsd-riscv
-GH_PROJECT=	riscv-binutils-gdb
-GH_TAGNAME=	dc03ed3
-
-BUTARGET=	${PKGNAMEPREFIX}unknown-${OPSYS:tl}${OSREL}
-
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--target=${BUTARGET} \
-		--with-sysroot=/ \
-		--disable-gdb \
-		--disable-sim \
-		--enable-tls \
-		--disable-werror \
-		--disable-nls \
-		--disable-intl \
-		--disable-shared \
-		--with-system-zlib \
-		--with-gmp=${LOCALBASE} \
-		--with-mpfr=${LOCALBASE}
-
-PLIST_SUB=	BUTARGET=${BUTARGET}
-
-.include <bsd.port.pre.mk>
-
-post-install:
-	@if [ -d ${STAGEDIR}${PREFIX}/${INFO_PATH} ] ; then ${RM} -r ${STAGEDIR}${PREFIX}/${INFO_PATH}; fi
-
-.include <bsd.port.post.mk>
+.include "${MASTERDIR}/Makefile"

Modified: head/devel/riscv64-binutils/pkg-plist
==============================================================================
--- head/devel/riscv64-binutils/pkg-plist	Tue Jul  3 17:20:45 2018	(r473848)
+++ head/devel/riscv64-binutils/pkg-plist	Tue Jul  3 17:25:26 2018	(r473849)
@@ -42,30 +42,49 @@ man/man1/%%BUTARGET%%-windres.1.gz
 %%BUTARGET%%/bin/objdump
 %%BUTARGET%%/bin/ranlib
 %%BUTARGET%%/bin/readelf
+%%BUTARGET%%/bin/size
 %%BUTARGET%%/bin/strip
 %%BUTARGET%%/lib/ldscripts/elf32lriscv.x
 %%BUTARGET%%/lib/ldscripts/elf32lriscv.xbn
 %%BUTARGET%%/lib/ldscripts/elf32lriscv.xc
+%%BUTARGET%%/lib/ldscripts/elf32lriscv.xce
 %%BUTARGET%%/lib/ldscripts/elf32lriscv.xd
 %%BUTARGET%%/lib/ldscripts/elf32lriscv.xdc
+%%BUTARGET%%/lib/ldscripts/elf32lriscv.xdce
+%%BUTARGET%%/lib/ldscripts/elf32lriscv.xde
 %%BUTARGET%%/lib/ldscripts/elf32lriscv.xdw
+%%BUTARGET%%/lib/ldscripts/elf32lriscv.xdwe
+%%BUTARGET%%/lib/ldscripts/elf32lriscv.xe
 %%BUTARGET%%/lib/ldscripts/elf32lriscv.xn
 %%BUTARGET%%/lib/ldscripts/elf32lriscv.xr
 %%BUTARGET%%/lib/ldscripts/elf32lriscv.xs
 %%BUTARGET%%/lib/ldscripts/elf32lriscv.xsc
+%%BUTARGET%%/lib/ldscripts/elf32lriscv.xsce
+%%BUTARGET%%/lib/ldscripts/elf32lriscv.xse
 %%BUTARGET%%/lib/ldscripts/elf32lriscv.xsw
+%%BUTARGET%%/lib/ldscripts/elf32lriscv.xswe
 %%BUTARGET%%/lib/ldscripts/elf32lriscv.xu
 %%BUTARGET%%/lib/ldscripts/elf32lriscv.xw
+%%BUTARGET%%/lib/ldscripts/elf32lriscv.xwe
 %%BUTARGET%%/lib/ldscripts/elf64lriscv.x
 %%BUTARGET%%/lib/ldscripts/elf64lriscv.xbn
 %%BUTARGET%%/lib/ldscripts/elf64lriscv.xc
+%%BUTARGET%%/lib/ldscripts/elf64lriscv.xce
 %%BUTARGET%%/lib/ldscripts/elf64lriscv.xd
 %%BUTARGET%%/lib/ldscripts/elf64lriscv.xdc
+%%BUTARGET%%/lib/ldscripts/elf64lriscv.xdce
+%%BUTARGET%%/lib/ldscripts/elf64lriscv.xde
 %%BUTARGET%%/lib/ldscripts/elf64lriscv.xdw
+%%BUTARGET%%/lib/ldscripts/elf64lriscv.xdwe
+%%BUTARGET%%/lib/ldscripts/elf64lriscv.xe
 %%BUTARGET%%/lib/ldscripts/elf64lriscv.xn
 %%BUTARGET%%/lib/ldscripts/elf64lriscv.xr
 %%BUTARGET%%/lib/ldscripts/elf64lriscv.xs
 %%BUTARGET%%/lib/ldscripts/elf64lriscv.xsc
+%%BUTARGET%%/lib/ldscripts/elf64lriscv.xsce
+%%BUTARGET%%/lib/ldscripts/elf64lriscv.xse
 %%BUTARGET%%/lib/ldscripts/elf64lriscv.xsw
+%%BUTARGET%%/lib/ldscripts/elf64lriscv.xswe
 %%BUTARGET%%/lib/ldscripts/elf64lriscv.xu
 %%BUTARGET%%/lib/ldscripts/elf64lriscv.xw
+%%BUTARGET%%/lib/ldscripts/elf64lriscv.xwe



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