From owner-svn-ports-all@FreeBSD.ORG Tue Oct 8 18:39:42 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A63EA70B; Tue, 8 Oct 2013 18:39:42 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 840652766; Tue, 8 Oct 2013 18:39:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r98Idgdw088087; Tue, 8 Oct 2013 18:39:42 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r98IdgTf088082; Tue, 8 Oct 2013 18:39:42 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201310081839.r98IdgTf088082@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Tue, 8 Oct 2013 18:39:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329820 - head/devel/djgpp-binutils 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.14 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: Tue, 08 Oct 2013 18:39:42 -0000 Author: danilo Date: Tue Oct 8 18:39:41 2013 New Revision: 329820 URL: http://svnweb.freebsd.org/changeset/ports/329820 Log: - Fix build with clang [1] - Convert USE_GMAKE to USES - Drop BINUTILVERSION variable - Add stage support PR: ports/182538 Submitted by: Peter Johnson (maintainer) [1] Approved by: wg/culot (mentors, implicit) Modified: head/devel/djgpp-binutils/Makefile head/devel/djgpp-binutils/pkg-plist Modified: head/devel/djgpp-binutils/Makefile ============================================================================== --- head/devel/djgpp-binutils/Makefile Tue Oct 8 18:34:45 2013 (r329819) +++ head/devel/djgpp-binutils/Makefile Tue Oct 8 18:39:41 2013 (r329820) @@ -2,43 +2,30 @@ # $FreeBSD$ PORTNAME= binutils -PORTVERSION= ${BINUTILVERSION} +PORTVERSION= 2.17 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEWARE} MASTER_SITE_SUBDIR= binutils/releases PKGNAMEPREFIX= djgpp- -DISTNAME= ${PORTNAME}-${BINUTILVERSION} MAINTAINER= johnson.peter@gmail.com COMMENT= FSF binutils for DJGPP cross-development LICENSE= GPLv2 -BINUTILVERSION= 2.17 - TARGET= i586-pc-msdosdjgpp PATCH_WRKSRC= ${SRCDIR} CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure USE_BZIP2= yes -USE_GMAKE= yes +USES= gmake GNU_CONFIGURE= yes -SRCDIR= ${WRKDIR}/binutils-${BINUTILVERSION} +SRCDIR= ${WRKDIR}/binutils-${PORTVERSION} WRKSRC= ${WRKDIR}/build CONFIGURE_ARGS= --target=${TARGET} \ --with-gcc --with-gnu-ld --with-gnu-as \ - --disable-nls --disable-shared -INFO_PATH= ${TARGET}/info - -MAN1= ${TARGET}-addr2line.1 ${TARGET}-ar.1 \ - ${TARGET}-as.1 ${TARGET}-dlltool.1 \ - ${TARGET}-c++filt.1 ${TARGET}-ld.1 \ - ${TARGET}-nlmconv.1 ${TARGET}-nm.1 \ - ${TARGET}-objcopy.1 ${TARGET}-objdump.1 \ - ${TARGET}-ranlib.1 ${TARGET}-readelf.1 \ - ${TARGET}-size.1 ${TARGET}-strings.1 \ - ${TARGET}-strip.1 ${TARGET}-windres.1 + --disable-nls --disable-shared --disable-werror INFO= as bfd binutils ld configure standards INFO_PATH= ${TARGET}/info @@ -46,25 +33,13 @@ INFO_PATH= ${TARGET}/info BINARIES= addr2line ar as c++filt ld nm objcopy objdump ranlib \ readelf size strings strip -NO_STAGE= yes pre-configure: @${MKDIR} ${CONFIGURE_WRKSRC} post-install: .for F in ${BINARIES} - @${LN} -f ${PREFIX}/bin/${TARGET}-$F ${PREFIX}/${TARGET}/bin/$F + @${LN} -f ${STAGEDIR}${PREFIX}/bin/${TARGET}-$F ${STAGEDIR}${PREFIX}/${TARGET}/bin/$F .endfor - -# -# UGLY HACK -# -add-plist-post: - @${ECHO_CMD} "@unexec rmdir -p %D/${TARGET}/info 2> /dev/null || true" >> ${TMPPLIST} - @${ECHO_CMD} "@unexec rmdir -p %D/${TARGET} 2> /dev/null || true" >> ${TMPPLIST} -.if (defined(PREFIX) && ${PREFIX} != ${LOCALBASE} && ${PREFIX} != ${LOCALBASE} && ${PREFIX} != ${LINUXBASE} && ${PREFIX} != "/usr") - @${ECHO_CMD} "@unexec rmdir %D 2> /dev/null || true" >> ${TMPPLIST} -.else - @${DO_NADA} -.endif + @${RM} ${STAGEDIR}${PREFIX}/${TARGET}/info/dir .include Modified: head/devel/djgpp-binutils/pkg-plist ============================================================================== --- head/devel/djgpp-binutils/pkg-plist Tue Oct 8 18:34:45 2013 (r329819) +++ head/devel/djgpp-binutils/pkg-plist Tue Oct 8 18:39:41 2013 (r329820) @@ -1,3 +1,16 @@ +bin/i586-pc-msdosdjgpp-addr2line +bin/i586-pc-msdosdjgpp-ar +bin/i586-pc-msdosdjgpp-as +bin/i586-pc-msdosdjgpp-c++filt +bin/i586-pc-msdosdjgpp-ld +bin/i586-pc-msdosdjgpp-nm +bin/i586-pc-msdosdjgpp-objcopy +bin/i586-pc-msdosdjgpp-objdump +bin/i586-pc-msdosdjgpp-ranlib +bin/i586-pc-msdosdjgpp-readelf +bin/i586-pc-msdosdjgpp-size +bin/i586-pc-msdosdjgpp-strings +bin/i586-pc-msdosdjgpp-strip i586-pc-msdosdjgpp/bin/addr2line i586-pc-msdosdjgpp/bin/ar i586-pc-msdosdjgpp/bin/as @@ -16,21 +29,24 @@ i586-pc-msdosdjgpp/lib/ldscripts/i386go3 i586-pc-msdosdjgpp/lib/ldscripts/i386go32.xn i586-pc-msdosdjgpp/lib/ldscripts/i386go32.xr i586-pc-msdosdjgpp/lib/ldscripts/i386go32.xu -i586-pc-msdosdjgpp/info/dir -bin/i586-pc-msdosdjgpp-addr2line -bin/i586-pc-msdosdjgpp-ar -bin/i586-pc-msdosdjgpp-as -bin/i586-pc-msdosdjgpp-c++filt -bin/i586-pc-msdosdjgpp-ld -bin/i586-pc-msdosdjgpp-nm -bin/i586-pc-msdosdjgpp-objcopy -bin/i586-pc-msdosdjgpp-objdump -bin/i586-pc-msdosdjgpp-ranlib -bin/i586-pc-msdosdjgpp-readelf -bin/i586-pc-msdosdjgpp-size -bin/i586-pc-msdosdjgpp-strings -bin/i586-pc-msdosdjgpp-strip -@dirrm i586-pc-msdosdjgpp/lib/ldscripts +man/man1/i586-pc-msdosdjgpp-addr2line.1.gz +man/man1/i586-pc-msdosdjgpp-ar.1.gz +man/man1/i586-pc-msdosdjgpp-as.1.gz +man/man1/i586-pc-msdosdjgpp-c++filt.1.gz +man/man1/i586-pc-msdosdjgpp-dlltool.1.gz +man/man1/i586-pc-msdosdjgpp-ld.1.gz +man/man1/i586-pc-msdosdjgpp-nlmconv.1.gz +man/man1/i586-pc-msdosdjgpp-nm.1.gz +man/man1/i586-pc-msdosdjgpp-objcopy.1.gz +man/man1/i586-pc-msdosdjgpp-objdump.1.gz +man/man1/i586-pc-msdosdjgpp-ranlib.1.gz +man/man1/i586-pc-msdosdjgpp-readelf.1.gz +man/man1/i586-pc-msdosdjgpp-size.1.gz +man/man1/i586-pc-msdosdjgpp-strings.1.gz +man/man1/i586-pc-msdosdjgpp-strip.1.gz +man/man1/i586-pc-msdosdjgpp-windres.1.gz +@dirrmtry i586-pc-msdosdjgpp/lib/ldscripts @dirrmtry i586-pc-msdosdjgpp/lib +@dirrmtry i586-pc-msdosdjgpp/info @dirrmtry i586-pc-msdosdjgpp/bin @dirrmtry i586-pc-msdosdjgpp