diff options
author | shannonjr <shannonjr@pkgsrc.org> | 2004-10-29 11:07:55 +0000 |
---|---|---|
committer | shannonjr <shannonjr@pkgsrc.org> | 2004-10-29 11:07:55 +0000 |
commit | 0e9dac0b7b23dc0de01b58d423b234ae149aa3f4 (patch) | |
tree | d47e18017337bed5e41e6c8b85f657af5c59247b /lang/gcc34-ada | |
parent | a8f4eef64e5d20ccd0cde2d630a47932cc62beac (diff) | |
download | pkgsrc-0e9dac0b7b23dc0de01b58d423b234ae149aa3f4.tar.gz |
Modify to build shared (and static) libgnat
Diffstat (limited to 'lang/gcc34-ada')
-rw-r--r-- | lang/gcc34-ada/Makefile | 4 | ||||
-rw-r--r-- | lang/gcc34-ada/distinfo | 4 | ||||
-rw-r--r-- | lang/gcc34-ada/patches/patch-ae | 8 |
3 files changed, 11 insertions, 5 deletions
diff --git a/lang/gcc34-ada/Makefile b/lang/gcc34-ada/Makefile index f1ec6cd676f..cc4a1f2559e 100644 --- a/lang/gcc34-ada/Makefile +++ b/lang/gcc34-ada/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2004/09/27 09:17:30 shannonjr Exp $ +# $NetBSD: Makefile,v 1.10 2004/10/29 11:07:55 shannonjr Exp $ # DISTNAME= gcc-${GCC_VERSION} @@ -56,6 +56,7 @@ CONFIGURE_ARGS+= --with-ld=${LOCALBASE}/bin/ld CONFIGURE_ARGS+= --with-gnu-as CONFIGURE_ARGS+= --with-gnu-ld .endif +CONFIGURE_ARGS+= --enable-shared # Ada bootstrap compiler section # An Ada compiler is required to build the Ada compiler. You @@ -141,6 +142,7 @@ do-configure: do-build: (cd ${WRKDIR}/obj && ${SETENV} ${MAKE_ENV} ${GMAKE} bootstrap) + (cd ${WRKDIR}/obj/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} gnatlib-shared) (cd ${WRKDIR}/obj/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} gnatlib_and_tools) do-test: diff --git a/lang/gcc34-ada/distinfo b/lang/gcc34-ada/distinfo index 77b35986cfa..07323e40647 100644 --- a/lang/gcc34-ada/distinfo +++ b/lang/gcc34-ada/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.6 2004/09/27 09:17:30 shannonjr Exp $ +$NetBSD: distinfo,v 1.7 2004/10/29 11:07:55 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-ba) = 6fc03fc155f630329f7dc831eece6b6464b453a6 diff --git a/lang/gcc34-ada/patches/patch-ae b/lang/gcc34-ada/patches/patch-ae index e080e00a567..93dc09d172e 100644 --- a/lang/gcc34-ada/patches/patch-ae +++ b/lang/gcc34-ada/patches/patch-ae @@ -1,8 +1,8 @@ -$NetBSD: patch-ae,v 1.2 2004/08/01 10:20:30 shannonjr Exp $ +$NetBSD: patch-ae,v 1.3 2004/10/29 11:07:55 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 @@ $NetBSD: patch-ae,v 1.2 2004/08/01 10:20:30 shannonjr Exp $ + + 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 @@ $NetBSD: patch-ae,v 1.2 2004/08/01 10:20:30 shannonjr Exp $ + + 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 + |