Path: blob/main/external/curl/packages/vms/make_gnv_curl_install.sh
2066 views
# File: make_gnv_curl_install.sh1#2# Set up and run the make script for Curl.3#4# This makes the library, the curl binary and attempts an install.5# A search list should be set up for GNU (GNV$GNU).6#7# Copyright (C) John Malmberg8#9# Permission to use, copy, modify, and/or distribute this software for any10# purpose with or without fee is hereby granted, provided that the above11# copyright notice and this permission notice appear in all copies.12#13# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES14# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF15# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR16# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES17# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN18# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT19# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.20#21# SPDX-License-Identifier: ISC22#23#==========================================================================24#25#26# Needed VMS build setups for GNV.27export GNV_OPT_DIR=.28export GNV_CC_QUALIFIERS=/DEBUG/OPTIMIZE/STANDARD=RELAXED\29/float=ieee_float/ieee_mode=denorm_results30export GNV_CXX_QUALIFIERS=/DEBUG/OPTIMIZE/float=ieee/ieee_mode=denorm_results31export GNV_CC_NO_INC_PRIMARY=132#33#34# POSIX exit mode is needed for Unix shells.35export GNV_CC_MAIN_POSIX_EXIT=136make37cd ../..38# adjust the libcurl.pc file, GNV currently ignores the Lib: line.39# but is noisy about it, so we just remove it.40sed -e 's/^Libs:/#Libs:/g' libcurl.pc > libcurl.pc_new41rm libcurl.pc42mv libcurl.pc_new libcurl.pc43make install444546