From owner-svn-ports-all@FreeBSD.ORG Fri Aug 29 11:03:46 2014 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 ESMTPS id 95325F6D; Fri, 29 Aug 2014 11:03:46 +0000 (UTC) Received: from smtpout7.timeweb.ru (smtpout7.timeweb.ru [92.53.117.21]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 465661BBB; Fri, 29 Aug 2014 11:03:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=amdmi3.ru; s=dkim; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=kRWqSbtX/1xLtopzrgtlB7ZNplp/cbsxn/ueuBsX83o=; b=Okspz0SBpj8d1EtoecTgLh4Jt1Sf27OJDT+pzsJrO62b9qEjdaNv76GVaDYcpUI0ybaa4MO/RY+Pbmso1Fwqia+brD2mFxji+lYKLkcUtHfdn4NKF2MV+sGplRaOF1t8GtvndZVkDBtEp+9emy18u8h9h3BKwd7FWWdb25elPAw=; Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1XNJy2-0005A7-BO; Fri, 29 Aug 2014 15:03:42 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id D32ECDEE; Fri, 29 Aug 2014 15:03:41 +0400 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id C7A361C2B3; Fri, 29 Aug 2014 15:03:41 +0400 (MSK) Date: Fri, 29 Aug 2014 15:03:41 +0400 From: Dmitry Marakasov To: Tijl Coosemans Subject: Re: svn commit: r366494 - head/devel/libbfd Message-ID: <20140829110341.GR55025@hades.panopticon> References: <201408291032.s7TAWihO072533@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <201408291032.s7TAWihO072533@svn.freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 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: Fri, 29 Aug 2014 11:03:46 -0000 * Tijl Coosemans (tijl@FreeBSD.org) wrote: > Log: > - Add USES=libtool > - Modify CONFIGURE_TARGET instead of ARCH This is a bit tricky (as everything with static libs): the static lib depends on libz: --- dependency_libs=' -lz' --- so dependencies won't link with it (confirmed on fnccheck and skyeye). I think the solution is to convert it to shared library (configure has needed options) - I've started this but haven't finished for some reason. > Modified: > head/devel/libbfd/Makefile > head/devel/libbfd/pkg-plist > > Modified: head/devel/libbfd/Makefile > ============================================================================== > --- head/devel/libbfd/Makefile Fri Aug 29 10:31:00 2014 (r366493) > +++ head/devel/libbfd/Makefile Fri Aug 29 10:32:44 2014 (r366494) > @@ -3,6 +3,7 @@ > > PORTNAME= libbfd > PORTVERSION= 2.19.1 > +PORTREVISION= 1 > CATEGORIES= devel > MASTER_SITES= ${MASTER_SITE_SOURCEWARE} > MASTER_SITE_SUBDIR= binutils/releases > @@ -17,7 +18,7 @@ CONFLICTS= mingw-binutils-[0-9]* binutil > > WRKSRC= ${WRKDIR}/binutils-${PORTVERSION}/bfd > > -USES= gmake tar:bzip2 > +USES= gmake libtool tar:bzip2 > GNU_CONFIGURE= yes > CONFIGURE_ARGS= --enable-install-libbfd \ > --enable-commonbfdlib \ > @@ -25,12 +26,7 @@ CONFIGURE_ARGS= --enable-install-libbfd > --without-pic \ > --enable-targets=all \ > --disable-werror > +CONFIGURE_TARGET=${ARCH:S/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL} > INFO= bfd > > -.include > - > -.if ${ARCH} == "amd64" > -ARCH= x86_64 > -.endif > - > -.include > +.include > > Modified: head/devel/libbfd/pkg-plist > ============================================================================== > --- head/devel/libbfd/pkg-plist Fri Aug 29 10:31:00 2014 (r366493) > +++ head/devel/libbfd/pkg-plist Fri Aug 29 10:32:44 2014 (r366494) > @@ -3,4 +3,3 @@ include/bfd.h > include/bfdlink.h > include/symcat.h > lib/libbfd.a > -lib/libbfd.la > -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru