summaryrefslogtreecommitdiff
path: root/lang/gcc34/patches
diff options
context:
space:
mode:
authorshannonjr <shannonjr@pkgsrc.org>2004-10-30 12:06:59 +0000
committershannonjr <shannonjr@pkgsrc.org>2004-10-30 12:06:59 +0000
commitbedf3290f5a02ba32753cf346dd34b7c6c6fccc9 (patch)
tree78034d59cd3c008e88dedfa73dff9cde0635ee9d /lang/gcc34/patches
parentc4d73a2d67e583401afb52ca4f5c396173ad9f36 (diff)
downloadpkgsrc-bedf3290f5a02ba32753cf346dd34b7c6c6fccc9.tar.gz
Revised to build dynamic (in addition to static) libgnat if Ada language
frontend is built.
Diffstat (limited to 'lang/gcc34/patches')
-rw-r--r--lang/gcc34/patches/patch-ae8
1 files changed, 6 insertions, 2 deletions
diff --git a/lang/gcc34/patches/patch-ae b/lang/gcc34/patches/patch-ae
index 5f54a858a70..e7dfbee42f5 100644
--- a/lang/gcc34/patches/patch-ae
+++ b/lang/gcc34/patches/patch-ae
@@ -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 @@ $NetBSD: patch-ae,v 1.2 2004/07/30 14:37:45 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/07/30 14:37:45 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
+