Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Aug 2016 04:24:10 +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: r419796 - head/devel/pcsc-ada
Message-ID:  <201608080424.u784OABn078888@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Mon Aug  8 04:24:10 2016
New Revision: 419796
URL: https://svnweb.freebsd.org/changeset/ports/419796

Log:
  devel/pcsc-ada: Fix build on DragonFly
  
  The Linker_Options pragma was removed upstream and the linker options
  moved to the common GPR file.  Extend the sed command to add the
  -L/usr/local/lib LDFLAG for examples rather than have to patch several
  individual files.  Needed by DF where /usr/local/lib is not a default
  library path for the base compiler.

Modified:
  head/devel/pcsc-ada/Makefile

Modified: head/devel/pcsc-ada/Makefile
==============================================================================
--- head/devel/pcsc-ada/Makefile	Mon Aug  8 03:19:34 2016	(r419795)
+++ head/devel/pcsc-ada/Makefile	Mon Aug  8 04:24:10 2016	(r419796)
@@ -41,15 +41,8 @@ INTF_TEST_ALL_TARGET=	itests
 
 post-patch:
 	${REINPLACE_CMD} -e 's|"-lpcsclite"|${GPRLINK}|' \
+		${WRKSRC}/pcscada_common.gpr \
 		${WRKSRC}/pcscada_lib.gpr
-	${REINPLACE_CMD} -e 's|gnaty.*|gnatyd",|' ${WRKSRC}/pcscada_common.gpr
-	(cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|"-lpcsclite");|"-L${LOCALBASE}/lib"); pragma Linker_Options ("-lpcsclite");|' \
-		examples/cardd/cardd.adb \
-		examples/sample/sample.adb \
-		examples/pinverify/pinpad.adb \
-		examples/thin/thin_example.adb \
-		tests/runner.adb \
-		tests/test_pcscada.adb)
 
 do-build:
 #	We cannot use a redefined ALL_TARGET because MAKE_JOBS_SAFE is set



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608080424.u784OABn078888>