aboutsummaryrefslogtreecommitdiffstats
path: root/lang/tcc/Makefile
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2009-08-21 12:39:28 +0800
committerdinoex <dinoex@FreeBSD.org>2009-08-21 12:39:28 +0800
commitd2d085e82a0db947c003d97266a49b89b616fe73 (patch)
tree521b33aed01b49acabbf8b71cac2ecc55f255544 /lang/tcc/Makefile
parentfd4d71fd85d664a7e632ae4313721e37f8f9cb49 (diff)
downloadfreebsd-ports-gnome-d2d085e82a0db947c003d97266a49b89b616fe73.tar.gz
freebsd-ports-gnome-d2d085e82a0db947c003d97266a49b89b616fe73.tar.zst
freebsd-ports-gnome-d2d085e82a0db947c003d97266a49b89b616fe73.zip
- add experimetal support for new archs
Diffstat (limited to 'lang/tcc/Makefile')
-rw-r--r--lang/tcc/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/lang/tcc/Makefile b/lang/tcc/Makefile
index 770def7489a0..2d8adbd11a55 100644
--- a/lang/tcc/Makefile
+++ b/lang/tcc/Makefile
@@ -15,6 +15,8 @@ MAINTAINER= dinoex@FreeBSD.org
COMMENT= Tiny C Compiler
ONLY_FOR_ARCHS= i386
+#ONLY_FOR_ARCHS= i386 amd64 arm alpha mips powerpc
+
CONFLICTS= TenDRA-*
USE_BZIP2= yes
@@ -25,7 +27,15 @@ MAKE_ARGS+= CONFIG_NOLDL=1
MAN1= tcc.1
.if defined(NOPORTDOCS)
-MAKE_ARGS+= NOPORTDOCS=1
+MAKE_ARGS+= NOPORTDOCS=1 CFLAGS="${CFLAGS}"
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if (${ARCH} == i386)
+PLIST_SUB+= WITH_I386=""
+.else
+PLIST_SUB+= WITH_I386="@comment "
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>