summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2011-02-25 12:21:09 +0000
committerhe <he@pkgsrc.org>2011-02-25 12:21:09 +0000
commitb8228afa5f426772ef1f1a952fb2c8ce46e69f46 (patch)
treee549615ea3cdba2ff6e865c5fdca519b0abcd32b /lang
parent9535aeb0af0b0bbe152975c43521fd47f786a03c (diff)
downloadpkgsrc-b8228afa5f426772ef1f1a952fb2c8ce46e69f46.tar.gz
Update pcc-current from 20101129 version to 1.0.0 BETA of 20110225.
Impetus to upgrade from Matthias Rampke. Pkgsrc changes: o Changed package name to not include upstream version number (ouch!) Upstream changes: o Lots of fixes; list of changes not easily available. o The main supported architectures are i386 and amd64; other targets have "less functionality". Please help in testing this; report bugs via http://pcc.ludd.ltu.se/jira.
Diffstat (limited to 'lang')
-rw-r--r--lang/pcc-current/Makefile14
-rw-r--r--lang/pcc-current/distinfo10
-rw-r--r--lang/pcc-current/patches/patch-aa18
3 files changed, 24 insertions, 18 deletions
diff --git a/lang/pcc-current/Makefile b/lang/pcc-current/Makefile
index 09283d392bd..5f178855722 100644
--- a/lang/pcc-current/Makefile
+++ b/lang/pcc-current/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.6 2010/11/29 09:39:42 he Exp $
+# $NetBSD: Makefile,v 1.7 2011/02/25 12:21:09 he Exp $
-DISTNAME= pcc-${DATE_STR}
-PKGNAME= pcc-current-0.9.9.20-${DATE_STR}
-DATE_STR= 101129
+PKGNAME= pcc-current-1.0.0.BETA.${DATE_STR}
+DISTPREFIX= pcc-1.0.0.BETA
+DISTNAME= ${DISTPREFIX}-${DATE_STR}
+DATE_STR= 20110225
+WRKSRC= ${WRKDIR}/${DISTPREFIX}
CATEGORIES= lang
-MASTER_SITES= ftp://pcc.ludd.ltu.se/pub/pcc/
+MASTER_SITES= ftp://pcc.ludd.ltu.se/pub/pcc-beta/
EXTRACT_SUFX= .tgz
PKG_DESTDIR_SUPPORT= user-destdir
@@ -13,6 +15,8 @@ MAINTAINER= he@NetBSD.org
HOMEPAGE= http://pcc.ludd.ltu.se/
COMMENT= Portable C compiler
+LICENSE= pcc-license
+
CONFLICTS= pcc-[0-9]*
USE_TOOLS+= lex yacc
diff --git a/lang/pcc-current/distinfo b/lang/pcc-current/distinfo
index e6761b45672..d32451921f7 100644
--- a/lang/pcc-current/distinfo
+++ b/lang/pcc-current/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2010/11/29 09:39:42 he Exp $
+$NetBSD: distinfo,v 1.6 2011/02/25 12:21:09 he Exp $
-SHA1 (pcc-101129.tgz) = bc5eb81cc7ae7969b6e93fc9a71d7e5f7c08ac8c
-RMD160 (pcc-101129.tgz) = 119aff203be93ac895432774765632f95f81548c
-Size (pcc-101129.tgz) = 642663 bytes
-SHA1 (patch-aa) = 3ca9662e342d240f2d896e95a65261e7e76cda79
+SHA1 (pcc-1.0.0.BETA-20110225.tgz) = c3d088f461880e62c0a939db055be9c7ecd5c05a
+RMD160 (pcc-1.0.0.BETA-20110225.tgz) = 005e2f8548a46453f5eab759f7af7f51c03f407f
+Size (pcc-1.0.0.BETA-20110225.tgz) = 651604 bytes
+SHA1 (patch-aa) = 09a38348102ae5ef623d646f2214fb36a135365b
diff --git a/lang/pcc-current/patches/patch-aa b/lang/pcc-current/patches/patch-aa
index 06237324798..7a4b4788188 100644
--- a/lang/pcc-current/patches/patch-aa
+++ b/lang/pcc-current/patches/patch-aa
@@ -1,7 +1,9 @@
-$NetBSD: patch-aa,v 1.1 2009/04/30 18:19:28 hasso Exp $
+$NetBSD: patch-aa,v 1.2 2011/02/25 12:21:09 he Exp $
---- os/dragonfly/ccconfig.h.orig 2008-06-03 08:58:22 +0300
-+++ os/dragonfly/ccconfig.h 2009-04-30 15:37:16 +0300
+Provide portability to newer versions of DragonFly.
+
+--- os/dragonfly/ccconfig.h.orig 2008-06-03 05:58:22.000000000 +0000
++++ os/dragonfly/ccconfig.h
@@ -31,14 +31,26 @@
* Various settings that controls how the C compiler works.
*/
@@ -19,11 +21,11 @@ $NetBSD: patch-aa,v 1.1 2009/04/30 18:19:28 hasso Exp $
#define LIBCLIBS { "-lc", "-L/usr/lib/gcc34", "-lgcc", NULL }
#define ENDFILES { "/usr/lib/gcc34/crtend.o", "/usr/lib/gcc34/crtn.o", NULL }
+#else
-+#define CRT0FILE "/usr/lib/crt1.o"
-+#define CRT0FILE_PROFILE "/usr/lib/gcrt1.o"
-+#define STARTFILES { "/usr/lib/crti.o", "/usr/lib/gcc41/crtbegin.o", NULL }
-+#define LIBCLIBS { "-lc", "-L/usr/lib/gcc41", "-lgcc", NULL }
-+#define ENDFILES { "/usr/lib/gcc41/crtend.o", "/usr/lib/crtn.o", NULL }
++#define CRT0FILE "/usr/lib/crt1.o"
++#define CRT0FILE_PROFILE "/usr/lib/gcrt1.o"
++#define STARTFILES { "/usr/lib/crti.o", "/usr/lib/gcc41/crtbegin.o", NULL }
++#define LIBCLIBS { "-lc", "-L/usr/lib/gcc41", "-lgcc", NULL }
++#define ENDFILES { "/usr/lib/gcc41/crtend.o", "/usr/lib/crtn.o", NULL }
+#endif
+
#define STARTLABEL "_start"