pkgsrc-wip/tcc/Makefile
2006-11-26 23:20:32 +00:00

30 lines
648 B
Makefile

# $NetBSD: Makefile,v 1.13 2006/11/26 23:20:32 shattered Exp $
#
DISTNAME= tcc-0.9.22
CATEGORIES= lang
MASTER_SITES= http://fabrice.bellard.free.fr/tcc/
MAINTAINER= pancake@phreaker.net
HOMEPAGE= http://www.tinycc.org/
COMMENT= The Smallest ANSI C compiler
ONLY_FOR_PLATFORM= *-*-i386
NOT_FOR_PLATFORM= NetBSD-1.6.2-*
USE_TOOLS+= gmake
HAS_CONFIGURE= yes
CHECK_PORTABILITY_SKIP= gcctestsuite.sh
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Linux"
SUBST_CLASSES+= ldl
SUBST_FILES.ldl= Makefile
SUBST_STAGE.ldl= post-patch
SUBST_SED.ldl= -e 's,LIBS=,\#LIBS,'
.endif
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
.include "../../mk/bsd.pkg.mk"