Makefile revision 2426
198N/A# The contents of this file are subject to the terms of the 198N/A# Common Development and Distribution License (the "License"). 198N/A# You may not use this file except in compliance with the License. 198N/A# See the License for the specific language governing permissions 198N/A# and limitations under the License. 198N/A# When distributing Covered Code, include this CDDL HEADER in each 198N/A# If applicable, add the following below this CDDL HEADER, with the 198N/A# fields enclosed by brackets "[]" replaced with your own identifying 198N/A# information: Portions Copyright [yyyy] [name of copyright owner] 2127N/A# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 379N/A# Create the tarball. It should contain the working directory of the repo at 379N/A# the desired revision, but not the .hg directory. Note that the digest will 379N/A# be different every time because .hg doesn't set the timestamps of the files 379N/A# in the working directory. 844N/A -e
"s/^COMPONENT_ARCHIVE_HASH=.*/COMPONENT_ARCHIVE_HASH= sha256:$$digest/" \
198N/A# Only install the non-X variant. We will cherry-pick gvim out of the build 198N/A# directory to avoid re-installing everything. 578N/A# Override a broken imake that's always providing a 64-bit library directory. 379N/A# XXX Perl compilation fails, for some reason. 379N/A# - Perl_croak_nocontext is redefined (embed.h, line 5157), having something to 379N/A# do with PERL_IMPLICIT_CONTEXT, which is discussed in perlguts(1). This is 379N/A# just a warning, but looks like it might have nasty consequences. 379N/A# - The declaration of Perl_Gthr_key_ptr() has a problem with its argument of 379N/A# but perl.h probably does something else to it, not sure what yet. This 379N/A# also appears to have something to do with PERL_IMPLICIT_CONTEXT. 379N/A# CONFIGURE_OPTIONS += --enable-perlinterp=dynamic 2127N/A# Below option keeps using ruby 1.8, no matter which ruby version is the default. 2127N/A# When ruby 1.9 becomes available, we may change 2127N/A# the below to explicitly call $(RUBY.1.9). 198N/A# We build two variants: with and without X support. 198N/A# Vim's build is too smart for itself and configure can't run outside of a 198N/A nawk '/begin of license/ {p=1; getline; next} /end of license/ {p=0} p == 1 {print}' $< > $@