Date: Thu, 10 Jul 2014 18:52:49 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r361481 - branches/2014Q3/security/openpgpsdk Message-ID: <201407101852.s6AIqnDH051088@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Thu Jul 10 18:52:48 2014 New Revision: 361481 URL: http://svnweb.freebsd.org/changeset/ports/361481 QAT: https://qat.redports.org/buildarchive/r361481/ Log: MFH: r361462 - Fix build with clang (overzealous -Werror) - Add staging support - Respect CFLAGS, LDFLAGS - Convert to new LIB_DEPENDS format - Fix WWW line in pkg-descr Approved by: portmgr (erwin) Modified: branches/2014Q3/security/openpgpsdk/Makefile branches/2014Q3/security/openpgpsdk/pkg-descr Directory Properties: branches/2014Q3/ (props changed) Modified: branches/2014Q3/security/openpgpsdk/Makefile ============================================================================== --- branches/2014Q3/security/openpgpsdk/Makefile Thu Jul 10 18:35:04 2014 (r361480) +++ branches/2014Q3/security/openpgpsdk/Makefile Thu Jul 10 18:52:48 2014 (r361481) @@ -11,7 +11,7 @@ MAINTAINER= miwi@FreeBSD.org COMMENT= OpenPGP SDK BUILD_DEPENDS= gpg2:${PORTSDIR}/security/gnupg -LIB_DEPENDS= cunit.1:${PORTSDIR}/devel/cunit +LIB_DEPENDS= libcunit.so:${PORTSDIR}/devel/cunit USES= perl5 HAS_CONFIGURE= yes @@ -19,9 +19,13 @@ CONFIGURE_ARGS= --without-idea --with-cu PLIST_FILES= bin/openpgp lib/libops.a -NO_STAGE= yes +post-patch: + @${REINPLACE_CMD} 's|-Werror -W -g|${CFLAGS}|' ${WRKSRC}/configure + @${FIND} ${WRKSRC} -name Makefile.template -exec ${REINPLACE_CMD} \ + 's|-Werror -g|${CFLAGS}|; /^LDFLAGS/ s|-g|${LDFLAGS}|' {} \; + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/openpgp ${PREFIX}/bin/ - ${INSTALL_DATA} ${WRKSRC}/lib/libops.a ${PREFIX}/lib/ + ${INSTALL_PROGRAM} ${WRKSRC}/bin/openpgp ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/lib/libops.a ${STAGEDIR}${PREFIX}/lib .include <bsd.port.mk> Modified: branches/2014Q3/security/openpgpsdk/pkg-descr ============================================================================== --- branches/2014Q3/security/openpgpsdk/pkg-descr Thu Jul 10 18:35:04 2014 (r361480) +++ branches/2014Q3/security/openpgpsdk/pkg-descr Thu Jul 10 18:52:48 2014 (r361481) @@ -1,4 +1,4 @@ The OpenPGP SDK project provides an open source library, written in C, which implements the OpenPGP specification. -WWW: http://openpgp.nominet.org.uk/ +WWW: http://openpgp.nominet.org.uk/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407101852.s6AIqnDH051088>