summaryrefslogtreecommitdiff
path: root/devel/gps
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2014-04-30 16:32:20 +0000
committermarino <marino@pkgsrc.org>2014-04-30 16:32:20 +0000
commitd3e1ecb5c4473cb34290f9fac0a6763b0e333dad (patch)
tree0ea34edc5c2d2aefcd4a5a2b1de4e4334c993d8d /devel/gps
parent4836f2e68b33c5032be927b53ae430d13a7aca0e (diff)
downloadpkgsrc-d3e1ecb5c4473cb34290f9fac0a6763b0e333dad.tar.gz
devel/gps: Disable on NetBSD 5 and 6, serious link issues
I've spent upwards on a day trying to fix a massive link failure on GPS that appeared with the new gcc-aux compiler. My theory is that the binutils 2.21 used with NetBSD 6 is not new enough for gcc 4.9.0. However, gcc-aux will not build with devel/binutils -- there seems to be a problem with handing PIC, at least on NetBSD. For now, disable GPS building on NetBSD releases. I will try again with NetBSD 6.99 which uses binutils 2.23. If that succeeds, then I'll submit a PR against devel/binutils. I've tried everything I can think of to get GPS to build on x86-64-NetBSD-6.1.4 but everything has failed.
Diffstat (limited to 'devel/gps')
-rw-r--r--devel/gps/Makefile11
-rw-r--r--devel/gps/distinfo2
-rw-r--r--devel/gps/patches/patch-src__editor_src_src__editor__buffer.adb2
-rw-r--r--devel/gps/patches/patch-src__editor_src_src__editor__view.adb2
4 files changed, 11 insertions, 6 deletions
diff --git a/devel/gps/Makefile b/devel/gps/Makefile
index f031ade125e..34b47f685a2 100644
--- a/devel/gps/Makefile
+++ b/devel/gps/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2014/04/28 22:14:51 marino Exp $
+# $NetBSD: Makefile,v 1.33 2014/04/30 16:32:20 marino Exp $
#
DISTNAME= gps-${GPS_VERSION}
@@ -12,14 +12,19 @@ HOMEPAGE= http://www.adacore.com/home/products/gnatpro/toolsuite/gps/
COMMENT= GNAT Programming Studio - IDE for Ada and many other languages
LICENSE= gnu-gpl-v2
+# NetBSD 6.1 binutils is too old and devel/binutils won't build lang/gcc-aux
+# Disable on all NetBSD platforms except 6.99 until this is fixed
+NOT_FOR_PLATFORM= NetBSD-[56].[012]*-*
+
GNU_CONFIGURE= yes
USE_TOOLS+= gmake sed perl awk pkg-config
GPS_VERSION= 5.2.1
USE_LANGUAGES= c ada c++
MY_CONFIGURE_ENV+= ADA_PROJECT_PATH=${APP}
-MY_MAKE_ENV+= PROCESSORS=${MAKE_JOBS} \
- ADA_PROJECT_PATH=${APP}
+MY_MAKE_ENV+= PROCESSORS=${MAKE_JOBS:U1:Q} \
+ ADA_PROJECT_PATH=${APP} \
+ PATH=${PREFIX}/gcc-aux/bin:${PATH}
MAKE_ARGS= Build=Production
APP= ${PREFIX}/lib/gnat
WRKSRC= ${WRKDIR}/gps-release-ide-${GPS_VERSION}-src
diff --git a/devel/gps/distinfo b/devel/gps/distinfo
index ea279bfab6f..a9abe618980 100644
--- a/devel/gps/distinfo
+++ b/devel/gps/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2014/04/28 22:14:51 marino Exp $
+$NetBSD: distinfo,v 1.10 2014/04/30 16:32:20 marino Exp $
SHA1 (gps-5.2.1-1-src.tgz) = 5e69d59e2e64a3ec5a35c7fb0cb29d0950e156e7
RMD160 (gps-5.2.1-1-src.tgz) = 2ca95998ecc5eb7930e0b645cc550e99fe144177
diff --git a/devel/gps/patches/patch-src__editor_src_src__editor__buffer.adb b/devel/gps/patches/patch-src__editor_src_src__editor__buffer.adb
index 28477054d06..6b462c2dea2 100644
--- a/devel/gps/patches/patch-src__editor_src_src__editor__buffer.adb
+++ b/devel/gps/patches/patch-src__editor_src_src__editor__buffer.adb
@@ -1,4 +1,4 @@
-$NetBSD: patch-src__editor_src_src__editor__buffer.adb,v 1.1 2014/04/28 22:14:51 marino Exp $
+$NetBSD: patch-src__editor_src_src__editor__buffer.adb,v 1.2 2014/04/30 16:32:20 marino Exp $
Disambiguation required to compile with FSF GNAT 4.9.0
diff --git a/devel/gps/patches/patch-src__editor_src_src__editor__view.adb b/devel/gps/patches/patch-src__editor_src_src__editor__view.adb
index cab8f5cafbe..ecbb6b370f8 100644
--- a/devel/gps/patches/patch-src__editor_src_src__editor__view.adb
+++ b/devel/gps/patches/patch-src__editor_src_src__editor__view.adb
@@ -1,4 +1,4 @@
-$NetBSD: patch-src__editor_src_src__editor__view.adb,v 1.1 2014/04/28 22:14:51 marino Exp $
+$NetBSD: patch-src__editor_src_src__editor__view.adb,v 1.2 2014/04/30 16:32:20 marino Exp $
Disambiguation required to compile with FSF GNAT 4.9.0