pkgsrc-Changes archive

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

CVS commit: pkgsrc/multimedia/xine-lib



Module Name:    pkgsrc
Committed By:   vins
Date:           Wed Dec 21 19:45:01 UTC 2022

Modified Files:
        pkgsrc/multimedia/xine-lib: Makefile

Log Message:
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).


To generate a diff of this commit:
cvs rdiff -u -r1.189 -r1.190 pkgsrc/multimedia/xine-lib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/xine-lib/Makefile
diff -u pkgsrc/multimedia/xine-lib/Makefile:1.189 pkgsrc/multimedia/xine-lib/Makefile:1.190
--- pkgsrc/multimedia/xine-lib/Makefile:1.189   Fri Dec  2 15:06:22 2022
+++ pkgsrc/multimedia/xine-lib/Makefile Wed Dec 21 19:45:01 2022
@@ -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



Home | Main Index | Thread Index | Old Index