pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/benchmarks/netio Use "PTHREAD_LIBS" in build phase to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d6f85f6e235d
branches:  trunk
changeset: 498011:d6f85f6e235d
user:      tron <tron%pkgsrc.org@localhost>
date:      Wed Aug 10 06:57:07 2005 +0000

description:
Use "PTHREAD_LIBS" in build phase to make sure that this builds on
platforms without a "-pthread" option supported by the compiler.

diffstat:

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

diffs (18 lines):

diff -r da9e8f5ef670 -r d6f85f6e235d benchmarks/netio/Makefile
--- a/benchmarks/netio/Makefile Wed Aug 10 06:28:42 2005 +0000
+++ b/benchmarks/netio/Makefile Wed Aug 10 06:57:07 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2005/08/09 22:47:09 tron Exp $
+# $NetBSD: Makefile,v 1.12 2005/08/10 06:57:07 tron Exp $
 
 DISTNAME=      netio123
 PKGNAME=       netio-1.23
@@ -16,7 +16,7 @@
 WRKSRC=                ${WRKDIR}
 MAKE_FLAGS+=   CC="${CC}" CFLAGS="-DUNIX ${PTHREAD_CFLAGS} ${CFLAGS}" \
                LFLAGS="${PTHREAD_LDFLAGS} ${LDFLAGS}" \
-               LIBS="${LIBS}" O=.o OUT=-o X=
+               LIBS="${PTHREAD_LIBS} ${LIBS}" O=.o OUT=-o X=
 
 .include "../../mk/bsd.prefs.mk"
 



Home | Main Index | Thread Index | Old Index