author | osayama <osamu.sayama@oracle.com> |
Fri, 16 Sep 2016 08:38:07 +0900 | |
changeset 6914 | 0c9c2d460328 |
parent 6101 | e835757b2d7a |
child 7245 | 934578b959f0 |
permissions | -rw-r--r-- |
4079 | 1 |
# |
2 |
# CDDL HEADER START |
|
3 |
# |
|
4 |
# The contents of this file are subject to the terms of the |
|
5 |
# Common Development and Distribution License (the "License"). |
|
6 |
# You may not use this file except in compliance with the License. |
|
7 |
# |
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 |
# or http://www.opensolaris.org/os/licensing. |
|
10 |
# See the License for the specific language governing permissions |
|
11 |
# and limitations under the License. |
|
12 |
# |
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
|
21 |
||
22 |
# |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
23 |
# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. |
4079 | 24 |
# |
5716 | 25 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
26 |
BUILD_BITS= 64 |
5716 | 27 |
COMPILER = gcc |
28 |
||
4079 | 29 |
include ../../make-rules/shared-macros.mk |
30 |
||
31 |
COMPONENT_NAME= postfix |
|
5716 | 32 |
COMPONENT_VERSION= 3.1.0 |
4079 | 33 |
COMPONENT_PROJECT_URL= http://www.postfix.org |
34 |
COMPONENT_ARCHIVE_HASH= \ |
|
5716 | 35 |
sha256:88ac3e92755629077d9363319b1fa0db406efb10c2f22cdbb941bd8ab36fd733 |
4079 | 36 |
COMPONENT_ARCHIVE_URL= http://mirrors-usa.go-parts.com/$(COMPONENT_NAME)/source/official/$(COMPONENT_ARCHIVE) |
37 |
||
5716 | 38 |
TPNO= 27578 |
4079 | 39 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
40 |
BUILD_STYLE= justmake |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
41 |
TEST_TARGET= $(NO_TESTS) |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
42 |
include ../../make-rules/common.mk |
4079 | 43 |
|
44 |
# general |
|
45 |
CCARGS = -DDEF_DAEMON_DIR=\\\"/usr/lib/postfix\\\" |
|
46 |
CCARGS += -DDEF_MANPAGE_DIR=\\\"/usr/share/man\\\" |
|
47 |
CCARGS += -DDEF_NEWALIAS_PATH=\\\"/usr/sbin/newaliases\\\" |
|
48 |
# TLS |
|
49 |
CCARGS += -DUSE_TLS |
|
50 |
AUXLIBS = -lssl -lcrypto |
|
51 |
# Berkeley DB |
|
52 |
CCARGS += -DHAS_DB |
|
53 |
AUXLIBS += -ldb-5.3 |
|
54 |
# SQLite |
|
55 |
CCARGS += -DHAS_SQLITE |
|
56 |
AUXLIBS += -lsqlite3 |
|
57 |
# LDAP |
|
6101
e835757b2d7a
23492495 postfix doesn't build (or work) on s12_100
John Beck <John.Beck@Oracle.COM>
parents:
5716
diff
changeset
|
58 |
CCARGS += -DHAS_LDAP -I/usr/include/openldap |
e835757b2d7a
23492495 postfix doesn't build (or work) on s12_100
John Beck <John.Beck@Oracle.COM>
parents:
5716
diff
changeset
|
59 |
AUXLIBS += -lldap_r-2.4 -llber-2.4 |
4079 | 60 |
|
61 |
# pcre-config is run as part of the setup, so we need to find the 64-bit |
|
62 |
# version so it will provide a 64-bit runpath, o/w pkglint gives warnings. |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
63 |
PATH = $(USRBINDIR64):$(USRBINDIR):$(GNUBIN) |
4079 | 64 |
|
65 |
COMPONENT_BUILD_ENV += CCARGS="$(CCARGS)" |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
66 |
COMPONENT_BUILD_ENV += OPT="$(CFLAGS)" |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
67 |
COMPONENT_BUILD_ENV += DEBUG="$(CFLAGS)" |
4079 | 68 |
COMPONENT_BUILD_ENV += PATH="$(PATH)" |
69 |
COMPONENT_BUILD_ENV += AUXLIBS="$(AUXLIBS)" |
|
70 |
||
71 |
COMPONENT_INSTALL_TARGETS = non-interactive-package install_root="$(PROTO_DIR)" |
|
72 |
||
73 |
REQUIRED_PACKAGES += database/berkeleydb-5 |
|
74 |
REQUIRED_PACKAGES += database/sqlite-3 |
|
5716 | 75 |
REQUIRED_PACKAGES += library/icu |
6101
e835757b2d7a
23492495 postfix doesn't build (or work) on s12_100
John Beck <John.Beck@Oracle.COM>
parents:
5716
diff
changeset
|
76 |
REQUIRED_PACKAGES += library/openldap |
4079 | 77 |
REQUIRED_PACKAGES += library/pcre |
78 |
REQUIRED_PACKAGES += library/security/openssl |
|
79 |
REQUIRED_PACKAGES += shell/ksh93 |
|
80 |
REQUIRED_PACKAGES += system/core-os |
|
81 |
REQUIRED_PACKAGES += system/network |
|
6101
e835757b2d7a
23492495 postfix doesn't build (or work) on s12_100
John Beck <John.Beck@Oracle.COM>
parents:
5716
diff
changeset
|
82 |
REQUIRED_PACKAGES += system/network/ldap/openldap |