From owner-svn-ports-head@FreeBSD.ORG Thu Mar 6 15:27:05 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 619D9AC8; Thu, 6 Mar 2014 15:27:05 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4E2A722A; Thu, 6 Mar 2014 15:27:05 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s26FR5BJ059428; Thu, 6 Mar 2014 15:27:05 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s26FR5hO059427; Thu, 6 Mar 2014 15:27:05 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201403061527.s26FR5hO059427@svn.freebsd.org> From: Baptiste Daroussin Date: Thu, 6 Mar 2014 15:27:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r347258 - head/security/opencdk X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2014 15:27:05 -0000 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}