pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/pcc-current * Update to a refresh snapshot.
details: https://anonhg.NetBSD.org/pkgsrc/rev/a4ad42f3c356
branches: trunk
changeset: 558204:a4ad42f3c356
user: hasso <hasso%pkgsrc.org@localhost>
date: Thu Apr 30 18:19:28 2009 +0000
description:
* Update to a refresh snapshot.
* Use gmake as building with bmake fails randomly.
* Make it build on DragonFly master.
diffstat:
lang/pcc-current/Makefile | 6 ++++--
lang/pcc-current/distinfo | 9 +++++----
lang/pcc-current/patches/patch-aa | 31 +++++++++++++++++++++++++++++++
3 files changed, 40 insertions(+), 6 deletions(-)
diffs (72 lines):
diff -r 089a7036981d -r a4ad42f3c356 lang/pcc-current/Makefile
--- a/lang/pcc-current/Makefile Thu Apr 30 17:35:05 2009 +0000
+++ b/lang/pcc-current/Makefile Thu Apr 30 18:19:28 2009 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/03/02 12:13:38 he Exp $
+# $NetBSD: Makefile,v 1.2 2009/04/30 18:19:28 hasso Exp $
DISTNAME= pcc-${DATE_STR}
PKGNAME= pcc-current-0.9.9.20${DATE_STR}
-DATE_STR= 080223
+DATE_STR= 090430
CATEGORIES= lang
MASTER_SITES= ftp://pcc.ludd.ltu.se/pub/pcc/
EXTRACT_SUFX= .tgz
@@ -14,6 +14,8 @@
CONFLICTS= pcc-[0-9]*
USE_TOOLS+= lex yacc
+# XXX For some reason building with bmake fails randomly.
+USE_TOOLS+= gmake
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= no
diff -r 089a7036981d -r a4ad42f3c356 lang/pcc-current/distinfo
--- a/lang/pcc-current/distinfo Thu Apr 30 17:35:05 2009 +0000
+++ b/lang/pcc-current/distinfo Thu Apr 30 18:19:28 2009 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/03/02 12:13:38 he Exp $
+$NetBSD: distinfo,v 1.2 2009/04/30 18:19:28 hasso Exp $
-SHA1 (pcc-080223.tgz) = dd95cd4efaeca4f8fa9123f8b7473e0562c98416
-RMD160 (pcc-080223.tgz) = d9c495e1a9664a60c08538448ed074019a936a0f
-Size (pcc-080223.tgz) = 432942 bytes
+SHA1 (pcc-090430.tgz) = a0a304749d224253df64a6da6f0d6a8db3ea5ddb
+RMD160 (pcc-090430.tgz) = 987f06e0ce5be4bf7ec6113b79502639e8cd6815
+Size (pcc-090430.tgz) = 613292 bytes
+SHA1 (patch-aa) = 3ca9662e342d240f2d896e95a65261e7e76cda79
diff -r 089a7036981d -r a4ad42f3c356 lang/pcc-current/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/pcc-current/patches/patch-aa Thu Apr 30 18:19:28 2009 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.1 2009/04/30 18:19:28 hasso Exp $
+
+--- os/dragonfly/ccconfig.h.orig 2008-06-03 08:58:22 +0300
++++ os/dragonfly/ccconfig.h 2009-04-30 15:37:16 +0300
+@@ -31,14 +31,26 @@
+ * Various settings that controls how the C compiler works.
+ */
+
++#include <sys/param.h>
++
+ /* common cpp predefines */
+ #define CPPADD { "-D__DragonFly__", "-D__ELF__", NULL, }
+ #define DYNLINKER { "-dynamic-linker", "/usr/libexec/ld-elf.so.2", NULL }
++
++#if __DragonFly_version < 200202
+ #define CRT0FILE "/usr/lib/gcc34/crt1.o"
+ #define CRT0FILE_PROFILE "/usr/lib/gcc34/gcrt1.o"
+ #define STARTFILES { "/usr/lib/gcc34/crti.o", "/usr/lib/gcc34/crtbegin.o", NULL }
+ #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 }
++#endif
++
+ #define STARTLABEL "_start"
+
+ #if defined(mach_i386)
Home |
Main Index |
Thread Index |
Old Index