1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/math/intervaltree/Makefile
Piotr Kubaj 1449668542 math/intervaltree: fix build on powerpc
Same issue as on i386.
2021-06-16 09:00:22 +00:00

28 lines
608 B
Makefile

PORTNAME= intervaltree
DISTVERSION= g20151213
PORTREVISION= 2
CATEGORIES= math
MAINTAINER= jwb@FreeBSD.org
COMMENT= Minimal C++ interval tree implementation
LICENSE= MIT
USES= compiler:c++0x
USE_GITHUB= yes
GH_ACCOUNT= ekg
GH_TAGNAME= 8fc4be91866237995e1105689d84bece619f4663
INSTALL_TARGET= install-strip
PLIST_FILES= bin/interval_tree_test include/${PORTNAME}/IntervalTree.h
.include <bsd.port.pre.mk>
.if ${ARCH} == i386 || ${ARCH} == powerpc
post-patch:
${REINPLACE_CMD} -e 's|<bool, unsigned long>|<bool, unsigned int>|g' \
${WRKSRC}/interval_tree_test.cpp
.endif
.include <bsd.port.post.mk>