Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2015 17:27:55 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r377619 - in head/devel/mingw32-binutils: . files
Message-ID:  <201501211727.t0LHRtXp023056@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Jan 21 17:27:54 2015
New Revision: 377619
URL: https://svnweb.freebsd.org/changeset/ports/377619
QAT: https://qat.redports.org/buildarchive/r377619/

Log:
  Make mingw32 a slave port of binutils, this bumps it to 2.25
  
  This allows to keep the mingw32 target in sync with other binutils
  
  PR:		196911
  Submitted by:	Naram Qashat (maintainer)

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

Modified: head/devel/mingw32-binutils/Makefile
==============================================================================
--- head/devel/mingw32-binutils/Makefile	Wed Jan 21 17:07:24 2015	(r377618)
+++ head/devel/mingw32-binutils/Makefile	Wed Jan 21 17:27:54 2015	(r377619)
@@ -1,54 +1,18 @@
 # Created by: Lev Serebryakov <lev@serebryakov.spb.ru>
 # $FreeBSD$
 
-PORTNAME=	binutils
-PORTVERSION=	${BINUTILVERSION}
-PORTREVISION=	1
 PORTEPOCH=	1
-CATEGORIES=	devel
-MASTER_SITES=	${MASTER_SITE_SOURCEWARE}
-MASTER_SITE_SUBDIR=	binutils/releases
 PKGNAMEPREFIX=	mingw32-
 
 MAINTAINER=	cyberbotx@cyberbotx.com
 COMMENT=	GNU Binutils for Windows cross-development
 
-BINUTILVERSION=	2.24
+MASTERDIR=	${.CURDIR}/../binutils
+PLIST=		${.CURDIR}/pkg-plist
 
-USES=		gmake iconv tar:bzip2
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--target=${PKGNAMEPREFIX:S/-$//} \
-		--with-gcc --with-gnu-ld --with-gnu-as \
-		--disable-nls --disable-win32-registry \
-		--disable-shared --disable-werror
-INFO_PATH=	${PKGNAMEPREFIX:S/-$//}/info
-
-INFO=		as bfd binutils ld configure gprof standards
-INFO_PATH=	${PKGNAMEPREFIX:S/-$//}/info
-
-PLIST_SUB+=	BINUTILS_TARG=${PKGNAMEPREFIX:S/-$//}
-
-BINARIES=	addr2line ar as c++filt gprof ld nm objcopy objdump ranlib \
-		readelf size strings strip dlltool dllwrap windmc windres
-
-post-install:
-.for F in ${BINARIES}
-	@${LN} -f ${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}$F \
-		${STAGEDIR}${PREFIX}/${PKGNAMEPREFIX:S/-$//}/bin/$F
-.endfor
-
-#
-# UGLY HACK
-#
-add-plist-post:
-	@${ECHO_CMD} "@unexec ${RMDIR} -p %D/${PKGNAMEPREFIX:S/-$//}/info 2> /dev/null || true" >> ${TMPPLIST}
-	@${ECHO_CMD} "@unexec ${RMDIR} -p %D/${PKGNAMEPREFIX:S/-$//} 2> /dev/null || true" >> ${TMPPLIST}
-.if (defined(PREFIX) && defined(LOCALBASE) && defined(LINUXBASE) \
-	&& ${PREFIX} != ${LOCALBASE} && ${PREFIX} != ${LINUXBASE} \
-	&& ${PREFIX} != "/usr")
-	@${ECHO_CMD} "@unexec ${RMDIR} %D 2> /dev/null || true" >> ${TMPPLIST}
-.else
-	@${DO_NADA}
-.endif
+BUTARGET=	${PKGNAMEPREFIX:S/-$//}
 
-.include <bsd.port.mk>
+INFO=		as bfd binutils gprof ld
+INFO_PATH=	${BUTARGET}/info
+
+.include "${MASTERDIR}/Makefile"

Modified: head/devel/mingw32-binutils/pkg-plist
==============================================================================
--- head/devel/mingw32-binutils/pkg-plist	Wed Jan 21 17:07:24 2015	(r377618)
+++ head/devel/mingw32-binutils/pkg-plist	Wed Jan 21 17:27:54 2015	(r377619)
@@ -17,48 +17,40 @@ man/man1/mingw32-strings.1.gz
 man/man1/mingw32-strip.1.gz
 man/man1/mingw32-windmc.1.gz
 man/man1/mingw32-windres.1.gz
-%%BINUTILS_TARG%%/bin/addr2line
-%%BINUTILS_TARG%%/bin/ar
-%%BINUTILS_TARG%%/bin/as
-%%BINUTILS_TARG%%/bin/c++filt
-%%BINUTILS_TARG%%/bin/dlltool
-%%BINUTILS_TARG%%/bin/dllwrap
-%%BINUTILS_TARG%%/bin/gprof
-%%BINUTILS_TARG%%/bin/ld
-%%BINUTILS_TARG%%/bin/ld.bfd
-%%BINUTILS_TARG%%/bin/nm
-%%BINUTILS_TARG%%/bin/objcopy
-%%BINUTILS_TARG%%/bin/objdump
-%%BINUTILS_TARG%%/bin/ranlib
-%%BINUTILS_TARG%%/bin/readelf
-%%BINUTILS_TARG%%/bin/strip
-%%BINUTILS_TARG%%/bin/size
-%%BINUTILS_TARG%%/bin/strings
-%%BINUTILS_TARG%%/bin/windmc
-%%BINUTILS_TARG%%/bin/windres
-%%BINUTILS_TARG%%/lib/ldscripts/i386pe.x
-%%BINUTILS_TARG%%/lib/ldscripts/i386pe.xa
-%%BINUTILS_TARG%%/lib/ldscripts/i386pe.xbn
-%%BINUTILS_TARG%%/lib/ldscripts/i386pe.xn
-%%BINUTILS_TARG%%/lib/ldscripts/i386pe.xr
-%%BINUTILS_TARG%%/lib/ldscripts/i386pe.xu
-bin/%%BINUTILS_TARG%%-addr2line
-bin/%%BINUTILS_TARG%%-ar
-bin/%%BINUTILS_TARG%%-as
-bin/%%BINUTILS_TARG%%-c++filt
-bin/%%BINUTILS_TARG%%-dlltool
-bin/%%BINUTILS_TARG%%-dllwrap
-bin/%%BINUTILS_TARG%%-elfedit
-bin/%%BINUTILS_TARG%%-gprof
-bin/%%BINUTILS_TARG%%-ld
-bin/%%BINUTILS_TARG%%-ld.bfd
-bin/%%BINUTILS_TARG%%-nm
-bin/%%BINUTILS_TARG%%-objcopy
-bin/%%BINUTILS_TARG%%-objdump
-bin/%%BINUTILS_TARG%%-ranlib
-bin/%%BINUTILS_TARG%%-readelf
-bin/%%BINUTILS_TARG%%-strip
-bin/%%BINUTILS_TARG%%-size
-bin/%%BINUTILS_TARG%%-strings
-bin/%%BINUTILS_TARG%%-windmc
-bin/%%BINUTILS_TARG%%-windres
+mingw32/bin/ar
+mingw32/bin/as
+mingw32/bin/dlltool
+mingw32/bin/ld
+mingw32/bin/ld.bfd
+mingw32/bin/nm
+mingw32/bin/objcopy
+mingw32/bin/objdump
+mingw32/bin/ranlib
+mingw32/bin/strip
+mingw32/bin/size
+mingw32/lib/ldscripts/i386pe.x
+mingw32/lib/ldscripts/i386pe.xa
+mingw32/lib/ldscripts/i386pe.xbn
+mingw32/lib/ldscripts/i386pe.xn
+mingw32/lib/ldscripts/i386pe.xr
+mingw32/lib/ldscripts/i386pe.xu
+bin/mingw32-addr2line
+bin/mingw32-ar
+bin/mingw32-as
+bin/mingw32-c++filt
+bin/mingw32-dlltool
+bin/mingw32-dllwrap
+bin/mingw32-elfedit
+bin/mingw32-gprof
+bin/mingw32-ld
+bin/mingw32-ld.bfd
+bin/mingw32-nm
+bin/mingw32-objcopy
+bin/mingw32-objdump
+bin/mingw32-ranlib
+bin/mingw32-readelf
+bin/mingw32-strip
+bin/mingw32-size
+bin/mingw32-strings
+bin/mingw32-windmc
+bin/mingw32-windres



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