diff options
author | marino <marino@FreeBSD.org> | 2014-05-01 17:23:15 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-05-01 17:23:15 +0800 |
commit | 9c8d17f35d5189f3d4ef71f48e1c101d112ce4b8 (patch) | |
tree | 77b4da16a321ec851f3d95fcae2c23811e4bb6da /devel | |
parent | 64d003637b0ed7ba52fdad9989889a8cbb35ed5e (diff) | |
download | freebsd-ports-gnome-9c8d17f35d5189f3d4ef71f48e1c101d112ce4b8.tar.gz freebsd-ports-gnome-9c8d17f35d5189f3d4ef71f48e1c101d112ce4b8.tar.zst freebsd-ports-gnome-9c8d17f35d5189f3d4ef71f48e1c101d112ce4b8.zip |
devel/gps: link gnatinspector with -rpath definition
Missing rpath for readline library for the gnatinspector program was
detected by pkgsrc checks; fix comes from pkgsrc. It won't really
come into play for FreeBSD until readline is removed from base because
currently gps defaults to the base version on FreeBSD.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/gps/Makefile | 2 | ||||
-rw-r--r-- | devel/gps/files/patch-gnatlib_src_gnatcoll__readline.gpr.in | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/devel/gps/Makefile b/devel/gps/Makefile index 1f7d98412263..16633363e674 100644 --- a/devel/gps/Makefile +++ b/devel/gps/Makefile @@ -3,7 +3,7 @@ PORTNAME= gps PORTVERSION= 5.2.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= http://downloads.dragonlace.net/src/ DISTNAME= gps-5.2.1-1-src diff --git a/devel/gps/files/patch-gnatlib_src_gnatcoll__readline.gpr.in b/devel/gps/files/patch-gnatlib_src_gnatcoll__readline.gpr.in index 8e1b06646d24..b9f3bed4a092 100644 --- a/devel/gps/files/patch-gnatlib_src_gnatcoll__readline.gpr.in +++ b/devel/gps/files/patch-gnatlib_src_gnatcoll__readline.gpr.in @@ -14,8 +14,8 @@ -- When linking an executable case Gnatcoll_Shared.Readline is - when "yes" => for Linker_Options use ("-lreadline"); -+ when "yes" => for Linker_Options use ("-L@PREFIX@/lib", -+ "-lreadline"); ++ when "yes" => for Linker_Options use ("-rpath=@PREFIX@/lib", ++ "-L@PREFIX@/lib", "-lreadline"); when "no" => null; end case; end Linker; |