pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/benchmarks/netio Simplify the check for SunOS, LIBS.Su...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/678d5eb7d42a
branches:  trunk
changeset: 498012:678d5eb7d42a
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Wed Aug 10 07:03:13 2005 +0000

description:
Simplify the check for SunOS, LIBS.SunOS is enough.

diffstat:

 benchmarks/netio/Makefile |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (20 lines):

diff -r d6f85f6e235d -r 678d5eb7d42a benchmarks/netio/Makefile
--- a/benchmarks/netio/Makefile Wed Aug 10 06:57:07 2005 +0000
+++ b/benchmarks/netio/Makefile Wed Aug 10 07:03:13 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2005/08/10 06:57:07 tron Exp $
+# $NetBSD: Makefile,v 1.13 2005/08/10 07:03:13 xtraeme Exp $
 
 DISTNAME=      netio123
 PKGNAME=       netio-1.23
@@ -20,9 +20,7 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-.if (${OPSYS} == SunOS)
-LIBS+=         -lsocket -lnsl
-.endif
+LIBS.SunOS+=   -lsocket -lnsl
 
 INSTALLATION_DIRS=     bin
 



Home | Main Index | Thread Index | Old Index