svn commit: r419796 - head/devel/pcsc-ada

John Marino marino at FreeBSD.org
Mon Aug 8 04:24:11 UTC 2016


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


More information about the svn-ports-all mailing list