pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/onyx When using pth as thread implementation, als...
details: https://anonhg.NetBSD.org/pkgsrc/rev/71e2bbfee9c9
branches: trunk
changeset: 519577:71e2bbfee9c9
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Oct 05 16:07:58 2006 +0000
description:
When using pth as thread implementation, also include pthread-sem.
Supposed to fix PR 26051.
diffstat:
lang/onyx/Makefile | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (21 lines):
diff -r ec81bf7beb1f -r 71e2bbfee9c9 lang/onyx/Makefile
--- a/lang/onyx/Makefile Thu Oct 05 15:22:11 2006 +0000
+++ b/lang/onyx/Makefile Thu Oct 05 16:07:58 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2006/04/06 06:22:12 reed Exp $
+# $NetBSD: Makefile,v 1.20 2006/10/05 16:07:58 joerg Exp $
DISTNAME= onyx-${VERS}
PKGREVISION= 2
@@ -35,8 +35,9 @@
.include "../../devel/pcre/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
-.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
-CONFIGURE_ARGS+= --disable-threads
+.if ${PTHREAD_TYPE} == "pth"
+.include "../../devel/pthread-sem/buildlink3.mk"
+LIBS+= -lsemaphore
.endif
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index