naddy e69cb49521 Define variables with C linkage to match earlier declarations.
This fixes clang6 errors that "declaration in global scope conflicts
with declaration with C language linkage".  None of these show up
on x86, but some do on aarch64 due to different #ifdef paths.
ok pirofti@
2018-04-28 10:16:25 +00:00

32 lines
653 B
Makefile

# $OpenBSD: Makefile,v 1.25 2018/04/28 10:16:25 naddy Exp $
NOT_FOR_ARCHS = arm mips64 mips64el sparc64 hppa
COMMENT = library for efficient computations
DISTNAME = cln-1.3.4
REVISION = 2
SHARED_LIBS += cln 3.0 # .6.4
CATEGORIES = devel
HOMEPAGE = http://www.ginac.de/CLN/
MAINTAINER = Paul Irofti <pirofti@openbsd.org>
# GPL v2
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = ${HOMEPAGE}
EXTRACT_SUFX = .tar.bz2
WANTLIB += m ${COMPILER_LIBCXX} gmp
LIB_DEPENDS = devel/gmp
USE_GMAKE = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>