summaryrefslogtreecommitdiff
path: root/benchmarks/httperf
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-25 11:09:50 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-25 11:09:50 +0000
commitaa0a0b7fb811b9fbab9a3fc5edd97d9a775c4291 (patch)
tree20a71e434a0684dcc31be7539115b96360ffba6b /benchmarks/httperf
parent481d946868db5ebe0f3a0adf071ec35b66472893 (diff)
downloadpkgsrc-aa0a0b7fb811b9fbab9a3fc5edd97d9a775c4291.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'benchmarks/httperf')
-rw-r--r--benchmarks/httperf/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/benchmarks/httperf/Makefile b/benchmarks/httperf/Makefile
index d2db1b5961a..4afbba5b0ba 100644
--- a/benchmarks/httperf/Makefile
+++ b/benchmarks/httperf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2014/12/03 13:01:47 joerg Exp $
+# $NetBSD: Makefile,v 1.23 2016/02/25 11:09:50 jperkin Exp $
DISTNAME= httperf-0.9.0
PKGREVISION= 1
@@ -18,10 +18,6 @@ CFLAGS+= -DFD_SETSIZE=16424
INSTALL_MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR} \
bindir=${PREFIX}/bin
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS"
-LDFLAGS+= -lsocket -lnsl -lresolv
-.endif
+LDFLAGS.SunOS+= -lsocket -lnsl -lresolv
.include "../../mk/bsd.pkg.mk"