git: 144966854201 - main - math/intervaltree: fix build on powerpc

Piotr Kubaj pkubaj at FreeBSD.org
Wed Jun 16 09:00:38 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=144966854201eb305efd03adfdf2735194d786f8

commit 144966854201eb305efd03adfdf2735194d786f8
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-16 09:00:22 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-06-16 09:00:22 +0000

    math/intervaltree: fix build on powerpc
    
    Same issue as on i386.
---
 math/intervaltree/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/intervaltree/Makefile b/math/intervaltree/Makefile
index 79b205bb1924..7bed7fb2dfc7 100644
--- a/math/intervaltree/Makefile
+++ b/math/intervaltree/Makefile
@@ -18,7 +18,7 @@ PLIST_FILES=	bin/interval_tree_test include/${PORTNAME}/IntervalTree.h
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == i386
+.if ${ARCH} == i386 || ${ARCH} == powerpc
 post-patch:
 	${REINPLACE_CMD} -e 's|<bool, unsigned long>|<bool, unsigned int>|g' \
 		${WRKSRC}/interval_tree_test.cpp


More information about the dev-commits-ports-main mailing list