summaryrefslogtreecommitdiff
path: root/devel/sdcc/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-06-07 00:16:58 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-06-07 00:16:58 +0000
commit4f62e10d5094de38765b96aee905246f51ac2dfb (patch)
treed068e0c8ed6b7e52f56efc1bcc6f2ebdd327da93 /devel/sdcc/Makefile
parentf36f9df1394088d9bb6f9727173c881738f7abed (diff)
downloadpkgsrc-4f62e10d5094de38765b96aee905246f51ac2dfb.tar.gz
Update devel/sdcc to 2.4.0.
Too many changes to list here, please review the Changelog file. Mostly they were bugfixes. The patch to update to this version was sent via private email by Sergio Jimenez <tripledes at eslack dot org>.
Diffstat (limited to 'devel/sdcc/Makefile')
-rw-r--r--devel/sdcc/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/devel/sdcc/Makefile b/devel/sdcc/Makefile
index f0051a8e691..8acfbcb9317 100644
--- a/devel/sdcc/Makefile
+++ b/devel/sdcc/Makefile
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.22 2004/04/21 03:50:07 snj Exp $
+# $NetBSD: Makefile,v 1.23 2004/06/07 00:16:58 xtraeme Exp $
# FreeBSD: ports/devel/sdcc/Makefile,v 1.5 2000/04/15 15:13:38 knu Exp
-DISTNAME= sdcc-2.2.1-src
+DISTNAME= sdcc-2.4.0
PKGNAME= ${DISTNAME:S/-src//}
-PKGREVISION= 1
CATEGORIES= devel lang
-MASTER_SITES= http://web.kd0yu.com/sdcc/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sdcc/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://sdcc.sourceforge.net/
@@ -21,7 +20,7 @@ YACC= bison
ALL_TARGET= dep all
-WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
+WRKSRC= ${WRKDIR}/${DISTNAME:S/-2.4.0//}
USE_BUILDLINK3= YES
GNU_CONFIGURE= YES
USE_GNU_TOOLS+= make
@@ -32,6 +31,7 @@ CONFIGURE_ARGS+= --datadir=${PREFIX}/share/sdcc
# by default on some, not on others
CPPFLAGS+= -fdollars-in-identifiers
CONFIGURE_ENV+= MACHINE_ARCH=${MACHINE_ARCH}
+CONFIGURE_ENV+= sdcc_cv_CCggdb="no"
MAKE_ENV+= _OPSYS_RPATH_NAME=${_OPSYS_RPATH_NAME}
.include "../../mk/bsd.prefs.mk"
@@ -40,21 +40,19 @@ MAKE_ENV+= _OPSYS_RPATH_NAME=${_OPSYS_RPATH_NAME}
CPPFLAGS+= -DYY_NEVER_INTERACTIVE
post-extract:
- ${RM} -f ${WRKSRC}/as/mcs51/string.h ${WRKSRC}/as/z80/string.h
+ @${RM} -f ${WRKSRC}/as/mcs51/string.h ${WRKSRC}/as/z80/string.h
pre-configure: sys-endian-buildlink
sys-endian-buildlink:
- ${MKDIR} ${BUILDLINK_DIR}/include
- ${LN} -fs /usr/include/sys/endian.h ${BUILDLINK_DIR}/include
+ @${MKDIR} ${BUILDLINK_DIR}/include
+ @${LN} -fs /usr/include/sys/endian.h ${BUILDLINK_DIR}/include
.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sdcc
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sdcc/avr
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sdcc/z80
- ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/sdcc/
- ${INSTALL_DATA} ${WRKSRC}/doc/*.sgml ${PREFIX}/share/doc/sdcc/
${INSTALL_DATA} ${WRKSRC}/doc/*.lyx ${PREFIX}/share/doc/sdcc/
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${PREFIX}/share/doc/sdcc/
${INSTALL_DATA} ${WRKSRC}/doc/avr/avr_design.txt ${PREFIX}/share/doc/sdcc/avr