Sun May 28 14:32:49 2017 UTC ()
security/ccid: include pthread related flags in CFLAGS & co.

At least on fbsd, it won't compile due to not linking to the
pthread libraries.

Bump PKGREVISION just in case.

Ok@ gdt


(rumko)
diff -r1.23 -r1.24 pkgsrc/security/ccid/Makefile

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

--- pkgsrc/security/ccid/Makefile 2017/02/16 14:30:50 1.23
+++ pkgsrc/security/ccid/Makefile 2017/05/28 14:32:49 1.24
@@ -1,40 +1,42 @@ @@ -1,40 +1,42 @@
1# $NetBSD: Makefile,v 1.23 2017/02/16 14:30:50 gdt Exp $ 1# $NetBSD: Makefile,v 1.24 2017/05/28 14:32:49 rumko Exp $
2# 2#
3 3
4DISTNAME= ccid-1.4.26 4DISTNAME= ccid-1.4.26
 5PKGREVISION= 1
5CATEGORIES= security 6CATEGORIES= security
6# 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,
7# 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
8# not the magic number in MASTER_SITES. 9# not the magic number in MASTER_SITES.
9# https://alioth.debian.org/frs/?group_id=30105#title_ccid 10# https://alioth.debian.org/frs/?group_id=30105#title_ccid
10MASTER_SITES= https://alioth.debian.org/frs/download.php/file/4205/ 11MASTER_SITES= https://alioth.debian.org/frs/download.php/file/4205/
11EXTRACT_SUFX= .tar.bz2 12EXTRACT_SUFX= .tar.bz2
12 13
13MAINTAINER= gdt@NetBSD.org 14MAINTAINER= gdt@NetBSD.org
14HOMEPAGE= http://pcsclite.alioth.debian.org/ccid.html 15HOMEPAGE= http://pcsclite.alioth.debian.org/ccid.html
15COMMENT= Middleware to access a smart card using SCard API (PC/SC) 16COMMENT= Middleware to access a smart card using SCard API (PC/SC)
16LICENSE= gnu-lgpl-v2.1 17LICENSE= gnu-lgpl-v2.1
17 18
18.include "../../mk/bsd.prefs.mk" 19.include "../../mk/bsd.prefs.mk"
19 20
20BUILD_DEFS= VARBASE 21BUILD_DEFS= VARBASE
21 22
22GNU_CONFIGURE= yes 23GNU_CONFIGURE= yes
23USE_LIBTOOL= yes 24USE_LIBTOOL= yes
24USE_TOOLS+= pkg-config 25USE_TOOLS+= pkg-config
25USE_TOOLS+= autoconf automake aclocal autoheader 26USE_TOOLS+= autoconf automake aclocal autoheader
26USE_TOOLS+= flex perl 27USE_TOOLS+= flex perl
27USE_LANGUAGES= c c++ 28USE_LANGUAGES= c c++
 29PTHREAD_AUTO_VARS= yes
28 30
29CONFIGURE_ARGS+= --sharedstatedir=${VARBASE:Q} 31CONFIGURE_ARGS+= --sharedstatedir=${VARBASE:Q}
30CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} 32CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
31 33
32REPLACE_PERL= src/convert_version.pl src/create_Info_plist.pl 34REPLACE_PERL= src/convert_version.pl src/create_Info_plist.pl
33 35
34INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8 36INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
35INSTALLATION_DIRS+= sbin share/doc/ccid 37INSTALLATION_DIRS+= sbin share/doc/ccid
36 38
37pre-configure: 39pre-configure:
38 cd ${WRKSRC} && ${SH} bootstrap 40 cd ${WRKSRC} && ${SH} bootstrap
39 41
40post-install: 42post-install: