pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/xine-lib multimedia/xine-lib: enable PTHREA...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/884cafaf101d
branches:  trunk
changeset: 390539:884cafaf101d
user:      vins <vins%pkgsrc.org@localhost>
date:      Wed Dec 21 19:45:01 2022 +0000

description:
multimedia/xine-lib: enable PTHREAD_AUTO_VARS.

Use PTHREAD_AUTO_VARS to automatically handle pthread variables,
removing default.

Skip building the package if no pthread implementantion is found,
as the package fails at configure stage otherwise.

Fixes building on NetBSD (tested on 10.0_BETA).

diffstat:

 multimedia/xine-lib/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 64029c4f6f0c -r 884cafaf101d multimedia/xine-lib/Makefile
--- a/multimedia/xine-lib/Makefile      Wed Dec 21 19:25:06 2022 +0000
+++ b/multimedia/xine-lib/Makefile      Wed Dec 21 19:45:01 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.189 2022/12/02 15:06:22 jperkin Exp $
+# $NetBSD: Makefile,v 1.190 2022/12/21 19:45:01 vins Exp $
 
 PKGREVISION= 11
 .include "Makefile.common"
@@ -8,6 +8,10 @@
 
 CONFLICTS+=            xine-xcb-[0-9]*
 
+PTHREAD_OPTS+=         require
+PTHREAD_AUTO_VARS=     yes
+BUILDLINK_TRANSFORM+=  rm:-lpthread
+
 CONFIGURE_ARGS+=       --disable-v4l
 CONFIGURE_ARGS+=       --disable-v4l2
 CONFIGURE_ARGS+=       --disable-real-codecs



Home | Main Index | Thread Index | Old Index