9e5632dd66
the libtoolX ports instead of the one included with each port. Ports that set USE_LIBTOOL_VER=X will now use the ports version of libtool instead of the included version. To restore previous behavior, use the new macro, USE_INC_LIBTOOL_VER. Both macros accept the same argument: a libtool version. For example, to use the ports version of libtool-1.5, add the following to your Makefile: USE_LIBTOOL_VER= 15 To use the included version of libtool with extra hacks provided by libtool-1.5, add the following to your Makefile: USE_INC_LIBTOOL_VER= 15 With this change, ports that had to add additional libtool hacks to prevent .la files from being installed or to fix certain threading issues can now delete those hacks (after appropriate testing, of course). PR: 63944 Based on work by:eik and marcus Approved by: ade (autotools maintainer) Tested by: kris on pointyhat Bound to be hidden problems: You bet
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
# New ports collection makefile for: avr-gcc
|
|
# Date created: 30 Nov 2000
|
|
# Whom: Joerg Wunsch <joerg@freebsd.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= binutils
|
|
PORTVERSION= 2.15
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
|
|
MASTER_SITE_SUBDIR= binutils/releases
|
|
PKGNAMEPREFIX= avr-
|
|
|
|
MAINTAINER= joerg@freebsd.org
|
|
COMMENT= GNU binutils for Atmel AVR 8-bit RISC cross-development
|
|
|
|
WRKSRC= ${WRKDIR}/binutils-${PORTVERSION}
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
CONFIGURE_ARGS= --target=avr
|
|
.if (${MACHINE_ARCH} == "amd64")
|
|
MACHINE_ARCH= x86_64
|
|
.endif
|
|
USE_INC_LIBTOOL_VER= 13
|
|
LIBTOOLFILES= configure bfd/configure binutils/configure etc/configure \
|
|
gas/configure gprof/configure intl/configure ld/configure \
|
|
libiberty/configure opcodes/configure
|
|
|
|
MAN1= \
|
|
avr-addr2line.1 \
|
|
avr-ar.1 \
|
|
avr-as.1 \
|
|
avr-c++filt.1 \
|
|
avr-dlltool.1 \
|
|
avr-ld.1 \
|
|
avr-nlmconv.1 \
|
|
avr-nm.1 \
|
|
avr-objcopy.1 \
|
|
avr-objdump.1 \
|
|
avr-ranlib.1 \
|
|
avr-readelf.1 \
|
|
avr-size.1 \
|
|
avr-strings.1 \
|
|
avr-strip.1 \
|
|
avr-windres.1
|
|
INFO= as binutils ld
|
|
|
|
.include <bsd.port.mk>
|