pkgsrc-WIP-changes archive

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

(SUPER EXPERIMENTAL WIP) "build.sh tools"-as-a-package



Module Name:	pkgsrc-wip
Committed By:	Charlotte Koch <cfkoch%edgebsd.org@localhost>
Pushed By:	cfkoch
Date:		Sun Jan 22 16:28:50 2017 -0800
Changeset:	ef420fc0c549e6801325dbe15b976109bd0e742c

Added Files:
	netbsd-build-tools/DESCR
	netbsd-build-tools/Makefile
	netbsd-build-tools/PLIST
	netbsd-build-tools/TODO
	netbsd-build-tools/distinfo
	netbsd-build-tools/files/mk.conf

Log Message:
(SUPER EXPERIMENTAL WIP) "build.sh tools"-as-a-package

Build fails at gcc/intl -- complaints of CWRAPPERS_CONFIG_DIR missing from
the environment.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ef420fc0c549e6801325dbe15b976109bd0e742c

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

diffstat:
 netbsd-build-tools/DESCR         |  0
 netbsd-build-tools/Makefile      | 43 ++++++++++++++++++++++++++++++++++++++++
 netbsd-build-tools/PLIST         |  0
 netbsd-build-tools/TODO          |  1 +
 netbsd-build-tools/distinfo      | 18 +++++++++++++++++
 netbsd-build-tools/files/mk.conf |  1 +
 6 files changed, 63 insertions(+)

diffs:
diff --git a/netbsd-build-tools/DESCR b/netbsd-build-tools/DESCR
new file mode 100644
index 0000000..e69de29
diff --git a/netbsd-build-tools/Makefile b/netbsd-build-tools/Makefile
new file mode 100644
index 0000000..6c8c5da
--- /dev/null
+++ b/netbsd-build-tools/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD$
+
+PKGNAME=	netbsd-build-tools-7.0.2
+MASTER_SITES=	http://cdn.netbsd.org/pub/NetBSD/NetBSD-${PKGVERSION_NOREV}/source/sets/
+EXTRACT_SUFX=	.tgz
+DISTFILES+=	gnusrc${EXTRACT_SUFX}
+DISTFILES+=	sharesrc${EXTRACT_SUFX}
+DISTFILES+=	src${EXTRACT_SUFX}
+DISTFILES+=	syssrc${EXTRACT_SUFX}
+CATEGORIES=	cross
+
+MAINTAINER=	cfkoch%edgebsd.org@localhost
+COMMENT=	NetBSD cross-toolchain
+HOMEPAGE=	http://netbsd.org/
+
+WRKSRC=		${WRKDIR}/usr/src
+NO_CONFIGURE=	yes
+USE_LANGUAGES+=	c c++ fortran
+
+CHECK_PORTABILITY_SKIP+=	crypto/external/cpl/tpm-tools/dist/configure
+CHECK_PORTABILITY_SKIP+=	external/bsd/llvm/dist/llvm/utils/buildit/build_llvm
+CHECK_PORTABILITY_SKIP+=	external/gpl2/lvm2/dist/configure
+CHECK_PORTABILITY_SKIP+=	external/gpl3/gdb/dist/gdb/config/djgpp/djconfig.sh
+
+MAKE_ENV+=	MAKECONF=${FILESDIR}/mk.conf
+
+BUILDSH_OBJDIR=		${WRKSRC}/../obj
+BUILDSH_TOOLDIR=	${WRKSRC}/../tooldir
+
+BUILDSH_FLAGS+=	-U
+BUILDSH_FLAGS+=	-mamd64 # XXX should be an option
+BUILDSH_FLAGS+=	-O${BUILDSH_OBJDIR}
+BUILDSH_FLAGS+=	-T${BUILDSH_TOOLDIR}
+BUILDSH_FLAGS+=	-N1
+
+do-build:
+	cd ${WRKSRC} && ${MAKE_ENV} ./build.sh ${BUILDSH_FLAGS} tools
+
+# XXX blah, I haven't gotten here yet
+#do-install:
+#	${CP} -R ${BUILDSH_TOOLDIR} ${DESTDIR}${PREFIX}/cross/netbsd-${PKGNAME_NOREV}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/netbsd-build-tools/PLIST b/netbsd-build-tools/PLIST
new file mode 100644
index 0000000..e69de29
diff --git a/netbsd-build-tools/TODO b/netbsd-build-tools/TODO
new file mode 100644
index 0000000..2a469d2
--- /dev/null
+++ b/netbsd-build-tools/TODO
@@ -0,0 +1 @@
+- build fails at gcc/intl or something -- not sure what's going on
diff --git a/netbsd-build-tools/distinfo b/netbsd-build-tools/distinfo
new file mode 100644
index 0000000..fe55919
--- /dev/null
+++ b/netbsd-build-tools/distinfo
@@ -0,0 +1,18 @@
+$NetBSD$
+
+SHA1 (gnusrc.tgz) = e5abb53328c6a2e1a485d3d5b568fcde3f8ff5e0
+RMD160 (gnusrc.tgz) = 77cd44c0c24cd92fb9a7497e1e0f8e86bbe4c948
+SHA512 (gnusrc.tgz) = f13315a211740e26455caecdd9550beb69d4ebf192a805b47fe315feaf87d73196b8a2a02a877a2945c882d516d15dcfc581eae2c80fe7ab2d94d4cb615e930e
+Size (gnusrc.tgz) = 135678729 bytes
+SHA1 (sharesrc.tgz) = 9d5e8f458312a2fd997db7b3287b71ebf8290de5
+RMD160 (sharesrc.tgz) = 85b92d827336becd96155c779ce1c81557e7db48
+SHA512 (sharesrc.tgz) = b9cb078388a3b05e2064a957685331b3c6965b5d45004b381999a8f18804b2021a5f0ca14796a9ef338b99572500fe758f82b6ef77f42f8c6451e8d5ab1e3d84
+Size (sharesrc.tgz) = 7398262 bytes
+SHA1 (src.tgz) = de527286c28ee68ec7c72c1ce76dc8568da1dc3d
+RMD160 (src.tgz) = 2adc550cf0a93e5d709b45a5a99642e476a5d45b
+SHA512 (src.tgz) = a2e3be5dc325ce9e8d191611eab3042a2eae1eb4c47a908665a14f6aab1a33b265179b9c1f7afa57e04c2e0c891a468ec136fb798047f18e5d431369db76d84f
+Size (src.tgz) = 145050183 bytes
+SHA1 (syssrc.tgz) = 3fc5639874a1ed5c00ffcff009d74aae0d17dda2
+RMD160 (syssrc.tgz) = b88bdb54c8366a020447b3ba6f635eb29afe1fd4
+SHA512 (syssrc.tgz) = 68fa17f17f657c530f5fc662306106ccd889c8316a9d74cf97e80b6c3cb9b1fa0c6dd4584e95121547af6ed9ccdd85de70fe492452846017c66bfdbb9f21bfdd
+Size (syssrc.tgz) = 50056446 bytes
diff --git a/netbsd-build-tools/files/mk.conf b/netbsd-build-tools/files/mk.conf
new file mode 100644
index 0000000..caca805
--- /dev/null
+++ b/netbsd-build-tools/files/mk.conf
@@ -0,0 +1 @@
+# $NetBSD$


Home | Main Index | Thread Index | Old Index