pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/opensp Use PTHREAD_OPTS+=require instead of i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fe356e9e25ea
branches:  trunk
changeset: 475927:fe356e9e25ea
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Sat May 29 20:45:34 2004 +0000

description:
Use PTHREAD_OPTS+=require instead of implementing the same functionality
using if ${PTHREAD_TYPE} == "none" etc,  and use the blessed pthread
package instead of depending on devel/unproven-pthreads.

Bump PKGREVISION.

diffstat:

 textproc/opensp/Makefile      |  9 +++------
 textproc/opensp/buildlink3.mk |  8 ++------
 2 files changed, 5 insertions(+), 12 deletions(-)

diffs (56 lines):

diff -r 54f758f6b2ab -r fe356e9e25ea textproc/opensp/Makefile
--- a/textproc/opensp/Makefile  Sat May 29 18:16:15 2004 +0000
+++ b/textproc/opensp/Makefile  Sat May 29 20:45:34 2004 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.20 2004/05/19 05:42:38 minskim Exp $
+# $NetBSD: Makefile,v 1.21 2004/05/29 20:45:34 kristerw Exp $
 #
 
 DISTNAME=      OpenSP-1.5.1
 PKGNAME=       ${DISTNAME:S/OpenSP/opensp/}
+PKGREVISION=   1
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=openjade/}
 
@@ -15,7 +16,7 @@
 USE_BUILDLINK3=                yes
 USE_PERL5=             build
 USE_LIBTOOL=           yes
-PTHREAD_OPTS+=         native
+PTHREAD_OPTS+=         require
 
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --enable-http \
@@ -24,8 +25,4 @@
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 
-.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")
-.  include "../../devel/unproven-pthreads/buildlink3.mk"
-.endif
-
 .include "../../mk/bsd.pkg.mk"
diff -r 54f758f6b2ab -r fe356e9e25ea textproc/opensp/buildlink3.mk
--- a/textproc/opensp/buildlink3.mk     Sat May 29 18:16:15 2004 +0000
+++ b/textproc/opensp/buildlink3.mk     Sat May 29 20:45:34 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2004/05/19 05:42:38 minskim Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2004/05/29 20:45:34 kristerw Exp $
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 OPENSP_BUILDLINK3_MK:= ${OPENSP_BUILDLINK3_MK}+
@@ -15,13 +15,9 @@
 BUILDLINK_PKGSRCDIR.opensp?=   ../../textproc/opensp
 .endif # OPENSP_BUILDLINK3_MK
 
-PTHREAD_OPTS+=          native
+PTHREAD_OPTS+=          require
 
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 
-.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")
-.  include "../../devel/unproven-pthreads/buildlink3.mk"
-.endif
-
 BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index