svn commit: r347258 - head/security/opencdk
Baptiste Daroussin
bapt at FreeBSD.org
Thu Mar 6 15:27:05 UTC 2014
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}
More information about the svn-ports-all
mailing list