security/gnupg: fix build when NLS is disabled
This commit is contained in:
parent
e554e12948
commit
4970f902db
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=409190
3 changed files with 23 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
PORTNAME= gnupg
|
||||
PORTVERSION= 2.1.11
|
||||
#PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= GNUPG
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig
|
||||
|
|
11
security/gnupg/files/patch-dirmngr_Makefile.am
Normal file
11
security/gnupg/files/patch-dirmngr_Makefile.am
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- dirmngr/Makefile.am.orig 2016-02-19 16:13:57 UTC
|
||||
+++ dirmngr/Makefile.am
|
||||
@@ -143,7 +143,7 @@ t_ldap_parse_uri_SOURCES = \
|
||||
t_ldap_parse_uri_CFLAGS = -DWITHOUT_NPTH=1
|
||||
t_ldap_parse_uri_LDADD = $(ldaplibs) $(t_common_ldadd) $(DNSLIBS)
|
||||
|
||||
-t_dns_stuff_CFLAGS = -DWITHOUT_NPTH=1
|
||||
+t_dns_stuff_CFLAGS = -DWITHOUT_NPTH=1 $(LIBGCRYPT_FLAGS)
|
||||
t_dns_stuff_SOURCES = t-dns-stuff.c dns-stuff.c
|
||||
t_dns_stuff_LDADD = $(t_common_ldadd) $(DNSLIBS)
|
||||
|
11
security/gnupg/files/patch-dirmngr_Makefile.in
Normal file
11
security/gnupg/files/patch-dirmngr_Makefile.in
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- dirmngr/Makefile.in.orig 2016-02-19 16:14:54 UTC
|
||||
+++ dirmngr/Makefile.in
|
||||
@@ -652,7 +652,7 @@ t_ldap_parse_uri_SOURCES = \
|
||||
|
||||
t_ldap_parse_uri_CFLAGS = -DWITHOUT_NPTH=1
|
||||
t_ldap_parse_uri_LDADD = $(ldaplibs) $(t_common_ldadd) $(DNSLIBS)
|
||||
-t_dns_stuff_CFLAGS = -DWITHOUT_NPTH=1
|
||||
+t_dns_stuff_CFLAGS = -DWITHOUT_NPTH=1 $(LIBGCRYPT_CFLAGS)
|
||||
t_dns_stuff_SOURCES = t-dns-stuff.c dns-stuff.c
|
||||
t_dns_stuff_LDADD = $(t_common_ldadd) $(DNSLIBS)
|
||||
all: $(BUILT_SOURCES)
|
Loading…
Reference in a new issue