author | Mike Sullivan <Mike.Sullivan@Oracle.COM> |
Tue, 11 Oct 2016 16:58:27 -0700 | |
changeset 7091 | 08a4029cbd6c |
parent 6897 | 95d141a9085b |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
44
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
1 |
# |
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
3 |
# |
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
7 |
# |
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
12 |
# |
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
18 |
# |
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
20 |
# |
75
1f81099246e8
7017700 userland legacy actions should apply common defaults
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
64
diff
changeset
|
21 |
|
1f81099246e8
7017700 userland legacy actions should apply common defaults
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
64
diff
changeset
|
22 |
# |
5638
b88b6c00208e
22970244 userland should build with perl 5.22 as the default
Craig Mohrman <craig.mohrman@oracle.com>
parents:
4746
diff
changeset
|
23 |
# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved. |
44
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
24 |
# |
6897
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
25 |
COMPILER= gcc |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
26 |
BUILD_BITS= 64 |
44
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
27 |
include ../../make-rules/shared-macros.mk |
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
28 |
|
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
29 |
COMPONENT_NAME= a2ps |
491
cc798e4bc801
7082199 Upgrade a2ps to 4.14
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents:
181
diff
changeset
|
30 |
COMPONENT_VERSION= 4.14 |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
609
diff
changeset
|
31 |
COMPONENT_ARCHIVE_HASH= \ |
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
609
diff
changeset
|
32 |
sha256:f3ae8d3d4564a41b6e2a21f237d2f2b104f48108591e8b83497500182a3ab3a4 |
44
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
33 |
|
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1138
diff
changeset
|
34 |
TPNO= 4517 |
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1138
diff
changeset
|
35 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5638
diff
changeset
|
36 |
include $(WS_MAKE_RULES)/gnu-component.mk |
44
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
37 |
|
515
2700e57bf839
7087696 liba2ps.so.1 missing link to libm
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
491
diff
changeset
|
38 |
# don't use LD_Z_IGNORE: causes linker problems |
2700e57bf839
7087696 liba2ps.so.1 missing link to libm
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
491
diff
changeset
|
39 |
LD_Z_IGNORE= |
2700e57bf839
7087696 liba2ps.so.1 missing link to libm
gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM>
parents:
491
diff
changeset
|
40 |
|
6897
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
41 |
# Needed to get the tests to work. |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
42 |
COMPONENT_PRE_CONFIGURE_ACTION = \ |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
43 |
($(CLONEY) $(SOURCE_DIR) $(@D)) |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
44 |
|
44
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
45 |
CONFIGURE_OPTIONS += --enable-shared |
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
46 |
CONFIGURE_OPTIONS += --disable-static |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5638
diff
changeset
|
47 |
CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/gnu |
58
d8024c042a00
7011369 gmake complains about fresh userland bits
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
53
diff
changeset
|
48 |
CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
44
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
49 |
CONFIGURE_OPTIONS += --with-medium=letter |
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
50 |
|
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
51 |
# because viewpathing isn't quite right in this version of a2ps |
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
52 |
COMPONENT_PREP_ACTION = \ |
59
7500d63edb42
7012375 userland build and proto areas should be outside of unpacked source dirs
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
58
diff
changeset
|
53 |
(cd $(@D) ; ln -s $(SOURCE_DIR)/auxdir/mkinstalldirs) |
6897
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
54 |
|
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
55 |
COMPONENT_TEST_DIR = $(@D)/tests |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
56 |
COMPONENT_TEST_TRANSFORMS += \ |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
57 |
'-e "s|^make.*: Leaving directory.*$$|XXX_REMOVE_XXX|g" ' \ |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
58 |
'-e "s|^make.*: Entering directory.*$$|XXX_REMOVE_XXX|g" ' \ |
95d141a9085b
22834809 a2ps should be 64-bit
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
59 |
'-e "/^XXX_REMOVE_XXX$$/d" ' |
44
c031e1c884ef
add a2ps to the userland gate
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff
changeset
|
60 |
|
5797
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5682
diff
changeset
|
61 |
# Adjust '#!/usr/bin/perl' |
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5682
diff
changeset
|
62 |
PERL_SCRIPTS = \ |
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5682
diff
changeset
|
63 |
$(PROTOUSRBINDIR)/composeglyphs \ |
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5682
diff
changeset
|
64 |
$(PROTOUSRBINDIR)/ogonkify |
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5682
diff
changeset
|
65 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
66 |
REQUIRED_PACKAGES += developer/gperf |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
67 |
REQUIRED_PACKAGES += editor/gnu-emacs |
5797
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5682
diff
changeset
|
68 |
REQUIRED_PACKAGES += $(PERL_PKG) |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
69 |
REQUIRED_PACKAGES += shell/ksh93 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
70 |
REQUIRED_PACKAGES += system/library/math |