aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ioping
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-09-22 16:36:55 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-09-22 16:36:55 +0000
commitec3a8f980d30b3b2514a60a1a6473e6930716282 (patch)
tree02672c9d2b97d354eaa19018a5c105a293962e13 /sysutils/ioping
parentdbe96c31dc6d91337c6b6296aff60cb0bed53f38 (diff)
downloadports-ec3a8f980d30b3b2514a60a1a6473e6930716282.tar.gz
ports-ec3a8f980d30b3b2514a60a1a6473e6930716282.zip
Notes
Diffstat (limited to 'sysutils/ioping')
-rw-r--r--sysutils/ioping/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysutils/ioping/Makefile b/sysutils/ioping/Makefile
index 75cc3fef4edf..048d46a95e68 100644
--- a/sysutils/ioping/Makefile
+++ b/sysutils/ioping/Makefile
@@ -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