pkgsrc/devel/flex/Makefile
obache 0271c8d47b Prevent libfi to be linked with libintl.
Gettext is just used in flex tool, not in library.

Bump PKGREVISION.
2014-08-23 07:46:38 +00:00

39 lines
865 B
Makefile

# $NetBSD: Makefile,v 1.43 2014/08/23 07:46:38 obache Exp $
DISTNAME= flex-2.5.39
PKGREVISION= 2
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=flex/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://flex.sourceforge.net/
COMMENT= Fast clone of lex(1), the lexical scanner generator
LICENSE= 2-clause-bsd
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gm4:run
GNU_CONFIGURE= yes
INFO_FILES= yes
TEST_TARGET= check
LIBS.SunOS+= -lm
.include "../../mk/bsd.prefs.mk"
.if ${LOWER_OPSYS} == "aix"
CFLAGS+= -D_LINUX_SOURCE_COMPAT
.endif
.if ${OS_VARIANT} == "SCOOSR5"
LDFLAGS.SCO_SV+= -lsocket
.endif
#.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
USE_LANGUAGES= c c++
USE_TOOLS+= gmake # bmake has problems with the test suite
#.endif
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"