author | pkidd <patrick.kidd@oracle.com> |
Wed, 09 Nov 2016 09:18:21 -0800 | |
branch | s11u3-sru14-backport |
changeset 7283 | 645e6b8527b6 |
parent 3996 | 20c0f21bbe1e |
permissions | -rw-r--r-- |
198
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
1 |
# |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
3 |
# |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
7 |
# |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
12 |
# |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
18 |
# |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
20 |
# |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
21 |
|
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
22 |
# |
3857
5e5034b03491
17409417 change vim to use ruby 1.9.3 instead of ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
3661
diff
changeset
|
23 |
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
198
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
24 |
# |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
25 |
|
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
26 |
include ../../make-rules/shared-macros.mk |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
27 |
|
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
28 |
PATH=/usr/bin:/usr/gnu/bin |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
29 |
|
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_NAME= vim |
379 | 31 |
COMPONENT_VERSION= 7.3 |
32 |
IPS_COMPONENT_VERSION= $(shell echo $(COMPONENT_HG_REV) | sed -e 's/-/./g' -e 's/v//') |
|
33 |
COMPONENT_SRC= vim-$(COMPONENT_HG_REV) |
|
198
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
34 |
COMPONENT_PROJECT_URL= http://www.vim.org/ |
379 | 35 |
COMPONENT_ARCHIVE= vim-$(COMPONENT_HG_REV).tar.bz2 |
36 |
COMPONENT_ARCHIVE_URL= $(EXTERNAL_ARCHIVE_MIRROR)/$(COMPONENT_ARCHIVE) |
|
915
aa3e7c7b6d46
7183359 update vim to 7.3.600
Danek Duvall <danek.duvall@oracle.com>
parents:
903
diff
changeset
|
37 |
COMPONENT_ARCHIVE_HASH= sha256:809275aa3c59a658c16e53cc6f61736251201892519fc29721cba97afe54417c |
379 | 38 |
COMPONENT_HG_URL= https://vim.googlecode.com/hg |
915
aa3e7c7b6d46
7183359 update vim to 7.3.600
Danek Duvall <danek.duvall@oracle.com>
parents:
903
diff
changeset
|
39 |
COMPONENT_HG_REV= v7-3-600 |
aa3e7c7b6d46
7183359 update vim to 7.3.600
Danek Duvall <danek.duvall@oracle.com>
parents:
903
diff
changeset
|
40 |
COMPONENT_HG_REV_OLD= v7-3-600 |
198
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
41 |
|
2434
6c9bb5cf5610
15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
915
diff
changeset
|
42 |
COMPONENT_BUGDB= utility/vim |
6c9bb5cf5610
15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
915
diff
changeset
|
43 |
|
3661
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
2813
diff
changeset
|
44 |
TPNO= 9187 |
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
2813
diff
changeset
|
45 |
|
3996
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3857
diff
changeset
|
46 |
include $(WS_MAKE_RULES)/prep.mk |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3857
diff
changeset
|
47 |
include $(WS_MAKE_RULES)/configure.mk |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3857
diff
changeset
|
48 |
include $(WS_MAKE_RULES)/ips.mk |
198
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
49 |
|
379 | 50 |
HGREPODIR= $(COMPONENT_NAME).hg |
51 |
TARBALLDIR= $(COMPONENT_NAME)-$(COMPONENT_HG_REV) |
|
52 |
||
53 |
$(HGREPODIR)/.hg: |
|
54 |
hg clone -U $(COMPONENT_HG_URL) $(@D) |
|
55 |
||
672
92e2da956d23
7085706 update vim to 7.3.421
Danek Duvall <danek.duvall@oracle.com>
parents:
575
diff
changeset
|
56 |
hgball-pull: $(HGREPODIR)/.hg |
92e2da956d23
7085706 update vim to 7.3.421
Danek Duvall <danek.duvall@oracle.com>
parents:
575
diff
changeset
|
57 |
hg -R $(HGREPODIR) pull |
92e2da956d23
7085706 update vim to 7.3.421
Danek Duvall <danek.duvall@oracle.com>
parents:
575
diff
changeset
|
58 |
|
92e2da956d23
7085706 update vim to 7.3.421
Danek Duvall <danek.duvall@oracle.com>
parents:
575
diff
changeset
|
59 |
hgball: COMPONENT_HG_REV = $(shell hg -R $(HGREPODIR) tags | awk '$$1 ~ /^v7-/ {print $$1; exit}') |
92e2da956d23
7085706 update vim to 7.3.421
Danek Duvall <danek.duvall@oracle.com>
parents:
575
diff
changeset
|
60 |
|
379 | 61 |
# Create the tarball. It should contain the working directory of the repo at |
62 |
# the desired revision, but not the .hg directory. Note that the digest will |
|
63 |
# be different every time because .hg doesn't set the timestamps of the files |
|
64 |
# in the working directory. |
|
672
92e2da956d23
7085706 update vim to 7.3.421
Danek Duvall <danek.duvall@oracle.com>
parents:
575
diff
changeset
|
65 |
hgball: hgball-pull |
379 | 66 |
rm -rf $(TARBALLDIR) |
67 |
hg clone -u $(COMPONENT_HG_REV) $(HGREPODIR) $(TARBALLDIR) |
|
68 |
rm -rf $(TARBALLDIR)/.hg |
|
69 |
tar jcf $(COMPONENT_ARCHIVE) $(TARBALLDIR) |
|
820
60113d90e478
7143097 upgrade vim to 7.3.515
Danek Duvall <danek.duvall@oracle.com>
parents:
800
diff
changeset
|
70 |
hg --cwd $(HGREPODIR) stat -ar --rev $(COMPONENT_HG_REV_OLD):tip runtime src/po |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
672
diff
changeset
|
71 |
digest=$$(digest -a sha256 $(COMPONENT_ARCHIVE)); \ |
672
92e2da956d23
7085706 update vim to 7.3.421
Danek Duvall <danek.duvall@oracle.com>
parents:
575
diff
changeset
|
72 |
/usr/gnu/bin/sed -i \ |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
672
diff
changeset
|
73 |
-e "s/^COMPONENT_ARCHIVE_HASH=.*/COMPONENT_ARCHIVE_HASH= sha256:$$digest/" \ |
672
92e2da956d23
7085706 update vim to 7.3.421
Danek Duvall <danek.duvall@oracle.com>
parents:
575
diff
changeset
|
74 |
-e "s/^COMPONENT_HG_REV=.*/COMPONENT_HG_REV= $(COMPONENT_HG_REV)/" \ |
820
60113d90e478
7143097 upgrade vim to 7.3.515
Danek Duvall <danek.duvall@oracle.com>
parents:
800
diff
changeset
|
75 |
-e "s/^COMPONENT_HG_REV_OLD=.*/COMPONENT_HG_REV_OLD= $(COMPONENT_HG_REV)/" \ |
672
92e2da956d23
7085706 update vim to 7.3.421
Danek Duvall <danek.duvall@oracle.com>
parents:
575
diff
changeset
|
76 |
Makefile |
379 | 77 |
|
198
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
78 |
PATCH_LEVEL = 0 |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
79 |
|
379 | 80 |
PKG_MACROS += VIMVER=vim73 |
198
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
81 |
|
3857
5e5034b03491
17409417 change vim to use ruby 1.9.3 instead of ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
3661
diff
changeset
|
82 |
X_VARIANT = $(BUILD_DIR)/$(MACH64)-gvim |
5e5034b03491
17409417 change vim to use ruby 1.9.3 instead of ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
3661
diff
changeset
|
83 |
NOX_VARIANT = $(BUILD_DIR)/$(MACH64)-vim |
198
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
84 |
|
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
85 |
VARIANTS = $(X_VARIANT) $(NOX_VARIANT) |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
86 |
|
3857
5e5034b03491
17409417 change vim to use ruby 1.9.3 instead of ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
3661
diff
changeset
|
87 |
$(VARIANTS:%=%/.configured): BITS=64 |
198
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
88 |
|
3857
5e5034b03491
17409417 change vim to use ruby 1.9.3 instead of ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
3661
diff
changeset
|
89 |
BUILD_64 = $(VARIANTS:%=%/.built) |
198
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
90 |
|
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
91 |
# Only install the non-X variant. We will cherry-pick gvim out of the build |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
92 |
# directory to avoid re-installing everything. |
3857
5e5034b03491
17409417 change vim to use ruby 1.9.3 instead of ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
3661
diff
changeset
|
93 |
INSTALL_64 = $(NOX_VARIANT)/.installed |
5e5034b03491
17409417 change vim to use ruby 1.9.3 instead of ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
3661
diff
changeset
|
94 |
|
5e5034b03491
17409417 change vim to use ruby 1.9.3 instead of ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
3661
diff
changeset
|
95 |
TEST_64 = $(NOX_VARIANT)/.tested |
5e5034b03491
17409417 change vim to use ruby 1.9.3 instead of ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
3661
diff
changeset
|
96 |
|
5e5034b03491
17409417 change vim to use ruby 1.9.3 instead of ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
3661
diff
changeset
|
97 |
# Necessary to pass 64-bit flags to the link stage. |
5e5034b03491
17409417 change vim to use ruby 1.9.3 instead of ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
3661
diff
changeset
|
98 |
CC += $(CC_BITS) |
198
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
99 |
|
3857
5e5034b03491
17409417 change vim to use ruby 1.9.3 instead of ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
3661
diff
changeset
|
100 |
# Put all the binaries directly in /usr/bin, not in /usr/bin/64. |
5e5034b03491
17409417 change vim to use ruby 1.9.3 instead of ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
3661
diff
changeset
|
101 |
CONFIGURE_BINDIR.64 = $(CONFIGURE_PREFIX)/bin |
198
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
102 |
|
3857
5e5034b03491
17409417 change vim to use ruby 1.9.3 instead of ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
3661
diff
changeset
|
103 |
# Use the 64-bit versions of pkg-config files (or GTK+ will add -R/usr/lib) |
5e5034b03491
17409417 change vim to use ruby 1.9.3 instead of ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
3661
diff
changeset
|
104 |
CONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)" |
5e5034b03491
17409417 change vim to use ruby 1.9.3 instead of ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
3661
diff
changeset
|
105 |
|
5e5034b03491
17409417 change vim to use ruby 1.9.3 instead of ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
3661
diff
changeset
|
106 |
# Necessary to pass 64-bit flags to the compilation stage. |
5e5034b03491
17409417 change vim to use ruby 1.9.3 instead of ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
3661
diff
changeset
|
107 |
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
198
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
108 |
CONFIGURE_OPTIONS += --with-features=huge |
379 | 109 |
CONFIGURE_OPTIONS += --with-compiledby="the Solaris Userland build environment" |
110 |
CONFIGURE_OPTIONS += --with-modified-by="Solaris Userland <[email protected]>" |
|
111 |
CONFIGURE_OPTIONS += --enable-luainterp=dynamic |
|
112 |
# XXX Perl compilation fails, for some reason. |
|
113 |
# - Perl_croak_nocontext is redefined (embed.h, line 5157), having something to |
|
114 |
# do with PERL_IMPLICIT_CONTEXT, which is discussed in perlguts(1). This is |
|
115 |
# just a warning, but looks like it might have nasty consequences. |
|
116 |
# - The declaration of Perl_Gthr_key_ptr() has a problem with its argument of |
|
117 |
# type pTHX. if_perl.xs defines that to void if it's not already defined, |
|
118 |
# but perl.h probably does something else to it, not sure what yet. This |
|
119 |
# also appears to have something to do with PERL_IMPLICIT_CONTEXT. |
|
120 |
# CONFIGURE_OPTIONS += --enable-perlinterp=dynamic |
|
121 |
CONFIGURE_OPTIONS += --enable-pythoninterp=dynamic |
|
122 |
CONFIGURE_OPTIONS += --enable-rubyinterp=dynamic |
|
3857
5e5034b03491
17409417 change vim to use ruby 1.9.3 instead of ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
3661
diff
changeset
|
123 |
CONFIGURE_OPTIONS += --with-ruby-command=$(RUBY.1.9) |
2813
db0bfa0fa498
PSARC/2013/269 Add Ruby 1.9.3 and EOF and Remove Ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
2434
diff
changeset
|
124 |
|
198
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
125 |
# We build two variants: with and without X support. |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
126 |
$(NOX_VARIANT)/.configured: CONFIGURE_OPTIONS += --without-x |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
127 |
$(NOX_VARIANT)/.configured: CONFIGURE_OPTIONS += --disable-gui |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
128 |
$(NOX_VARIANT)/.configured: CONFIGURE_OPTIONS += --disable-gtktest |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
129 |
$(X_VARIANT)/.configured: CONFIGURE_OPTIONS += --with-vim-name=gvim |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
130 |
$(X_VARIANT)/.configured: CONFIGURE_OPTIONS += --with-x |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
131 |
$(X_VARIANT)/.configured: CONFIGURE_OPTIONS += --enable-gui=gtk2 |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
132 |
$(X_VARIANT)/.configured: CONFIGURE_OPTIONS += --enable-gtk2-check |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
133 |
|
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
134 |
# Vim's build is too smart for itself and configure can't run outside of a |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
135 |
# complete source tree. |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
136 |
COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D)) |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
137 |
|
829
92b5de339d33
7166132 vim should be able to run its test suite
Petr Sumbera <petr.sumbera@oracle.com>
parents:
820
diff
changeset
|
138 |
COMPONENT_TEST_TARGETS = test |
92b5de339d33
7166132 vim should be able to run its test suite
Petr Sumbera <petr.sumbera@oracle.com>
parents:
820
diff
changeset
|
139 |
|
198
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
140 |
$(SOURCE_DIR)/runtime/doc/uganda.txt: prep |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
141 |
|
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
142 |
$(BUILD_DIR)/license: $(SOURCE_DIR)/runtime/doc/uganda.txt |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
143 |
nawk '/begin of license/ {p=1; getline; next} /end of license/ {p=0} p == 1 {print}' $< > $@ |
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
144 |
|
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
145 |
# common targets |
3857
5e5034b03491
17409417 change vim to use ruby 1.9.3 instead of ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
3661
diff
changeset
|
146 |
build: $(BUILD_64) |
198
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
147 |
|
3857
5e5034b03491
17409417 change vim to use ruby 1.9.3 instead of ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
3661
diff
changeset
|
148 |
install: $(INSTALL_64) $(X_VARIANT)/.built $(BUILD_DIR)/license |
198
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
149 |
|
3857
5e5034b03491
17409417 change vim to use ruby 1.9.3 instead of ruby 1.8.7
April Chin <april.chin@oracle.com>
parents:
3661
diff
changeset
|
150 |
test: $(TEST_64) |
198
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
151 |
|
172fc01ce997
7016732 move vim from sfw to userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
152 |
|
3996
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3857
diff
changeset
|
153 |
REQUIRED_PACKAGES += library/desktop/gtk2 |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3857
diff
changeset
|
154 |
REQUIRED_PACKAGES += library/desktop/pango |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3857
diff
changeset
|
155 |
REQUIRED_PACKAGES += library/glib2 |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3857
diff
changeset
|
156 |
REQUIRED_PACKAGES += library/ncurses |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3857
diff
changeset
|
157 |
REQUIRED_PACKAGES += shell/ksh93 |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3857
diff
changeset
|
158 |
REQUIRED_PACKAGES += system/library |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3857
diff
changeset
|
159 |
REQUIRED_PACKAGES += system/library/math |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3857
diff
changeset
|
160 |
REQUIRED_PACKAGES += x11/library/libice |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3857
diff
changeset
|
161 |
REQUIRED_PACKAGES += x11/library/libsm |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3857
diff
changeset
|
162 |
REQUIRED_PACKAGES += x11/library/libx11 |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3857
diff
changeset
|
163 |
REQUIRED_PACKAGES += x11/library/libxcursor |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3857
diff
changeset
|
164 |
REQUIRED_PACKAGES += x11/library/toolkit/libxt |