math/dieharder: Fix build by passing -fcommon

This port is up-to-date and has more than 50 common symbols defined
in more than half a dozen headers. Take the easy route and follow
FreeBSD by adding -fcommon to CFLAGS and let upstream fix this.

ok kn
This commit is contained in:
tb 2021-02-02 19:27:50 +00:00
parent b6a50b8a9b
commit f0db259991

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.4 2019/07/12 20:47:40 sthen Exp $
# $OpenBSD: Makefile,v 1.5 2021/02/02 19:27:50 tb Exp $
COMMENT = random number generator (rng) testing suite
DISTNAME = dieharder-3.31.1
REVISION = 1
REVISION = 2
SHARED_LIBS += dieharder 0.0 # 0.0
CATEGORIES = math
@ -22,6 +22,9 @@ CONFIGURE_STYLE = gnu
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
# More than 50 common symbols defined in more than half a dozen headers.
CFLAGS += -fcommon
BUILD_DEPENDS = textproc/latex2html
LIB_DEPENDS = devel/gsl