pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/cross



Module Name:    pkgsrc
Committed By:   js
Date:           Tue Apr 14 20:53:21 UTC 2020

Modified Files:
        pkgsrc/cross: Makefile
Added Files:
        pkgsrc/cross/ppc-morphos-binutils: DESCR Makefile PLIST distinfo

Log Message:
Import cross/ppc-morphos-binutils from wip

GNU Binutils targeting MorphOS, with the patches from the official SDK.


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 pkgsrc/cross/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/cross/ppc-morphos-binutils/DESCR \
    pkgsrc/cross/ppc-morphos-binutils/Makefile \
    pkgsrc/cross/ppc-morphos-binutils/PLIST \
    pkgsrc/cross/ppc-morphos-binutils/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/cross/Makefile
diff -u pkgsrc/cross/Makefile:1.95 pkgsrc/cross/Makefile:1.96
--- pkgsrc/cross/Makefile:1.95  Mon Mar 30 16:29:53 2020
+++ pkgsrc/cross/Makefile       Tue Apr 14 20:53:20 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.95 2020/03/30 16:29:53 riastradh Exp $
+# $NetBSD: Makefile,v 1.96 2020/04/14 20:53:20 js Exp $
 #
 
 COMMENT=       Cross-platform development utilities
@@ -67,6 +67,7 @@ SUBDIR+=      pdp11-aout-binutils
 SUBDIR+=       pdp11-aout-gcc
 SUBDIR+=       powerpc-none-elf-binutils
 SUBDIR+=       powerpc-none-elf-gcc
+SUBDIR+=       ppc-morphos-binutils
 SUBDIR+=       stlink
 SUBDIR+=       uisp
 SUBDIR+=       xtensa-esp32-elf-binutils

Added files:

Index: pkgsrc/cross/ppc-morphos-binutils/DESCR
diff -u /dev/null pkgsrc/cross/ppc-morphos-binutils/DESCR:1.1
--- /dev/null   Tue Apr 14 20:53:21 2020
+++ pkgsrc/cross/ppc-morphos-binutils/DESCR     Tue Apr 14 20:53:21 2020
@@ -0,0 +1 @@
+GNU Binutils targeting MorphOS
Index: pkgsrc/cross/ppc-morphos-binutils/Makefile
diff -u /dev/null pkgsrc/cross/ppc-morphos-binutils/Makefile:1.1
--- /dev/null   Tue Apr 14 20:53:21 2020
+++ pkgsrc/cross/ppc-morphos-binutils/Makefile  Tue Apr 14 20:53:21 2020
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1 2020/04/14 20:53:21 js Exp $
+
+DISTNAME=      sdk-source-20191111
+PKGNAME=       ppc-morphos-binutils-2.33.1
+CATEGORIES=    cross
+MASTER_SITES=  https://morphos-team.net/files/src/sdk/
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    js%pkgsrc.org@localhost
+HOMEPAGE=      https://www.morphos-team.net/
+COMMENT=       Binutils for ppc-morphos
+LICENSE=       gnu-gpl-v3
+
+WRKSRC=                        ${WRKDIR}/sdk-source/binutils/binutils-${PKGVERSION_NOREV}
+GNU_CONFIGURE=         yes
+USE_LANGUAGES=         c c++
+USE_TOOLS+=            xzcat gtar patch gmake makeinfo
+
+OBJDIR=                        ../build
+CONFIGURE_DIRS=                ${OBJDIR}
+CONFIGURE_SCRIPT=      ${WRKSRC}/configure
+GNU_CONFIGURE_PREFIX=  ${PREFIX}/gg
+CONFIGURE_ARGS+=       --target=ppc-morphos
+CONFIGURE_ARGS+=       --enable-plugins=no
+CONFIGURE_ARGS+=       --disable-initfini-array
+CONFIGURE_ARGS+=       --disable-nls
+CONFIGURE_ARGS+=       CFLAGS="${CFLAGS} -DMORPHOS_TARGET"
+
+post-extract:
+       ${RUN} cd ${WRKDIR}/sdk-source/binutils && \
+               ${XZCAT} binutils-${PKGVERSION_NOREV}.tar.xz | ${GTAR} xf -
+
+do-patch:
+       ${RUN} cd ${WRKDIR}/sdk-source/binutils && \
+               ${PATCH} -p0 <binutils-${PKGVERSION_NOREV}-morphos.diff
+
+pre-configure:
+       ${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
+
+post-install:
+       ${RUN} rm -f ${DESTDIR}${PREFIX}/gg/share/info/dir
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/cross/ppc-morphos-binutils/PLIST
diff -u /dev/null pkgsrc/cross/ppc-morphos-binutils/PLIST:1.1
--- /dev/null   Tue Apr 14 20:53:21 2020
+++ pkgsrc/cross/ppc-morphos-binutils/PLIST     Tue Apr 14 20:53:21 2020
@@ -0,0 +1,62 @@
+@comment $NetBSD: PLIST,v 1.1 2020/04/14 20:53:21 js Exp $
+gg/bin/ppc-morphos-addr2line
+gg/bin/ppc-morphos-ar
+gg/bin/ppc-morphos-as
+gg/bin/ppc-morphos-c++filt
+gg/bin/ppc-morphos-elfedit
+gg/bin/ppc-morphos-gprof
+gg/bin/ppc-morphos-ld
+gg/bin/ppc-morphos-ld.bfd
+gg/bin/ppc-morphos-nm
+gg/bin/ppc-morphos-objcopy
+gg/bin/ppc-morphos-objdump
+gg/bin/ppc-morphos-ranlib
+gg/bin/ppc-morphos-readelf
+gg/bin/ppc-morphos-size
+gg/bin/ppc-morphos-strings
+gg/bin/ppc-morphos-strip
+gg/man/man1/ppc-morphos-addr2line.1
+gg/man/man1/ppc-morphos-ar.1
+gg/man/man1/ppc-morphos-as.1
+gg/man/man1/ppc-morphos-c++filt.1
+gg/man/man1/ppc-morphos-dlltool.1
+gg/man/man1/ppc-morphos-elfedit.1
+gg/man/man1/ppc-morphos-gprof.1
+gg/man/man1/ppc-morphos-ld.1
+gg/man/man1/ppc-morphos-nm.1
+gg/man/man1/ppc-morphos-objcopy.1
+gg/man/man1/ppc-morphos-objdump.1
+gg/man/man1/ppc-morphos-ranlib.1
+gg/man/man1/ppc-morphos-readelf.1
+gg/man/man1/ppc-morphos-size.1
+gg/man/man1/ppc-morphos-strings.1
+gg/man/man1/ppc-morphos-strip.1
+gg/man/man1/ppc-morphos-windmc.1
+gg/man/man1/ppc-morphos-windres.1
+gg/ppc-morphos/bin/ar
+gg/ppc-morphos/bin/as
+gg/ppc-morphos/bin/ld
+gg/ppc-morphos/bin/ld.bfd
+gg/ppc-morphos/bin/nm
+gg/ppc-morphos/bin/objcopy
+gg/ppc-morphos/bin/objdump
+gg/ppc-morphos/bin/ranlib
+gg/ppc-morphos/bin/readelf
+gg/ppc-morphos/bin/strip
+gg/ppc-morphos/lib/ldscripts/morphos.x
+gg/ppc-morphos/lib/ldscripts/morphos.xbn
+gg/ppc-morphos/lib/ldscripts/morphos.xe
+gg/ppc-morphos/lib/ldscripts/morphos.xn
+gg/ppc-morphos/lib/ldscripts/morphos.xr
+gg/ppc-morphos/lib/ldscripts/morphos.xu
+gg/ppc-morphos/lib/ldscripts/morphos_baserel.x
+gg/ppc-morphos/lib/ldscripts/morphos_baserel.xbn
+gg/ppc-morphos/lib/ldscripts/morphos_baserel.xe
+gg/ppc-morphos/lib/ldscripts/morphos_baserel.xn
+gg/ppc-morphos/lib/ldscripts/morphos_baserel.xr
+gg/ppc-morphos/lib/ldscripts/morphos_baserel.xu
+gg/share/info/as.info
+gg/share/info/bfd.info
+gg/share/info/binutils.info
+gg/share/info/gprof.info
+gg/share/info/ld.info
Index: pkgsrc/cross/ppc-morphos-binutils/distinfo
diff -u /dev/null pkgsrc/cross/ppc-morphos-binutils/distinfo:1.1
--- /dev/null   Tue Apr 14 20:53:21 2020
+++ pkgsrc/cross/ppc-morphos-binutils/distinfo  Tue Apr 14 20:53:21 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/04/14 20:53:21 js Exp $
+
+SHA1 (sdk-source-20191111.tar.xz) = 73188877bc83ddf7382f2dcef70c5bc9c631aec6
+RMD160 (sdk-source-20191111.tar.xz) = b8c01cc4e6caa897672f44426bc3e575abaeddc8
+SHA512 (sdk-source-20191111.tar.xz) = d201e1a6425d847ec5567939225db402524436398d7961180d2295e69ef8003edaf311df49e89ef0fbefe3a0f6f74935a6d132e58b496e3be1f6136a91aa6634
+Size (sdk-source-20191111.tar.xz) = 503342768 bytes



Home | Main Index | Thread Index | Old Index