author | Mike Sullivan <Mike.Sullivan@Oracle.COM> |
Thu, 16 Jun 2016 20:28:32 -0700 | |
changeset 6235 | 309c116f1e44 |
parent 5682 | 94c0ca64c022 |
child 7425 | 8481bb15c52b |
permissions | -rw-r--r-- |
1086
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
# |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
# |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
# |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
# |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
18 |
# |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
20 |
# |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
21 |
|
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
22 |
# |
5588
33ed1c330eea
22886426 Update popt to version 1.16
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
23 |
# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved. |
1086
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
24 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5588
diff
changeset
|
25 |
BUILD_BITS= 64_and_32 |
1086
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
26 |
include ../../make-rules/shared-macros.mk |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
27 |
|
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= popt |
5588
33ed1c330eea
22886426 Update popt to version 1.16
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
29 |
COMPONENT_VERSION= 1.16 |
1086
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_PROJECT_URL= http://freecode.com/projects/popt/ |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_ARCHIVE_HASH= \ |
5588
33ed1c330eea
22886426 Update popt to version 1.16
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
32 |
sha256:e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8 |
33ed1c330eea
22886426 Update popt to version 1.16
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
33 |
COMPONENT_ARCHIVE_URL= https://launchpad.net/$(COMPONENT_NAME)/head/$(COMPONENT_VERSION)/+download/$(COMPONENT_ARCHIVE) |
1086
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
34 |
COMPONENT_BUGDB= library/popt |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
35 |
|
5588
33ed1c330eea
22886426 Update popt to version 1.16
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
36 |
TPNO= 27265 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1434
diff
changeset
|
37 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5588
diff
changeset
|
38 |
include $(WS_MAKE_RULES)/common.mk |
1086
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
39 |
|
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
40 |
COMPONENT_PREP_ACTION = \ |
4088
98a08684d104
17069132 Ship automake 1.15
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3817
diff
changeset
|
41 |
(cd $(@D) ; $(TOUCH) config.rpath) ; |
98a08684d104
17069132 Ship automake 1.15
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3817
diff
changeset
|
42 |
|
1086
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
43 |
# Needed to get "gmake test" to work. |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
44 |
COMPONENT_PRE_CONFIGURE_ACTION = \ |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
45 |
($(CLONEY) $(SOURCE_DIR) $(@D)) |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
46 |
|
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
47 |
# Add /usr/gnu/bin at the front of $PATH for GNU gettext. |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5588
diff
changeset
|
48 |
CONFIGURE_ENV += PATH=$(GNUBIN):$(PATH) |
1086
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
49 |
|
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
50 |
CONFIGURE_OPTIONS += --disable-nls |
658961e6c9b9
15820214 SUNBT7202654 Move popt from Desktop consolidation to Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
51 |
|
3716
a2629a2cf270
20451511 Yet more Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
3675
diff
changeset
|
52 |
# Master test results are the same for 32-bit and 64-bit, so override |
a2629a2cf270
20451511 Yet more Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
3675
diff
changeset
|
53 |
# here, rather than create multiple identical master files. |
a2629a2cf270
20451511 Yet more Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
3675
diff
changeset
|
54 |
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
a2629a2cf270
20451511 Yet more Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
3675
diff
changeset
|
55 |
|
5588
33ed1c330eea
22886426 Update popt to version 1.16
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
56 |
# api-sanity-autotest.pl is part of the API Sanity Checker |
33ed1c330eea
22886426 Update popt to version 1.16
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
57 |
# http://ispras.linuxbase.org/index.php/API_Sanity_Autotest |
33ed1c330eea
22886426 Update popt to version 1.16
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
58 |
# (which we don't have in Solaris), so expect that test to fail. |