Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 2014 16:36:55 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368973 - head/sysutils/ioping
Message-ID:  <201409221636.s8MGatjH086766@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Mon Sep 22 16:36:55 2014
New Revision: 368973
URL: http://svnweb.freebsd.org/changeset/ports/368973
QAT: https://qat.redports.org/buildarchive/r368973/

Log:
  Port uses sqrt(3) so link with libm
  
  Reported by:	sbruno

Modified:
  head/sysutils/ioping/Makefile

Modified: head/sysutils/ioping/Makefile
==============================================================================
--- head/sysutils/ioping/Makefile	Mon Sep 22 16:26:46 2014	(r368972)
+++ head/sysutils/ioping/Makefile	Mon Sep 22 16:36:55 2014	(r368973)
@@ -13,11 +13,9 @@ LICENSE=	GPLv3
 
 PLIST_FILES=	bin/ioping man/man1/ioping.1.gz
 
-MAKE_ENV=	VERSION=${PORTVERSION}
-
 do-build:
-	cd ${WRKSRC}; \
-	${SETENV} ${MAKE_ENV} ${CC} ${CFLAGS} -DVERSION=${PORTVERSION} ioping.c -o ioping
+	(cd ${WRKSRC} && ${CC} ${CFLAGS} -DVERSION=${PORTVERSION} ioping.c \
+		-o ioping ${LDFLAGS} -lm
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/ioping ${STAGEDIR}${PREFIX}/bin



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