Mon May 29 12:26:40 2017 UTC ()
Explain use of PTHREAD_AUTO_VARS

Upstream's makefile is missing PTHREAD vars in the rules for parse.


(gdt)
diff -r1.24 -r1.25 pkgsrc/security/ccid/Makefile

cvs diff -r1.24 -r1.25 pkgsrc/security/ccid/Makefile (expand / switch to unified diff)

--- pkgsrc/security/ccid/Makefile 2017/05/28 14:32:49 1.24
+++ pkgsrc/security/ccid/Makefile 2017/05/29 12:26:40 1.25
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.24 2017/05/28 14:32:49 rumko Exp $ 1# $NetBSD: Makefile,v 1.25 2017/05/29 12:26:40 gdt Exp $
2# 2#
3 3
4DISTNAME= ccid-1.4.26 4DISTNAME= ccid-1.4.26
5PKGREVISION= 1 5PKGREVISION= 1
6CATEGORIES= security 6CATEGORIES= security
7# Note that the MASTER_SITES URL is not stable with version changes, 7# Note that the MASTER_SITES URL is not stable with version changes,
8# and one can end up with an old version if DISTNAME is changed but 8# and one can end up with an old version if DISTNAME is changed but
9# not the magic number in MASTER_SITES. 9# not the magic number in MASTER_SITES.
10# https://alioth.debian.org/frs/?group_id=30105#title_ccid 10# https://alioth.debian.org/frs/?group_id=30105#title_ccid
11MASTER_SITES= https://alioth.debian.org/frs/download.php/file/4205/ 11MASTER_SITES= https://alioth.debian.org/frs/download.php/file/4205/
12EXTRACT_SUFX= .tar.bz2 12EXTRACT_SUFX= .tar.bz2
13 13
14MAINTAINER= gdt@NetBSD.org 14MAINTAINER= gdt@NetBSD.org
@@ -16,26 +16,29 @@ HOMEPAGE= http://pcsclite.alioth.debian. @@ -16,26 +16,29 @@ HOMEPAGE= http://pcsclite.alioth.debian.
16COMMENT= Middleware to access a smart card using SCard API (PC/SC) 16COMMENT= Middleware to access a smart card using SCard API (PC/SC)
17LICENSE= gnu-lgpl-v2.1 17LICENSE= gnu-lgpl-v2.1
18 18
19.include "../../mk/bsd.prefs.mk" 19.include "../../mk/bsd.prefs.mk"
20 20
21BUILD_DEFS= VARBASE 21BUILD_DEFS= VARBASE
22 22
23GNU_CONFIGURE= yes 23GNU_CONFIGURE= yes
24USE_LIBTOOL= yes 24USE_LIBTOOL= yes
25USE_TOOLS+= pkg-config 25USE_TOOLS+= pkg-config
26USE_TOOLS+= autoconf automake aclocal autoheader 26USE_TOOLS+= autoconf automake aclocal autoheader
27USE_TOOLS+= flex perl 27USE_TOOLS+= flex perl
28USE_LANGUAGES= c c++ 28USE_LANGUAGES= c c++
 29
 30# Work around a bug where the rules for parse do not include the
 31# PTHREAD vars. Not yet reported upstream.
29PTHREAD_AUTO_VARS= yes 32PTHREAD_AUTO_VARS= yes
30 33
31CONFIGURE_ARGS+= --sharedstatedir=${VARBASE:Q} 34CONFIGURE_ARGS+= --sharedstatedir=${VARBASE:Q}
32CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} 35CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
33 36
34REPLACE_PERL= src/convert_version.pl src/create_Info_plist.pl 37REPLACE_PERL= src/convert_version.pl src/create_Info_plist.pl
35 38
36INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8 39INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
37INSTALLATION_DIRS+= sbin share/doc/ccid 40INSTALLATION_DIRS+= sbin share/doc/ccid
38 41
39pre-configure: 42pre-configure:
40 cd ${WRKSRC} && ${SH} bootstrap 43 cd ${WRKSRC} && ${SH} bootstrap
41 44