blob: 58ce4f7b9b9382d1e66e10430761d5bf905cba72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.42 2014/08/23 03:14:36 obache Exp $
DISTNAME= flex-2.5.39
PKGREVISION= 1
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"
|