blob: 573cc45770b384606042c8c8821c372ab7f01ee3 (
plain) (
blame)
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
40
41
42
43
44
45
46
47
48
|
# $FreeBSD$
PORTNAME= tcc
PORTVERSION= 0.9.25
CATEGORIES= lang
MASTER_SITES= SAVANNAH/tinycc
MAINTAINER= ports@FreeBSD.org
COMMENT= Tiny C Compiler
LICENSE= LGPL21
OPTIONS_DEFINE= DOCS
ONLY_FOR_ARCHS= i386
#ONLY_FOR_ARCHS= i386 amd64 arm alpha mips powerpc
CONFLICTS= TenDRA-*
USE_BZIP2= yes
USE_PERL5_BUILD=yes
USE_GMAKE= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix="${PREFIX}" --cc="${CC}"
MAKE_ARGS= CONFIG_NOLDL=1
MAKE_JOBS_SAFE= yes
MAN1= tcc.1
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MDOCS)
MAKE_ARGS+= NOPORTDOCS=1
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
PLIST_SUB+= I386=""
.else
PLIST_SUB+= I386="@comment "
.endif
.if ${CC:T:M*clang*} || ${OSVERSION} >= 1000024
CFLAGS+= -fheinous-gnu-extensions
.endif
.include <bsd.port.post.mk>
|