svn commit: r354108 - in head/devel/adacurses: . files

John Marino marino at FreeBSD.org
Thu May 15 11:11:59 UTC 2014


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 at PREFIX@/lib", "-lncurses");
+      for Linker_Options use ("-L at PREFIX@/lib", "-Wl,-R, at PREFIX@/lib");
    end Linker;
 
 end ADACURSES;


More information about the svn-ports-all mailing list