From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jan 19 14:40:03 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A0872D13 for ; Sun, 19 Jan 2014 14:40:03 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (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 7303D11FF for ; Sun, 19 Jan 2014 14:40:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0JEe3A8002350 for ; Sun, 19 Jan 2014 14:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0JEe3NT002349; Sun, 19 Jan 2014 14:40:03 GMT (envelope-from gnats) Date: Sun, 19 Jan 2014 14:40:03 GMT Message-Id: <201401191440.s0JEe3NT002349@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: ports/185334: commit references a PR X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: dfilter service List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2014 14:40:03 -0000 The following reply was made to PR ports/185334; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/185334: commit references a PR Date: Sun, 19 Jan 2014 14:32:16 +0000 (UTC) Author: miwi Date: Sun Jan 19 14:32:08 2014 New Revision: 340310 URL: http://svnweb.freebsd.org/changeset/ports/340310 QAT: https://qat.redports.org/buildarchive/r340310/ Log: - Fix build with clang PR: 185334 Submitted by: ports fury Modified: head/security/poly1305aes/Makefile (contents, props changed) Modified: head/security/poly1305aes/Makefile ============================================================================== --- head/security/poly1305aes/Makefile Sun Jan 19 14:31:27 2014 (r340309) +++ head/security/poly1305aes/Makefile Sun Jan 19 14:32:08 2014 (r340310) @@ -7,23 +7,36 @@ CATEGORIES= security MASTER_SITES= http://cr.yp.to/mac/ MAINTAINER= ports@FreeBSD.org -COMMENT= The poly1305 message authentication reference implementation using AES +COMMENT= Poly1305 message authentication reference implementation using AES -CC+= ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${STRIP} ALL_TARGET= default -REPLACE_HDRS= aes.h cpucycles.h poly1305aes.h -PROGRAM_FILES= poly1305aes-speed test-aes test-poly1305aes +CC+= ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} + +NOT_FOR_ARCHS= amd64 + +.include + +pre-build: +.if ${ARCH} == "i386" + @${ECHO_CMD} "ppro" > ${WRKSRC}/poly1305aes.impl +.endif + +post-build: +.for i in aes.h cpucycles.h poly1305aes.h + @${REINPLACE_CMD} -e \ + 's|#include "|#include "poly1305/|' ${WRKSRC}/${i} +.endfor -NO_STAGE= yes do-install: - ${MKDIR} ${PREFIX}/include/poly1305 - ${INSTALL_DATA} ${WRKSRC}/*_*.h ${PREFIX}/include/poly1305/ -.for i in ${REPLACE_HDRS} - ${REINPLACE_CMD} -e "s,#include \",#include \"poly1305/," ${WRKSRC}/$i > ${WRKSRC}/$i.fixed - ${INSTALL_DATA} ${WRKSRC}/$i.fixed ${PREFIX}/include/poly1305/$i - ${INSTALL_DATA} ${WRKSRC}/*.a ${PREFIX}/lib/ - ${INSTALL_DATA} ${PROGRAM_FILES:S,^,${WRKSRC}/,} ${PREFIX}/bin/ +.for i in poly1305aes-speed test-aes test-poly1305aes + (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${i} \ + ${STAGEDIR}${PREFIX}/bin) .endfor + @${MKDIR} ${STAGEDIR}${PREFIX}/include/poly1305 + (cd ${WRKSRC} && ${INSTALL_DATA} *.h \ + ${STAGEDIR}${PREFIX}/include/poly1305) + (cd ${WRKSRC} && ${INSTALL_DATA} *.a \ + ${STAGEDIR}${PREFIX}/lib) -.include +.include _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"