FreeBSD Bugzilla – Attachment 130975 Details for
Bug 175010
benchmarks/flops: Fix build with clang
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.54 KB, created by
tkato432
on 2013-01-05 18:10:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2013-01-05 18:10:00 UTC
Size:
1.54 KB
patch
obsolete
>diff -urN /usr/ports/benchmarks/flops/Makefile benchmarks/flops/Makefile >--- /usr/ports/benchmarks/flops/Makefile 2012-11-08 08:17:19.000000000 +0900 >+++ benchmarks/flops/Makefile 2013-01-02 02:26:50.000000000 +0900 >@@ -1,34 +1,39 @@ >-# New ports collection makefile for: flops >-# Date created: 06 Jul 2005 >-# Whom: Alexey Dokuchaev <danfe@FreeBSD.org> >-# >+# Created by: Alexey Dokuchaev <danfe@FreeBSD.org> > # $FreeBSD: head/benchmarks/flops/Makefile 300895 2012-07-14 12:56:14Z beat $ >-# > > PORTNAME= flops > PORTVERSION= 2.0 > CATEGORIES= benchmarks > MASTER_SITES= http://mbsd.msk.ru/dist/ > DISTFILES= ${PORTNAME}.c ${PORTNAME}.doc >+EXTRACT_ONLY= # > > MAINTAINER= ports@FreeBSD.org > COMMENT= Floating point benchmark to give your MFLOPS rating > >-PLIST_FILES= bin/flops >+NO_WRKSUBDIR= yes >+ > PORTDOCS= flops.doc >+PLIST_FILES= bin/flops >+ >+.include <bsd.port.options.mk> > >-do-extract: .SILENT >- ${MKDIR} ${WRKSRC} >- ${CP} ${DISTDIR}/flops.c ${DISTDIR}/flops.doc ${WRKSRC} >+post-extract: >+ @(cd ${DISTDIR} && ${TAR} -cf - ${DISTFILES}) | \ >+ (cd ${WRKSRC} && ${TAR} -xf -) >+ >+post-patch: >+ @${REINPLACE_CMD} -e \ >+ 's|^void main|int main|' ${WRKSRC}/flops.c > > do-build: > (cd ${WRKSRC} && ${CC} ${CFLAGS} -DUNIX -o flops flops.c) > > do-install: >- ${INSTALL_PROGRAM} ${WRKSRC}/flops ${PREFIX}/bin >-.if !defined(NOPORTDOCS) >+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} flops ${PREFIX}/bin) >+.if ${PORT_OPTIONS:MDOCS} > @${MKDIR} ${DOCSDIR} >- ${INSTALL_DATA} ${WRKSRC}/flops.doc ${DOCSDIR} >+ (cd ${WRKSRC} && ${INSTALL_DATA} flops.doc ${DOCSDIR}) > .endif > > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 175010
: 130975