components/gnupg/Makefile
author John Beck <John.Beck@Oracle.COM>
Mon, 11 Jul 2016 09:14:18 -0700
changeset 6384 f291f75e3c47
parent 6241 5d26d14bd9fa
child 7687 1093e2a9adbd
permissions -rw-r--r--
23858245 do not publish gnupg when BUILD_TYPE=evaluation
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
303
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     1
#
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     3
#
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     7
#
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    12
#
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    18
#
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    20
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5125
diff changeset
    21
303
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    22
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5125
diff changeset
    23
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5125
diff changeset
    24
#
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5125
diff changeset
    25
BUILD_BITS= 64
303
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    27
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		gnupg
6241
5d26d14bd9fa 23210112 update gnupg to version 2.0.30
Jan Friedel <jan.friedel@oracle.com>
parents: 6135
diff changeset
    29
COMPONENT_VERSION=	2.0.30
303
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    30
COMPONENT_PROJECT_URL=	http://www.gnupg.org/
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 401
diff changeset
    32
COMPONENT_ARCHIVE_HASH=	\
6241
5d26d14bd9fa 23210112 update gnupg to version 2.0.30
Jan Friedel <jan.friedel@oracle.com>
parents: 6135
diff changeset
    33
    sha256:e329785a4f366ba5d72c2c678a7e388b0892ac8440c2f4e6810042123c235d71
303
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=	ftp://ftp.gnupg.org/gcrypt/gnupg/$(COMPONENT_ARCHIVE)
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    35
6241
5d26d14bd9fa 23210112 update gnupg to version 2.0.30
Jan Friedel <jan.friedel@oracle.com>
parents: 6135
diff changeset
    36
TPNO=			29221
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1724
diff changeset
    37
6384
f291f75e3c47 23858245 do not publish gnupg when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6241
diff changeset
    38
# Requires new pkgmogrify feature, not available in S11.
f291f75e3c47 23858245 do not publish gnupg when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6241
diff changeset
    39
ifeq ($(BUILD_TYPE), evaluation)
f291f75e3c47 23858245 do not publish gnupg when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6241
diff changeset
    40
BUILD_64=
f291f75e3c47 23858245 do not publish gnupg when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6241
diff changeset
    41
INSTALL_64=
f291f75e3c47 23858245 do not publish gnupg when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6241
diff changeset
    42
PUBLISH_STAMP=
f291f75e3c47 23858245 do not publish gnupg when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6241
diff changeset
    43
endif
f291f75e3c47 23858245 do not publish gnupg when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6241
diff changeset
    44
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5125
diff changeset
    45
include $(WS_MAKE_RULES)/common.mk
303
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    46
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    47
# Enable C99 mode + -Xc for its additional warnings.
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    48
studio_C99MODE = -Xc $(studio_C99_ENABLE)
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    49
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    50
# -xinline=%auto -- we like inlining where appropriate
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    51
CFLAGS += -xinline=%auto
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    52
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    53
# -xbuiltin=%none -- builtins have been known to be buggy
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    54
CFLAGS += -xbuiltin=%none
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    55
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    56
CFLAGS += $(CPP_LARGEFILES)
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    57
CFLAGS += $(XPG6MODE)
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    58
CFLAGS += $(CPP_POSIX)
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    59
CFLAGS += $(CPP_C99_EXTENDED_MATH)
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    60
CFLAGS += $(studio_PIC)
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    61
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    62
# If we pass -lc, -mt won't link with -lthread
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    63
# (which is what it does by default, and we don't
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    64
# want that, because we use POSIX threads).
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5125
diff changeset
    65
LDFLAGS += -lc $(LD_Z_DEFS)
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5125
diff changeset
    66
LD_OPTIONS += $(LD_Z_DEFS)
303
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    67
4117
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    68
COMPONENT_TEST_TRANSFORMS += \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    69
     '-e "/libtool/d"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    70
     '-e "/-m32/d"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    71
     '-e "/-m64/d"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    72
     '-e "/ld: warning/d"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    73
     '-e "/warning/d"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    74
     '-e "/Generat/d"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    75
     '-e "/Creat/d"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    76
     '-e "/Compos/d"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    77
     '-e "/Writ/d"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    78
     '-e "/Read/d"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    79
     '-e "/Home/d"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    80
     '-e "/from/d"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    81
     '-e "/--run/d"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    82
     '-e "/rm -f/d"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    83
     '-e "/Nothing/d"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    84
     '-e "/Leaving/d"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    85
     '-e "/Entering/d"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    86
     '-e "/Making/d"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    87
     '-e "/Known envvars/d"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    88
     '-e "/make/d"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    89
     '-e "s/[0-9]\{1,\}\.[0-9]\{1,\} s, //g"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    90
     '-e "s^[0-9]\{1,\} kB/s^^g"'  \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    91
     '-e "s^[0-9]\{1,\}  kB/s^^g"'  \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    92
     '-e "s^[0-9]\{1,\}\.[0-9]\{1,\}  MB/s^^g"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    93
     '-e "s^[0-9]\{1,\}\.[0-9]\{1,\} MB/s^^g"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    94
     '-e "s/([0-9]\{1,\} B)//g"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    95
     '-e "s/([0-9]\{1,\}  B)//g"' \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    96
     '-e "s/copied,/copied/g"'  \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    97
     '-e "s/ \{1,\}copied/ copied/g"'  \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    98
     '-e "s/copied $$/copied/g"'  \
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
    99
     '-e "s/copied [0-9]\{1,\}\./copied/g"'
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
   100
303
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   101
CONFIGURE_ENV +=	INSTALL="$(INSTALL)"
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   102
4117
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
   103
# Without this GnuPG's ./configure will complain that we're not using
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
   104
# GNU make. But we are.
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
   105
CONFIGURE_ENV +=	MAKE="$(GMAKE)"
8388cfa6a859 20334187 Upgrade GnuPG to 2.0.26
Stefan Teleman <stefan.teleman@oracle.com>
parents: 3817
diff changeset
   106
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5125
diff changeset
   107
CONFIGURE_OPTIONS  +=		--localstatedir=$(VARDIR)
303
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   108
CONFIGURE_OPTIONS  +=		--libexecdir=$(USRBINDIR)
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   109
CONFIGURE_OPTIONS  +=		--datadir=$(CONFIGURE_PREFIX)/share
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5125
diff changeset
   110
CONFIGURE_OPTIONS  +=		--sysconfdir=$(ETCDIR)
303
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   111
CONFIGURE_OPTIONS  +=		--infodir=$(CONFIGURE_INFODIR)
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   112
CONFIGURE_OPTIONS  +=		--enable-nls
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   113
CONFIGURE_OPTIONS  +=		--enable-largefile
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   114
CONFIGURE_OPTIONS  +=		--disable-selinux-support
401
bf52ef48020c 7061153 error message for tcsd lists incorrect man page information
Wyllys Ingersoll <Wyllys.Ingersoll@Oracle.COM>
parents: 303
diff changeset
   115
CONFIGURE_OPTIONS  +=		--with-pinentry-pgm=$(CONFIGURE_PREFIX)/lib/pinentry
303
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   116
CONFIGURE_OPTIONS  +=		--with-gpg-error-prefix=$(CONFIGURE_PREFIX)
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   117
CONFIGURE_OPTIONS  +=		--with-libassuan-prefix=$(CONFIGURE_PREFIX)
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   118
CONFIGURE_OPTIONS  +=		--with-ksba-prefix=$(CONFIGURE_PREFIX)
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   119
CONFIGURE_OPTIONS  +=		--with-pth-prefix=$(CONFIGURE_PREFIX)
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   120
CONFIGURE_OPTIONS  +=		--with-libcurl=$(CONFIGURE_PREFIX)
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   121
CONFIGURE_OPTIONS  +=		--with-libiconv-prefix=$(CONFIGURE_PREFIX)
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   122
CONFIGURE_OPTIONS  +=		--with-libintl-prefix=$(CONFIGURE_PREFIX)
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   123
CONFIGURE_OPTIONS  +=		--with-zlib=$(CONFIGURE_PREFIX)
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   124
CONFIGURE_OPTIONS  +=		--with-bzip2=$(CONFIGURE_PREFIX)
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   125
CONFIGURE_OPTIONS  +=		--with-readline=$(CONFIGURE_PREFIX)
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   126
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   127
LIBKSBA_MANIFEST = 	manifest-$(MACH)-libksba.depend
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   128
LIBASSUAN_MANIFEST =	manifest-$(MACH)-libassuan.depend
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   129
GPGME_MANIFEST =	manifest-$(MACH)-gpgme.depend
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   130
PINENTRY_MANIFEST =	manifest-$(MACH)-pinentry.depend
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   131
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   132
# Work around pkgdepend bug which doesn't resolve dependencies from
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   133
# the local workspace repo. Fortunately we only have to do this once.
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   134
DEPENDED +=	$(WS_TOP)/components/libksba/build/$(LIBKSBA_MANIFEST)
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   135
DEPENDED +=	$(WS_TOP)/components/libassuan/build/$(LIBASSUAN_MANIFEST)
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   136
DEPENDED +=	$(WS_TOP)/components/gpgme/build/$(GPGME_MANIFEST)
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   137
DEPENDED +=	$(WS_TOP)/components/pinentry/build/$(PINENTRY_MANIFEST)
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   138
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   139
PKG_PROTO_DIRS += $(WS_TOP)/components/libksba
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   140
PKG_PROTO_DIRS += $(WS_TOP)/components/libassuan
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   141
PKG_PROTO_DIRS += $(WS_TOP)/components/gpgme
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   142
PKG_PROTO_DIRS += $(WS_TOP)/components/pinentry
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   143
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   144
MAN8LIST = addgnupghome applygnupgdefaults
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   145
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5125
diff changeset
   146
COMPONENT_POST_INSTALL_ACTION += \
303
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   147
	( cd $(PROTOUSRSHARELOCALEDIR) ; \
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   148
	    $(CP) -R '[email protected]' en )
cae844b2d132 7050043 GnuPG && friends to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
   149
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   150
REQUIRED_PACKAGES += compress/bzip2
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   151
REQUIRED_PACKAGES += library/desktop/gtk2
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   152
REQUIRED_PACKAGES += library/desktop/pango
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   153
REQUIRED_PACKAGES += library/glib2
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   154
REQUIRED_PACKAGES += library/pth
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   155
REQUIRED_PACKAGES += library/readline
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   156
REQUIRED_PACKAGES += library/security/libassuan
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   157
REQUIRED_PACKAGES += library/security/libgpg-error
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   158
REQUIRED_PACKAGES += library/security/libksba
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   159
REQUIRED_PACKAGES += library/zlib
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   160
REQUIRED_PACKAGES += security/pinentry
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   161
REQUIRED_PACKAGES += shell/ksh93
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   162
REQUIRED_PACKAGES += system/library/security/libgcrypt
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   163
REQUIRED_PACKAGES += system/library/usb/libusb
6135
d3413bce6809 23493364 gnupg does not build (work?) on s12-100
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 6053
diff changeset
   164
REQUIRED_PACKAGES += system/network/ldap/openldap
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   165
REQUIRED_PACKAGES += web/curl