Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Sep 2012 17:52:50 +0000 (UTC)
From:      Beat Gaetzi <beat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304849 - head/benchmarks/wrk
Message-ID:  <201209251752.q8PHqoUl070167@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: beat
Date: Tue Sep 25 17:52:49 2012
New Revision: 304849
URL: http://svn.freebsd.org/changeset/ports/304849

Log:
  - Mark BROKEN on FreeBSD 7.x: does not link
    undefined reference to `sqrtl'
  
  Reported by:	pointyhat

Modified:
  head/benchmarks/wrk/Makefile

Modified: head/benchmarks/wrk/Makefile
==============================================================================
--- head/benchmarks/wrk/Makefile	Tue Sep 25 17:46:28 2012	(r304848)
+++ head/benchmarks/wrk/Makefile	Tue Sep 25 17:52:49 2012	(r304849)
@@ -24,10 +24,16 @@ CFLAGS+=	-std=c99 -D_DECLARE_C99_LDBL_MA
 
 PLIST_FILES=	bin/wrk
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 800000
+BROKEN=		does not link on FreeBSD 7.x
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} '1d' ${WRKSRC}/Makefile
 
 do-install:
 	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209251752.q8PHqoUl070167>