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