diff options
author | hasso <hasso@pkgsrc.org> | 2009-04-30 18:19:28 +0000 |
---|---|---|
committer | hasso <hasso@pkgsrc.org> | 2009-04-30 18:19:28 +0000 |
commit | b6e45c7ddc471eae212f93ed33c0cc4bf34893d4 (patch) | |
tree | 4086d53eb083febe2b30817aff21b8b60925178a /lang | |
parent | a40c829d49d022d676d301c9e5515d48a09730c8 (diff) | |
download | pkgsrc-b6e45c7ddc471eae212f93ed33c0cc4bf34893d4.tar.gz |
* Update to a refresh snapshot.
* Use gmake as building with bmake fails randomly.
* Make it build on DragonFly master.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/pcc-current/Makefile | 6 | ||||
-rw-r--r-- | lang/pcc-current/distinfo | 9 | ||||
-rw-r--r-- | lang/pcc-current/patches/patch-aa | 31 |
3 files changed, 40 insertions, 6 deletions
diff --git a/lang/pcc-current/Makefile b/lang/pcc-current/Makefile index 92e982d1a65..e122ac1ca64 100644 --- a/lang/pcc-current/Makefile +++ b/lang/pcc-current/Makefile @@ -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 @@ COMMENT= Portable C compiler 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 --git a/lang/pcc-current/distinfo b/lang/pcc-current/distinfo index 4f58cd06c96..fb694bb8c12 100644 --- a/lang/pcc-current/distinfo +++ b/lang/pcc-current/distinfo @@ -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 --git a/lang/pcc-current/patches/patch-aa b/lang/pcc-current/patches/patch-aa new file mode 100644 index 00000000000..06237324798 --- /dev/null +++ b/lang/pcc-current/patches/patch-aa @@ -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) |