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