cwen 12f12a643b hfst: don't build on big endian archs
Upstream mentions that hfst binary formats are not endian-neutral, breaking
consumers' build on big endian base-clang archs.

OK bentley@ and kn@
2020-05-25 13:44:43 +00:00

30 lines
547 B
Makefile

# $OpenBSD: Makefile,v 1.4 2020/05/25 13:44:43 cwen Exp $
# see https://github.com/hfst/hfst/issues/328
NOT_FOR_ARCHS = ${BE_ARCHS}
COMMENT = Helsinki finite state transducer
V = 3.15.0
DISTNAME = hfst-$V
SHARED_LIBS += hfst 1.0 # 50.0
CATEGORIES = textproc
HOMEPAGE = https://hfst.github.io/
# LGPLv3+
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} c m
MASTER_SITES = https://github.com/hfst/hfst/releases/download/v$V/
# C++11
COMPILER = base-clang ports-gcc
CONFIGURE_STYLE = gnu
.include <bsd.port.mk>