diff options
Diffstat (limited to 'devel/sdcc')
-rw-r--r-- | devel/sdcc/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/devel/sdcc/Makefile b/devel/sdcc/Makefile index 9e56daad5af..f0051a8e691 100644 --- a/devel/sdcc/Makefile +++ b/devel/sdcc/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.21 2004/01/22 08:24:30 grant Exp $ +# $NetBSD: Makefile,v 1.22 2004/04/21 03:50:07 snj Exp $ # FreeBSD: ports/devel/sdcc/Makefile,v 1.5 2000/04/15 15:13:38 knu Exp DISTNAME= sdcc-2.2.1-src -PKGBASE= sdcc-2.2.1 -PKGNAME= ${PKGBASE} +PKGNAME= ${DISTNAME:S/-src//} PKGREVISION= 1 CATEGORIES= devel lang MASTER_SITES= http://web.kd0yu.com/sdcc/ @@ -12,17 +11,18 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://sdcc.sourceforge.net/ COMMENT= Cross compile 8051 code -ALL_TARGET= dep all - # # XXX - This HACK circumvent a problem with the use of yacc that breaks the # XXX - building process of sdcc. Use of bison fixes this problem for now. # BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison + YACC= bison -WRKSRC= ${WRKDIR}/${PKGBASE} -USE_BUILDLINK2= YES +ALL_TARGET= dep all + +WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//} +USE_BUILDLINK3= YES GNU_CONFIGURE= YES USE_GNU_TOOLS+= make @@ -60,6 +60,6 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/doc/avr/avr_design.txt ${PREFIX}/share/doc/sdcc/avr ${INSTALL_DATA} ${WRKSRC}/doc/z80/README ${PREFIX}/share/doc/sdcc/z80 -.include "../../devel/boehm-gc/buildlink2.mk" -.include "../../lang/perl5/buildlink2.mk" +.include "../../devel/boehm-gc/buildlink3.mk" +.include "../../lang/perl5/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |