aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2016-10-17 06:01:22 +0800
committerbsam <bsam@FreeBSD.org>2016-10-17 06:01:22 +0800
commitcc9fbff3e4908000d260040b3da9014f552d542b (patch)
treef52a8deafe00f5763d44d5bee1df2d5dbd6f6290
parent19020d26fe428549048694f8bb4b9fa4bfe17811 (diff)
downloadfreebsd-ports-gnome-cc9fbff3e4908000d260040b3da9014f552d542b.tar.gz
freebsd-ports-gnome-cc9fbff3e4908000d260040b3da9014f552d542b.tar.zst
freebsd-ports-gnome-cc9fbff3e4908000d260040b3da9014f552d542b.zip
Newlib is a C library intended for use on embedded systems. It is
a conglomeration of several library parts, all under free software licenses, that make them easily usable on embedded products. WWW: https://www.sourceware.org/newlib/ PR: 213466 Submitted by: bsdports@kyle-evans.net
-rw-r--r--devel/Makefile1
-rw-r--r--devel/arm-none-eabi-newlib/Makefile28
-rw-r--r--devel/arm-none-eabi-newlib/distinfo3
-rw-r--r--devel/arm-none-eabi-newlib/pkg-descr5
-rw-r--r--devel/arm-none-eabi-newlib/pkg-plist139
5 files changed, 176 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 9d98675c25ad..9549d1864461 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -111,6 +111,7 @@
SUBDIR += arm-none-eabi-gcc
SUBDIR += arm-none-eabi-gcc492
SUBDIR += arm-none-eabi-gdb
+ SUBDIR += arm-none-eabi-newlib
SUBDIR += aros-sdk
SUBDIR += art
SUBDIR += artifactory
diff --git a/devel/arm-none-eabi-newlib/Makefile b/devel/arm-none-eabi-newlib/Makefile
new file mode 100644
index 000000000000..c5ac42953481
--- /dev/null
+++ b/devel/arm-none-eabi-newlib/Makefile
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= newlib
+PORTVERSION= 2.4.0
+CATEGORIES= devel
+MASTER_SITES= ftp://sources.redhat.com/pub/${PORTNAME}/ \
+ SOURCEWARE/${PORTNAME}
+PKGNAMEPREFIX= ${NEWLIB_TARGET}-
+
+MAINTAINER= bsdports@kyle-evans.net
+COMMENT= Newlib distribution for ${NEWLIB_TARGET} targets
+
+BUILD_DEPENDS+= ${NEWLIB_TARGET}-ar:devel/${NEWLIB_TARGET}-binutils \
+ ${NEWLIB_TARGET}-as:devel/${NEWLIB_TARGET}-binutils \
+ ${NEWLIB_TARGET}-ld:devel/${NEWLIB_TARGET}-binutils \
+ ${LOCALBASE}/bin/${NEWLIB_TARGET}-gcc:devel/${NEWLIB_TARGET}-gcc
+
+NEWLIB_TARGET= arm-none-eabi
+
+USES= gmake makeinfo
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix=${PREFIX} --target="${NEWLIB_TARGET}" --disable-newlib-supplied-syscalls
+
+# Disable installation of .info files and fix includedir reference.
+post-patch:
+ @${REINPLACE_CMD} -E 's/^(install.*:.*)install-info(.*)/\1\2/' ${WRKSRC}/etc/Makefile.in
+
+.include <bsd.port.mk>
diff --git a/devel/arm-none-eabi-newlib/distinfo b/devel/arm-none-eabi-newlib/distinfo
new file mode 100644
index 000000000000..166e8994881a
--- /dev/null
+++ b/devel/arm-none-eabi-newlib/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1476391779
+SHA256 (newlib-2.4.0.tar.gz) = 545b3d235e350d2c61491df8b9f775b1b972f191380db8f52ec0b1c829c52706
+SIZE (newlib-2.4.0.tar.gz) = 17574364
diff --git a/devel/arm-none-eabi-newlib/pkg-descr b/devel/arm-none-eabi-newlib/pkg-descr
new file mode 100644
index 000000000000..7cfdde384330
--- /dev/null
+++ b/devel/arm-none-eabi-newlib/pkg-descr
@@ -0,0 +1,5 @@
+Newlib is a C library intended for use on embedded systems. It is
+a conglomeration of several library parts, all under free software
+licenses, that make them easily usable on embedded products.
+
+WWW: https://www.sourceware.org/newlib/
diff --git a/devel/arm-none-eabi-newlib/pkg-plist b/devel/arm-none-eabi-newlib/pkg-plist
new file mode 100644
index 000000000000..b475212085ef
--- /dev/null
+++ b/devel/arm-none-eabi-newlib/pkg-plist
@@ -0,0 +1,139 @@
+arm-none-eabi/include/_ansi.h
+arm-none-eabi/include/_newlib_version.h
+arm-none-eabi/include/_syslist.h
+arm-none-eabi/include/alloca.h
+arm-none-eabi/include/ar.h
+arm-none-eabi/include/argz.h
+arm-none-eabi/include/assert.h
+arm-none-eabi/include/complex.h
+arm-none-eabi/include/ctype.h
+arm-none-eabi/include/dirent.h
+arm-none-eabi/include/envlock.h
+arm-none-eabi/include/envz.h
+arm-none-eabi/include/errno.h
+arm-none-eabi/include/fastmath.h
+arm-none-eabi/include/fcntl.h
+arm-none-eabi/include/fnmatch.h
+arm-none-eabi/include/getopt.h
+arm-none-eabi/include/glob.h
+arm-none-eabi/include/grp.h
+arm-none-eabi/include/iconv.h
+arm-none-eabi/include/ieeefp.h
+arm-none-eabi/include/inttypes.h
+arm-none-eabi/include/langinfo.h
+arm-none-eabi/include/libgen.h
+arm-none-eabi/include/limits.h
+arm-none-eabi/include/locale.h
+arm-none-eabi/include/machine/_arc4random.h
+arm-none-eabi/include/machine/_default_types.h
+arm-none-eabi/include/machine/_types.h
+arm-none-eabi/include/machine/ansi.h
+arm-none-eabi/include/machine/endian.h
+arm-none-eabi/include/machine/fastmath.h
+arm-none-eabi/include/machine/ieeefp.h
+arm-none-eabi/include/machine/malloc.h
+arm-none-eabi/include/machine/param.h
+arm-none-eabi/include/machine/setjmp-dj.h
+arm-none-eabi/include/machine/setjmp.h
+arm-none-eabi/include/machine/stdlib.h
+arm-none-eabi/include/machine/termios.h
+arm-none-eabi/include/machine/time.h
+arm-none-eabi/include/machine/types.h
+arm-none-eabi/include/malloc.h
+arm-none-eabi/include/math.h
+arm-none-eabi/include/newlib.h
+arm-none-eabi/include/paths.h
+arm-none-eabi/include/pthread.h
+arm-none-eabi/include/pwd.h
+arm-none-eabi/include/reent.h
+arm-none-eabi/include/regdef.h
+arm-none-eabi/include/regex.h
+arm-none-eabi/include/sched.h
+arm-none-eabi/include/search.h
+arm-none-eabi/include/setjmp.h
+arm-none-eabi/include/signal.h
+arm-none-eabi/include/spawn.h
+arm-none-eabi/include/stdatomic.h
+arm-none-eabi/include/stdint.h
+arm-none-eabi/include/stdio.h
+arm-none-eabi/include/stdio_ext.h
+arm-none-eabi/include/stdlib.h
+arm-none-eabi/include/string.h
+arm-none-eabi/include/strings.h
+arm-none-eabi/include/sys/_default_fcntl.h
+arm-none-eabi/include/sys/_intsup.h
+arm-none-eabi/include/sys/_sigset.h
+arm-none-eabi/include/sys/_stdint.h
+arm-none-eabi/include/sys/_timespec.h
+arm-none-eabi/include/sys/_timeval.h
+arm-none-eabi/include/sys/_types.h
+arm-none-eabi/include/sys/cdefs.h
+arm-none-eabi/include/sys/config.h
+arm-none-eabi/include/sys/custom_file.h
+arm-none-eabi/include/sys/dir.h
+arm-none-eabi/include/sys/dirent.h
+arm-none-eabi/include/sys/errno.h
+arm-none-eabi/include/sys/fcntl.h
+arm-none-eabi/include/sys/features.h
+arm-none-eabi/include/sys/file.h
+arm-none-eabi/include/sys/iconvnls.h
+arm-none-eabi/include/sys/lock.h
+arm-none-eabi/include/sys/param.h
+arm-none-eabi/include/sys/queue.h
+arm-none-eabi/include/sys/reent.h
+arm-none-eabi/include/sys/resource.h
+arm-none-eabi/include/sys/sched.h
+arm-none-eabi/include/sys/select.h
+arm-none-eabi/include/sys/signal.h
+arm-none-eabi/include/sys/stat.h
+arm-none-eabi/include/sys/stdio.h
+arm-none-eabi/include/sys/string.h
+arm-none-eabi/include/sys/syslimits.h
+arm-none-eabi/include/sys/time.h
+arm-none-eabi/include/sys/timeb.h
+arm-none-eabi/include/sys/times.h
+arm-none-eabi/include/sys/timespec.h
+arm-none-eabi/include/sys/tree.h
+arm-none-eabi/include/sys/types.h
+arm-none-eabi/include/sys/unistd.h
+arm-none-eabi/include/sys/utime.h
+arm-none-eabi/include/sys/wait.h
+arm-none-eabi/include/tar.h
+arm-none-eabi/include/termios.h
+arm-none-eabi/include/tgmath.h
+arm-none-eabi/include/threads.h
+arm-none-eabi/include/time.h
+arm-none-eabi/include/unctrl.h
+arm-none-eabi/include/unistd.h
+arm-none-eabi/include/utime.h
+arm-none-eabi/include/utmp.h
+arm-none-eabi/include/wchar.h
+arm-none-eabi/include/wctype.h
+arm-none-eabi/include/wordexp.h
+arm-none-eabi/lib/aprofile-validation.specs
+arm-none-eabi/lib/aprofile-ve.specs
+arm-none-eabi/lib/cpu-init/rdimon-aem.o
+arm-none-eabi/lib/crt0.o
+arm-none-eabi/lib/iq80310.specs
+arm-none-eabi/lib/libc.a
+arm-none-eabi/lib/libg.a
+arm-none-eabi/lib/libgloss-linux.a
+arm-none-eabi/lib/libm.a
+arm-none-eabi/lib/libnosys.a
+arm-none-eabi/lib/librdimon.a
+arm-none-eabi/lib/librdpmon.a
+arm-none-eabi/lib/linux-crt0.o
+arm-none-eabi/lib/linux.specs
+arm-none-eabi/lib/nano.specs
+arm-none-eabi/lib/nosys.specs
+arm-none-eabi/lib/pid.specs
+arm-none-eabi/lib/rdimon-crt0.o
+arm-none-eabi/lib/rdimon.specs
+arm-none-eabi/lib/rdpmon-crt0.o
+arm-none-eabi/lib/rdpmon.specs
+arm-none-eabi/lib/redboot-crt0.o
+arm-none-eabi/lib/redboot-syscalls.o
+arm-none-eabi/lib/redboot.ld
+arm-none-eabi/lib/redboot.specs
+@dir arm-none-eabi/include/bits
+@dir arm-none-eabi/include/rpc