Skip to content

Commit b8c8502

Browse files
committed
lang/harec: fix build and enable tests
1 parent 50daf3d commit b8c8502

File tree

3 files changed

+20
-9
lines changed

3 files changed

+20
-9
lines changed

lang/harec/Makefile

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
PORTNAME= harec
2-
PORTVERSION= g20220428
2+
PORTVERSION= g20220501
33
CATEGORIES= lang
44
MASTER_SITES= https://git.sr.ht/~sircmpwn/${PORTNAME}/archive/
5-
DISTNAME= e5fb517
5+
DISTNAME= fba0a9b5
66
DIST_SUBDIR= hare
77

88
MAINTAINER= se@FreeBSD.org
@@ -13,8 +13,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING
1313

1414
ONLY_FOR_ARCHS= amd64 # aarch64 riscv64
1515

16-
BUILD_DEPENDS= qbe:devel/qbe
17-
RUN_DEPENDS= qbe:devel/qbe
16+
BUILD_DEPENDS= qbe:devel/qbe \
17+
as:devel/binutils
18+
RUN_DEPENDS= qbe:devel/qbe \
19+
as:devel/binutils
1820

1921
USES= compiler:c11
2022

@@ -31,7 +33,7 @@ do-install:
3133
${MKDIR} ${STAGEDIR}${DOCSDIR}
3234
${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${STAGEDIR}${DOCSDIR}
3335

34-
#do-test:
35-
# cd ${WRKSRC}/build && make check
36+
do-test:
37+
cd ${WRKSRC}/build && make check
3638

3739
.include <bsd.port.mk>

lang/harec/distinfo

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
TIMESTAMP = 1651310936
2-
SHA256 (hare/e5fb517.tar.gz) = 12694873b5c356b7962fba3a838167141a60dd8db713e715cf6f1eb25aa12944
3-
SIZE (hare/e5fb517.tar.gz) = 155242
1+
TIMESTAMP = 1651435405
2+
SHA256 (hare/fba0a9b5.tar.gz) = 64cd349c389936366ce2914c005b301a931c809f720dde33f9ac302cf30db61f
3+
SIZE (hare/fba0a9b5.tar.gz) = 159375
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
--- rt/+freebsd/start+x86_64.s.orig 2022-04-28 14:14:40 UTC
2+
+++ rt/+freebsd/start+x86_64.s
3+
@@ -2,5 +2,6 @@ _start:
4+
.global _start
5+
_start:
6+
xor %rbp, %rbp
7+
+ pushq %rbp
8+
movq %rsp, %rdi
9+
call rt.start_ha

0 commit comments

Comments
 (0)