pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/gcc34 Revised to build dynamic (in addition to st...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e98b0389e19d
branches:  trunk
changeset: 482605:e98b0389e19d
user:      shannonjr <shannonjr%pkgsrc.org@localhost>
date:      Sat Oct 30 12:06:59 2004 +0000

description:
Revised to build dynamic (in addition to static) libgnat if Ada language
frontend is built.

diffstat:

 lang/gcc34/Makefile         |  3 ++-
 lang/gcc34/distinfo         |  4 ++--
 lang/gcc34/patches/patch-ae |  8 ++++++--
 3 files changed, 10 insertions(+), 5 deletions(-)

diffs (63 lines):

diff -r d549b9e79a52 -r e98b0389e19d lang/gcc34/Makefile
--- a/lang/gcc34/Makefile       Sat Oct 30 12:02:15 2004 +0000
+++ b/lang/gcc34/Makefile       Sat Oct 30 12:06:59 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2004/09/21 13:32:40 shannonjr Exp $
+# $NetBSD: Makefile,v 1.16 2004/10/30 12:06:59 shannonjr Exp $
 #
 
 DISTNAME=      gcc-${GCC_VERSION}
@@ -192,6 +192,7 @@
 do-build:
        (cd ${WRKDIR}/obj && ${SETENV} ${MAKE_ENV} ${GMAKE} bootstrap)
 .if !empty(BUILD_ADA:M[Yy][Ee][Ss])
+       (cd ${WRKDIR}/obj/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} gnatlib-shared)
        (cd ${WRKDIR}/obj/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} gnatlib_and_tools)
 .endif
 
diff -r d549b9e79a52 -r e98b0389e19d lang/gcc34/distinfo
--- a/lang/gcc34/distinfo       Sat Oct 30 12:02:15 2004 +0000
+++ b/lang/gcc34/distinfo       Sat Oct 30 12:06:59 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.10 2004/09/21 13:32:40 shannonjr Exp $
+$NetBSD: distinfo,v 1.11 2004/10/30 12:06:59 shannonjr Exp $
 
 SHA1 (gcc-3.4.2.tar.bz2) = 1f3fda2c8aa331ebc20bbe5020e658d4137be4fd
 Size (gcc-3.4.2.tar.bz2) = 27246826 bytes
-SHA1 (patch-ae) = 0a12deda859c553eda6b877779525e391451021a
+SHA1 (patch-ae) = 928fa6155e614ca85b02359cf893d6c62231b192
 SHA1 (patch-af) = cdd6b0d13c557996cb6582d7fa5dc651d37ee0ee
 SHA1 (patch-ag) = beee5294d387faafa640ab048823499da629e715
 SHA1 (patch-ah) = 3b3471f42e801f8588c1e0959d5cfa704ce16a3e
diff -r d549b9e79a52 -r e98b0389e19d lang/gcc34/patches/patch-ae
--- a/lang/gcc34/patches/patch-ae       Sat Oct 30 12:02:15 2004 +0000
+++ b/lang/gcc34/patches/patch-ae       Sat Oct 30 12:06:59 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ae,v 1.2 2004/07/30 14:37:45 shannonjr Exp $
+$NetBSD: patch-ae,v 1.3 2004/10/30 12:06:59 shannonjr Exp $
 
 --- gcc/ada/Makefile.in.orig   2004-01-26 14:57:32.000000000 -0700
 +++ gcc/ada/Makefile.in
-@@ -1292,6 +1292,54 @@ ifeq ($(strip $(filter-out %x86_64 linux
+@@ -1292,6 +1292,58 @@ ifeq ($(strip $(filter-out %x86_64 linux
    LIBRARY_VERSION := $(LIB_VERSION)
  endif
  
@@ -27,6 +27,8 @@
 +
 +  THREADSLIB=-pthread
 +  EXTRA_GNATRTL_TASKING_OBJS=adasignal.o ada_lwp_self.o dummy_pthreads.o
++  GNATLIB_SHARED=gnatlib-shared-dual
++  LIBRARY_VERSION := $(LIB_VERSION)
 +
 +endif
 +
@@ -50,6 +52,8 @@
 +
 +  THREADSLIB=-pthread
 +  EXTRA_GNATRTL_TASKING_OBJS=adasignal.o ada_lwp_self.o dummy_pthreads.o
++  GNATLIB_SHARED=gnatlib-shared-dual
++  LIBRARY_VERSION := $(LIB_VERSION)
 +
 +endif
 +



Home | Main Index | Thread Index | Old Index