lang/harec: fix build and enable tests
This commit is contained in:
parent
50daf3d288
commit
b8c8502f6b
@ -1,8 +1,8 @@
|
||||
PORTNAME= harec
|
||||
PORTVERSION= g20220428
|
||||
PORTVERSION= g20220501
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= https://git.sr.ht/~sircmpwn/${PORTNAME}/archive/
|
||||
DISTNAME= e5fb517
|
||||
DISTNAME= fba0a9b5
|
||||
DIST_SUBDIR= hare
|
||||
|
||||
MAINTAINER= se@FreeBSD.org
|
||||
@ -13,8 +13,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
ONLY_FOR_ARCHS= amd64 # aarch64 riscv64
|
||||
|
||||
BUILD_DEPENDS= qbe:devel/qbe
|
||||
RUN_DEPENDS= qbe:devel/qbe
|
||||
BUILD_DEPENDS= qbe:devel/qbe \
|
||||
as:devel/binutils
|
||||
RUN_DEPENDS= qbe:devel/qbe \
|
||||
as:devel/binutils
|
||||
|
||||
USES= compiler:c11
|
||||
|
||||
@ -31,7 +33,7 @@ do-install:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
#do-test:
|
||||
# cd ${WRKSRC}/build && make check
|
||||
do-test:
|
||||
cd ${WRKSRC}/build && make check
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1651310936
|
||||
SHA256 (hare/e5fb517.tar.gz) = 12694873b5c356b7962fba3a838167141a60dd8db713e715cf6f1eb25aa12944
|
||||
SIZE (hare/e5fb517.tar.gz) = 155242
|
||||
TIMESTAMP = 1651435405
|
||||
SHA256 (hare/fba0a9b5.tar.gz) = 64cd349c389936366ce2914c005b301a931c809f720dde33f9ac302cf30db61f
|
||||
SIZE (hare/fba0a9b5.tar.gz) = 159375
|
||||
|
9
lang/harec/files/patch-rt_+freebsd_start+x86__64.s
Normal file
9
lang/harec/files/patch-rt_+freebsd_start+x86__64.s
Normal file
@ -0,0 +1,9 @@
|
||||
--- rt/+freebsd/start+x86_64.s.orig 2022-04-28 14:14:40 UTC
|
||||
+++ rt/+freebsd/start+x86_64.s
|
||||
@@ -2,5 +2,6 @@ _start:
|
||||
.global _start
|
||||
_start:
|
||||
xor %rbp, %rbp
|
||||
+ pushq %rbp
|
||||
movq %rsp, %rdi
|
||||
call rt.start_ha
|
Loading…
Reference in New Issue
Block a user