Lines 1-25
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= newlib |
3 |
PORTNAME= newlib |
4 |
PORTVERSION= 2.4.0 |
4 |
PORTVERSION= 2.4.0 |
5 |
CATEGORIES= devel |
5 |
CATEGORIES= devel |
6 |
MASTER_SITES= ftp://sources.redhat.com/pub/${PORTNAME}/ \ |
6 |
MASTER_SITES= ftp://sources.redhat.com/pub/${PORTNAME}/ \ |
7 |
SOURCEWARE/${PORTNAME} |
7 |
SOURCEWARE/${PORTNAME} |
8 |
PKGNAMEPREFIX= ${NEWLIB_TARGET}- |
8 |
PKGNAMEPREFIX= ${NEWLIB_TARGET}- |
9 |
|
9 |
|
10 |
MAINTAINER= bsdports@kyle-evans.net |
10 |
MAINTAINER= bsdports@kyle-evans.net |
11 |
COMMENT= Newlib distribution for ${NEWLIB_TARGET} targets |
11 |
COMMENT= Newlib distribution for ${NEWLIB_TARGET} targets |
12 |
|
12 |
|
13 |
BUILD_DEPENDS+= ${NEWLIB_TARGET}-ar:devel/${NEWLIB_TARGET}-binutils \ |
13 |
BUILD_DEPENDS+= ${NEWLIB_TARGET}-ar:devel/${NEWLIB_TARGET}-binutils \ |
14 |
${NEWLIB_TARGET}-as:devel/${NEWLIB_TARGET}-binutils \ |
14 |
${NEWLIB_TARGET}-as:devel/${NEWLIB_TARGET}-binutils \ |
15 |
${NEWLIB_TARGET}-ld:devel/${NEWLIB_TARGET}-binutils \ |
15 |
${NEWLIB_TARGET}-ld:devel/${NEWLIB_TARGET}-binutils \ |
16 |
${LOCALBASE}/bin/${NEWLIB_TARGET}-gcc:devel/${NEWLIB_TARGET}-gcc |
16 |
${LOCALBASE}/bin/${NEWLIB_TARGET}-gcc:devel/${NEWLIB_TARGET}-gcc |
17 |
|
17 |
|
18 |
NEWLIB_TARGET= arm-none-eabi |
18 |
NEWLIB_TARGET?= arm-none-eabi |
19 |
|
19 |
|
20 |
USES= gmake makeinfo |
20 |
USES= gmake makeinfo |
21 |
HAS_CONFIGURE= yes |
21 |
HAS_CONFIGURE= yes |
22 |
CONFIGURE_ARGS= --prefix=${PREFIX} --target="${NEWLIB_TARGET}" --disable-newlib-supplied-syscalls |
22 |
CONFIGURE_ARGS+= --prefix=${PREFIX} --target="${NEWLIB_TARGET}" --disable-newlib-supplied-syscalls |
23 |
|
23 |
|
24 |
# Disable installation of .info files and fix includedir reference. |
24 |
# Disable installation of .info files and fix includedir reference. |
25 |
post-patch: |
25 |
post-patch: |