summaryrefslogtreecommitdiff
path: root/devel/sdcc/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-06-07 00:16:58 +0000
committerxtraeme <xtraeme>2004-06-07 00:16:58 +0000
commitb336e3f20c376c7645e48f5c94931c47ee9de60c (patch)
treed068e0c8ed6b7e52f56efc1bcc6f2ebdd327da93 /devel/sdcc/Makefile
parent8903573aa1e772b044720508a8db5f907405e6c0 (diff)
downloadpkgsrc-b336e3f20c376c7645e48f5c94931c47ee9de60c.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