| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.82 2017/08/01 11:48:20 ryoon Exp $ | | 1 | # $NetBSD: Makefile,v 1.83 2017/08/10 18:49:17 tron Exp $ |
2 | | | 2 | |
3 | DISTNAME= gpgme-1.8.0 | | 3 | DISTNAME= gpgme-1.8.0 |
4 | PKGREVISION= 1 | | 4 | PKGREVISION= 1 |
5 | CATEGORIES= security | | 5 | CATEGORIES= security |
6 | MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gpgme/ | | 6 | MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gpgme/ |
7 | EXTRACT_SUFX= .tar.bz2 | | 7 | EXTRACT_SUFX= .tar.bz2 |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://www.gnupg.org/related_software/gpgme/ | | 10 | HOMEPAGE= http://www.gnupg.org/related_software/gpgme/ |
11 | COMMENT= GnuPG Made Easy | | 11 | COMMENT= GnuPG Made Easy |
12 | LICENSE= gnu-gpl-v2 | | 12 | LICENSE= gnu-gpl-v2 |
13 | | | 13 | |
14 | USE_LANGUAGES+= c c++ | | 14 | USE_LANGUAGES+= c c++ |
| @@ -18,26 +18,27 @@ GNU_CONFIGURE= yes | | | @@ -18,26 +18,27 @@ GNU_CONFIGURE= yes |
18 | PTHREAD_OPTS+= require | | 18 | PTHREAD_OPTS+= require |
19 | INFO_FILES= yes | | 19 | INFO_FILES= yes |
20 | | | 20 | |
21 | # turn off swig/python detection; there is no configure flag as of 1.8.0 | | 21 | # turn off swig/python detection; there is no configure flag as of 1.8.0 |
22 | # https://dev.gnupg.org/T3057 | | 22 | # https://dev.gnupg.org/T3057 |
23 | CONFIGURE_ENV+= ac_cv_path_SWIG= | | 23 | CONFIGURE_ENV+= ac_cv_path_SWIG= |
24 | | | 24 | |
25 | SUBST_CLASSES+= pthread | | 25 | SUBST_CLASSES+= pthread |
26 | SUBST_FILES.pthread= src/gpgme-config.in | | 26 | SUBST_FILES.pthread= src/gpgme-config.in |
27 | SUBST_SED.pthread+= -e 's,@PTHREAD_LIBS@,${PTHREAD_LDFLAGS} ${PTHREAD_LIBS},g' | | 27 | SUBST_SED.pthread+= -e 's,@PTHREAD_LIBS@,${PTHREAD_LDFLAGS} ${PTHREAD_LIBS},g' |
28 | SUBST_SED.pthread+= -e 's,@PTHREAD_CFLAGS@,${PTHREAD_CFLAGS},g' | | 28 | SUBST_SED.pthread+= -e 's,@PTHREAD_CFLAGS@,${PTHREAD_CFLAGS},g' |
29 | SUBST_STAGE.pthread= post-patch | | 29 | SUBST_STAGE.pthread= post-patch |
30 | | | 30 | |
| | | 31 | CPPFLAGS.Darwin= -D_POSIX_C_SOURCE=200809L |
31 | LIBS.SunOS+= -lnsl -lsocket | | 32 | LIBS.SunOS+= -lnsl -lsocket |
32 | | | 33 | |
33 | # getenv_r is not detected correctly. It will be found | | 34 | # getenv_r is not detected correctly. It will be found |
34 | # in either base system or librfuncs | | 35 | # in either base system or librfuncs |
35 | CONFIGURE_ENV+= ac_cv_func_getenv_r=yes | | 36 | CONFIGURE_ENV+= ac_cv_func_getenv_r=yes |
36 | | | 37 | |
37 | # 17 errors as of 1.8.0 | | 38 | # 17 errors as of 1.8.0 |
38 | # https://dev.gnupg.org/T3056 | | 39 | # https://dev.gnupg.org/T3056 |
39 | TEST_TARGET= check | | 40 | TEST_TARGET= check |
40 | | | 41 | |
41 | .include "../../mk/pthread.buildlink3.mk" | | 42 | .include "../../mk/pthread.buildlink3.mk" |
42 | | | 43 | |
43 | .include "options.mk" | | 44 | .include "options.mk" |