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