File:  [cvs.NetBSD.org] / pkgsrc / textproc / link-grammar / Makefile.common
Revision 1.2: download - view: text, annotated - select for diffs
Mon Dec 11 16:32:19 2023 UTC (14 months ago) by jperkin
Branches: MAIN
CVS tags: HEAD
link-grammar: SunOS build fixes.

# $NetBSD: Makefile.common,v 1.2 2023/12/11 16:32:19 jperkin Exp $
#
# used by textproc/link-grammar/Makefile
# used by textproc/py-link-grammar/Makefile

DISTNAME=	link-grammar-5.12.3
MASTER_SITES=	https://www.abisource.com/downloads/link-grammar/${PKGVERSION_NOREV}/

HOMEPAGE=	https://www.abisource.com/projects/link-grammar/
LICENSE=	modified-bsd AND gnu-lgpl-v2.1

DISTINFO_FILE=	${.CURDIR}/../link-grammar/distinfo
FILESDIR=	${.CURDIR}/../link-grammar/files
PATCHDIR=	${.CURDIR}/../link-grammar/patches

USE_LANGUAGES=	c99 c++
USE_LIBTOOL=	yes
USE_TOOLS+=	gmake pkg-config
GNU_CONFIGURE=	yes

CONFIGURE_ARGS+=	--disable-java-bindings

# Not all currently supported compilers provide this option.
# The configure script purports to check whether the compiler
# supports it, but doesn't do so correctly.
BUILDLINK_TRANSFORM+=	rm:-Wformat-signedness

CPPFLAGS.SunOS+=	-D__EXTENSIONS__

.include "../../devel/pcre2/buildlink3.mk"

CVSweb <webmaster@jp.NetBSD.org>