devel/gps: Fix missing rpath on gnatinspect which fails dev checks I also verified that devel/gps does build on NetBSD 6.99, but not NetBSD 6.1, so the NOT_FOR_PLATFORM is currently correct.diff -r1.33 -r1.34 pkgsrc/devel/gps/Makefile
(marino)
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | # $NetBSD: Makefile,v 1.33 2014/04/30 16:32:20 marino Exp $ | 1 | # $NetBSD: Makefile,v 1.34 2014/05/01 09:00:27 marino Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= gps-${GPS_VERSION} | 4 | DISTNAME= gps-${GPS_VERSION} | |
5 | PKGREVISION= 3 | 5 | PKGREVISION= 4 | |
6 | CATEGORIES= devel | 6 | CATEGORIES= devel | |
7 | MASTER_SITES= http://downloads.dragonlace.net/src/ | 7 | MASTER_SITES= http://downloads.dragonlace.net/src/ | |
8 | DISTFILES= gps-5.2.1-1-src.tgz | 8 | DISTFILES= gps-5.2.1-1-src.tgz | |
9 | 9 | |||
10 | MAINTAINER= draco@marino.st | 10 | MAINTAINER= draco@marino.st | |
11 | HOMEPAGE= http://www.adacore.com/home/products/gnatpro/toolsuite/gps/ | 11 | HOMEPAGE= http://www.adacore.com/home/products/gnatpro/toolsuite/gps/ | |
12 | COMMENT= GNAT Programming Studio - IDE for Ada and many other languages | 12 | COMMENT= GNAT Programming Studio - IDE for Ada and many other languages | |
13 | LICENSE= gnu-gpl-v2 | 13 | LICENSE= gnu-gpl-v2 | |
14 | 14 | |||
15 | # NetBSD 6.1 binutils is too old and devel/binutils won't build lang/gcc-aux | 15 | # NetBSD 6.1 binutils is too old and devel/binutils won't build lang/gcc-aux | |
16 | # Disable on all NetBSD platforms except 6.99 until this is fixed | 16 | # Disable on all NetBSD platforms except 6.99 until this is fixed | |
17 | NOT_FOR_PLATFORM= NetBSD-[56].[012]*-* | 17 | NOT_FOR_PLATFORM= NetBSD-[56].[012]*-* | |
18 | 18 |
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | $NetBSD: distinfo,v 1.10 2014/04/30 16:32:20 marino Exp $ | 1 | $NetBSD: distinfo,v 1.11 2014/05/01 09:00:27 marino Exp $ | |
2 | 2 | |||
3 | SHA1 (gps-5.2.1-1-src.tgz) = 5e69d59e2e64a3ec5a35c7fb0cb29d0950e156e7 | 3 | SHA1 (gps-5.2.1-1-src.tgz) = 5e69d59e2e64a3ec5a35c7fb0cb29d0950e156e7 | |
4 | RMD160 (gps-5.2.1-1-src.tgz) = 2ca95998ecc5eb7930e0b645cc550e99fe144177 | 4 | RMD160 (gps-5.2.1-1-src.tgz) = 2ca95998ecc5eb7930e0b645cc550e99fe144177 | |
5 | Size (gps-5.2.1-1-src.tgz) = 27925475 bytes | 5 | Size (gps-5.2.1-1-src.tgz) = 27925475 bytes | |
6 | SHA1 (patch-Makefile.in) = 2920de21e7e0f65c76fe406fd7f47abc80dbaf38 | 6 | SHA1 (patch-Makefile.in) = 2920de21e7e0f65c76fe406fd7f47abc80dbaf38 | |
7 | SHA1 (patch-common_tty_terminals.c) = b85725f52f929dae0f3a1b44fe5166e576fed325 | 7 | SHA1 (patch-common_tty_terminals.c) = b85725f52f929dae0f3a1b44fe5166e576fed325 | |
8 | SHA1 (patch-docs_Makefile.in) = 2463ed0b59b2806ffe84adb9a949fc43aea13a6a | 8 | SHA1 (patch-docs_Makefile.in) = 2463ed0b59b2806ffe84adb9a949fc43aea13a6a | |
9 | SHA1 (patch-gnatlib-gnat_src-mlib-utl.adb) = f21bde7ca7e379a11ebbd11bc499ca487d6fe9bf | 9 | SHA1 (patch-gnatlib-gnat_src-mlib-utl.adb) = f21bde7ca7e379a11ebbd11bc499ca487d6fe9bf | |
10 | SHA1 (patch-gnatlib_aclocal.m4) = 9dc1e6ee113d2b0e86ddc719dcec6fac634ed4b9 | 10 | SHA1 (patch-gnatlib_aclocal.m4) = 9dc1e6ee113d2b0e86ddc719dcec6fac634ed4b9 | |
11 | SHA1 (patch-gnatlib_configure) = b1daedfcd766bf4713464988bb1d7977364e84d2 | 11 | SHA1 (patch-gnatlib_configure) = b1daedfcd766bf4713464988bb1d7977364e84d2 | |
12 | SHA1 (patch-gnatlib_gnatcoll__shared.gpr.in) = 4c0d7544ea6adeafce9d2460bf347dfeb09ef286 | 12 | SHA1 (patch-gnatlib_gnatcoll__shared.gpr.in) = 4c0d7544ea6adeafce9d2460bf347dfeb09ef286 | |
13 | SHA1 (patch-gnatlib_src_gnatcoll__readline.gpr.in) = c56494c1d5ab68d22ae967b4f686a73b7dbaccf0 | 13 | SHA1 (patch-gnatlib_src_gnatcoll__readline.gpr.in) = 4a7215eaa7d07674bf781cf21863e5acb0e3f78b | |
14 | SHA1 (patch-gps_gps.gpr) = 708943c00a8e35a22ab57d1fc0bf7978e7ed6311 | 14 | SHA1 (patch-gps_gps.gpr) = 708943c00a8e35a22ab57d1fc0bf7978e7ed6311 | |
15 | SHA1 (patch-src__editor_src_src__editor__buffer.adb) = 1bb19152910bc9e779c61503ad00049243930d24 | 15 | SHA1 (patch-src__editor_src_src__editor__buffer.adb) = 1bb19152910bc9e779c61503ad00049243930d24 | |
16 | SHA1 (patch-src__editor_src_src__editor__view.adb) = 3ffb3a1ad3189991716ea807c7106ecac9b02293 | 16 | SHA1 (patch-src__editor_src_src__editor__view.adb) = 3ffb3a1ad3189991716ea807c7106ecac9b02293 |
@@ -1,25 +1,25 @@ | @@ -1,25 +1,25 @@ | |||
1 | $NetBSD: patch-gnatlib_src_gnatcoll__readline.gpr.in,v 1.1 2013/07/09 10:16:02 marino Exp $ | 1 | $NetBSD: patch-gnatlib_src_gnatcoll__readline.gpr.in,v 1.2 2014/05/01 09:00:27 marino Exp $ | |
2 | 2 | |||
3 | Fix Readline support | 3 | Fix Readline support | |
4 | 4 | |||
5 | --- gnatlib/src/gnatcoll_readline.gpr.in.orig 2012-07-13 14:11:00.000000000 +0000 | 5 | --- gnatlib/src/gnatcoll_readline.gpr.in.orig 2012-07-13 14:11:00.000000000 +0000 | |
6 | +++ gnatlib/src/gnatcoll_readline.gpr.in | 6 | +++ gnatlib/src/gnatcoll_readline.gpr.in | |
7 | @@ -6,7 +6,7 @@ project GnatColl_Readline is | 7 | @@ -6,7 +6,7 @@ project GnatColl_Readline is | |
8 | when "yes" => | 8 | when "yes" => | |
9 | for Languages use ("Ada"); | 9 | for Languages use ("Ada"); | |
10 | for Source_Dirs use ("readline", "readline/with_readline"); | 10 | for Source_Dirs use ("readline", "readline/with_readline"); | |
11 | - for Library_Options use ("-lreadline"); | 11 | - for Library_Options use ("-lreadline"); | |
12 | + for Library_Options use ("-L@PREFIX@/lib", "-lreadline"); | 12 | + for Library_Options use ("-L@PREFIX@/lib", "-lreadline"); | |
13 | when "no" => | 13 | when "no" => | |
14 | for Source_Dirs use ("readline", "readline/no_readline"); | 14 | for Source_Dirs use ("readline", "readline/no_readline"); | |
15 | end case; | 15 | end case; | |
16 | @@ -26,7 +26,8 @@ project GnatColl_Readline is | 16 | @@ -26,7 +26,8 @@ project GnatColl_Readline is | |
17 | package Linker is | 17 | package Linker is | |
18 | -- When linking an executable | 18 | -- When linking an executable | |
19 | case Gnatcoll_Shared.Readline is | 19 | case Gnatcoll_Shared.Readline is | |
20 | - when "yes" => for Linker_Options use ("-lreadline"); | 20 | - when "yes" => for Linker_Options use ("-lreadline"); | |
21 | + when "yes" => for Linker_Options use ("-L@PREFIX@/lib", | 21 | + when "yes" => for Linker_Options use ("-rpath=@PREFIX@/lib", | |
22 | + "-lreadline"); | 22 | + "-L@PREFIX@/lib", "-lreadline"); | |
23 | when "no" => null; | 23 | when "no" => null; | |
24 | end case; | 24 | end case; | |
25 | end Linker; | 25 | end Linker; |