Date: Thu, 15 May 2014 11:11:58 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r354108 - in head/devel/adacurses: . files Message-ID: <201405151111.s4FBBwfP030982@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Thu May 15 11:11:58 2014 New Revision: 354108 URL: http://svnweb.freebsd.org/changeset/ports/354108 QAT: https://qat.redports.org/buildarchive/r354108/ Log: devel/adacurses: Fix linking options on adacurses.gpr The options weren't getting sent to the linker. Moreover, the -lncurses switch was not required and runpath switches are required, otherwise the realtime linker finds the system libncurses before the ports version. Use "Linker_Options" instead of "Switches" to enable linker options. Reported by: Natacha Porte Modified: head/devel/adacurses/Makefile head/devel/adacurses/files/adacurses.gpr.in Modified: head/devel/adacurses/Makefile ============================================================================== --- head/devel/adacurses/Makefile Thu May 15 10:45:20 2014 (r354107) +++ head/devel/adacurses/Makefile Thu May 15 11:11:58 2014 (r354108) @@ -3,7 +3,7 @@ PORTNAME= adacurses PORTVERSION= 20110404 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= ftp://invisible-island.net/AdaCurses/ DISTNAME= AdaCurses-${PORTVERSION} Modified: head/devel/adacurses/files/adacurses.gpr.in ============================================================================== --- head/devel/adacurses/files/adacurses.gpr.in Thu May 15 10:45:20 2014 (r354107) +++ head/devel/adacurses/files/adacurses.gpr.in Thu May 15 11:11:58 2014 (r354108) @@ -9,7 +9,7 @@ library project ADACURSES is for Externally_Built use "True"; package Linker is - for switches ("Ada") use ("-L@PREFIX@/lib", "-lncurses"); + for Linker_Options use ("-L@PREFIX@/lib", "-Wl,-R,@PREFIX@/lib"); end Linker; end ADACURSES;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405151111.s4FBBwfP030982>