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).
This commit is contained in:
parent
4d83dfc824
commit
76dd4af2ff
1 changed files with 5 additions and 1 deletions
|
@ -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 @@ LICENSE= gnu-lgpl-v2
|
|||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue