Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --- pkgsrc/devel/sdcc3/Makefile 2014/04/21 13:25:53 1.4 +++ pkgsrc/devel/sdcc3/Makefile 2023/04/23 14:26:17 1.50 @@ -1,33 +1,32 @@ -# $NetBSD: Makefile,v 1.4 2014/04/21 13:25:53 wiz Exp $ +# $NetBSD: Makefile,v 1.50 2023/04/23 14:26:17 adam Exp $ -DISTNAME= sdcc-src-3.3.0 +DISTNAME= sdcc-src-3.9.0 PKGNAME= ${DISTNAME:S/-src//} -PKGREVISION= 3 +PKGREVISION= 13 CATEGORIES= devel lang MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sdcc/} EXTRACT_SUFX= .tar.bz2 -MAINTAINER= pkgsrc-users@NetBSD.org +MAINTAINER= bouyer@NetBSD.org HOMEPAGE= http://sdcc.sourceforge.net/ -COMMENT= Cross compile 8051 code +COMMENT= Cross compile microcontroller code LICENSE= gnu-gpl-v2 DEPENDS+= gputils-[0-9]*:../../devel/gputils -MAKE_JOBS_SAFE= no - USE_LANGUAGES= c c++ # 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. # -USE_TOOLS+= bison +USE_TOOLS+= bison makeinfo +INFO_FILES= yes -BUILD_TARGET= dep all +#BUILD_TARGET= dep all -WRKSRC= ${WRKDIR}/${DISTNAME:S/src-//} +WRKSRC= ${WRKDIR}/sdcc-${PKGVERSION_NOREV} GNU_CONFIGURE= YES -USE_TOOLS+= gmake lex perl:run +USE_TOOLS+= gmake lex:run perl:run CONFIGURE_ARGS+= --datadir=${PREFIX}/share/sdcc CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc/sdcc @@ -39,6 +38,7 @@ CONFIGURE_ENV+= MACHINE_ARCH=${MACHINE_ CONFIGURE_ENV+= sdcc_cv_c_ggdb="no" REPLACE_PYTHON= support/scripts/as2gbmap.py +MAKE_JOBS_SAFE= NO .include "../../mk/bsd.prefs.mk" @@ -59,5 +59,6 @@ post-install: .include "../../devel/boehm-gc/buildlink3.mk" .include "../../devel/boost-libs/buildlink3.mk" .include "../../devel/readline/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" .include "../../lang/python/application.mk" .include "../../mk/bsd.pkg.mk"