svn commit: r366494 - head/devel/libbfd
Dmitry Marakasov
amdmi3 at amdmi3.ru
Fri Aug 29 11:03:46 UTC 2014
* Tijl Coosemans (tijl at 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 <bsd.port.pre.mk>
> -
> -.if ${ARCH} == "amd64"
> -ARCH= x86_64
> -.endif
> -
> -.include <bsd.port.post.mk>
> +.include <bsd.port.mk>
>
> 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 at amdmi3.ru ..: jabber: amdmi3 at jabber.ru http://www.amdmi3.ru
More information about the svn-ports-head
mailing list