Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2014 15:27:05 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347258 - head/security/opencdk
Message-ID:  <201403061527.s26FR5hO059427@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Mar  6 15:27:04 2014
New Revision: 347258
URL: http://svnweb.freebsd.org/changeset/ports/347258
QAT: https://qat.redports.org/buildarchive/r347258/

Log:
  USES=libtools fixes overlinking but reveals when upstream fails at properly
  define libraries to link against.
  
  Properly link tests binaries with libgcrypt, this fixed builds on 10 and HEAD
  as well as with ports binutils (ld(1) is not recursive in those case)
  
  Reported by:	novel, pkg-fallout

Modified:
  head/security/opencdk/Makefile

Modified: head/security/opencdk/Makefile
==============================================================================
--- head/security/opencdk/Makefile	Thu Mar  6 15:13:31 2014	(r347257)
+++ head/security/opencdk/Makefile	Thu Mar  6 15:27:04 2014	(r347258)
@@ -24,6 +24,9 @@ CONFIGURE_ARGS=	--with-libgcrypt-prefix=
 
 DOCS=		AUTHORS NEWS README THANKS doc/opencdk-api.html
 
+post-patch:
+	@${REINPLACE_CMD} -e '/^LDADD/ s/$$/ $$(LIBGCRYPT_LIBS)/' ${WRKSRC}/tests/Makefile.in
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/tests/*.c ${STAGEDIR}${EXAMPLESDIR}



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