View | Details | Raw Unified | Return to bug 254542 | Differences between
and this patch

Collapse All | Expand All

(-)mecrisp-stellaris/Makefile (-14 / +18 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	mecrisp-stellaris
3
PORTNAME=	mecrisp-stellaris
4
DISTVERSION=	2.5.6
4
DISTVERSION=	2.5.8
5
CATEGORIES=	lang
5
CATEGORIES=	lang
6
MASTER_SITES=	SF/mecrisp
6
MASTER_SITES=	SF/mecrisp
7
7
Lines 11-41 Link Here
11
LICENSE=	GPLv3+
11
LICENSE=	GPLv3+
12
LICENSE_FILE=	${WRKSRC}/COPYING
12
LICENSE_FILE=	${WRKSRC}/COPYING
13
13
14
ONLY_FOR_ARCHS=	armv7
14
ONLY_FOR_ARCHS=	armv6 armv7
15
ONLY_FOR_ARCHS_REASON=	written in ARM Thumb2 assembly
15
ONLY_FOR_ARCHS_REASON=	written in ARM assembly
16
AFLAGS.armv6=	-march=armv6 --defsym m0core=1
17
MAKE_ENV+=	AFLAGS="${AFLAGS.${ARCH}}"
16
18
17
OPTIONS_DEFINE=		EXTRAS
19
BUILD_DEPENDS=	binutils>2.33:devel/binutils
18
OPTIONS_DEFAULT=	EXTRAS
19
EXTRAS_DESC=		Add disassembler and math library to Forth core
20
EXTRAS_VARS_OFF=	PROGRAM=mecrisp-stellaris-freebsd
21
EXTRAS_VARS=		PROGRAM=mecrisp-stellaris-freebsd-with-disassembler-and-math
22
20
23
# definitions assuming we build on ARM
24
BINARY_ALIAS=	arm-none-eabi-as=${AS} \
25
		arm-none-eabi-ld=${LD} \
26
		arm-none-eabi-objcopy=${OBJCOPY}
27
# stripping eats our hand-crafted ELF binaries, so don't do that
21
# stripping eats our hand-crafted ELF binaries, so don't do that
28
# the binaries are free of symbols or stuff like that anyway
22
# the binaries are free of symbols or stuff like that anyway
29
STRIP=
23
STRIP=
24
# definitions assuming we build on ARM
25
BINARY_ALIAS=	arm-none-eabi-as=${LOCALBASE}/bin/${AS} \
26
		arm-none-eabi-ld=${LOCALBASE}/bin/${LD} \
27
		arm-none-eabi-objcopy=${LOCALBASE}/bin/${OBJCOPY}
30
28
29
OPTIONS_DEFINE=		EXTRAS
30
OPTIONS_DEFAULT=	EXTRAS
31
EXTRAS_DESC=		Add disassembler and math library to Forth core
32
EXTRAS_VARS=		PROGRAM=mecrisp-stellaris-freebsd-with-disassembler-and-math
33
EXTRAS_VARS_OFF=	PROGRAM=mecrisp-stellaris-freebsd
34
31
.include <bsd.port.options.mk>
35
.include <bsd.port.options.mk>
32
36
33
# Can't use the release script as it tries to build a bunch of stuff
37
# Can't use the release script as it tries to build a bunch of stuff
34
# that won't build correctly.  This does the relevant parts manually.
38
# that won't build correctly.  This does the relevant parts manually.
35
do-build:
39
do-build:
36
	cd ${WRKSRC}/mecrisp-stellaris-source/freebsd-ra && ${SETENV} ${MAKE_ENV} ${SH} assemble
40
	cd ${WRKSRC}/mecrisp-stellaris-source/freebsd-ra && ${SETENV} ${MAKE_ENV} ${SH} -v assemble
37
	${CP} ${WRKSRC}/mecrisp-stellaris-source/freebsd-ra/mecrisp-stellaris-freebsd ${WRKSRC}/freebsd-ra/
41
	${CP} ${WRKSRC}/mecrisp-stellaris-source/freebsd-ra/mecrisp-stellaris-freebsd ${WRKSRC}/freebsd-ra/
38
	cd ${WRKSRC}/freebsd-ra && ${SETENV} ${MAKE_ENV} ${SH} buildcore-freebsd
42
	cd ${WRKSRC}/freebsd-ra && ${SETENV} ${MAKE_ENV} ${SH} -v buildcore-freebsd
39
43
40
do-install:
44
do-install:
41
	${MKDIR} ${STAGEDIR}${DOCSDIR}
45
	${MKDIR} ${STAGEDIR}${DOCSDIR}
(-)mecrisp-stellaris/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1614603481
1
TIMESTAMP = 1616415161
2
SHA256 (mecrisp-stellaris-2.5.6.tar.gz) = 59459eb6d9b3a6bb02d6c9c09e48bafb6ba633938ff419c0bdc447315cae6e86
2
SHA256 (mecrisp-stellaris-2.5.8.tar.gz) = 52d82dc938b4b4b15bba6e77d20112525789e23ac982e464f9ae9274d404784e
3
SIZE (mecrisp-stellaris-2.5.6.tar.gz) = 5628263
3
SIZE (mecrisp-stellaris-2.5.8.tar.gz) = 5809418

Return to bug 254542