ncurses 5.7 - patch 20090104

+ modify gen-pkgconfig.in to eliminate a dependency on rpath when
  deciding whether to add $LIBS to --libs output; that should be shown
  for the ncurses and tinfo libraries without taking rpath into
  account.
+ fix an overlooked change from $AR_OPTS to $ARFLAGS in mk-1st.awk,
  used in static libraries (report by Marty Jack).
This commit is contained in:
Thomas E. Dickey 2009-01-04 22:54:42 +00:00
parent 96097feb6c
commit f9e12ea019
4 changed files with 15 additions and 10 deletions

10
NEWS
View File

@ -25,7 +25,7 @@
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
-------------------------------------------------------------------------------
-- $Id: NEWS,v 1.1349 2009/01/04 00:09:31 tom Exp $
-- $Id: NEWS,v 1.1351 2009/01/04 22:43:22 tom Exp $
-------------------------------------------------------------------------------
This is a log of changes that ncurses has gone through since Zeyd started
@ -45,6 +45,14 @@ See the AUTHORS file for the corresponding full names.
Changes through 1.9.9e did not credit all contributions;
it is not possible to add this information.
20090104
+ modify gen-pkgconfig.in to eliminate a dependency on rpath when
deciding whether to add $LIBS to --libs output; that should be shown
for the ncurses and tinfo libraries without taking rpath into
account.
+ fix an overlooked change from $AR_OPTS to $ARFLAGS in mk-1st.awk,
used in static libraries (report by Marty Jack).
20090103
+ add a configure-time check to pick a suitable value for
CC_SHARED_OPTS for Solaris (report by Dagobert Michelsen).

View File

@ -25,7 +25,7 @@
# use or other dealings in this Software without prior written #
# authorization. #
##############################################################################
# $Id: dist.mk,v 1.679 2009/01/03 15:43:11 tom Exp $
# $Id: dist.mk,v 1.680 2009/01/04 21:51:56 tom Exp $
# Makefile for creating ncurses distributions.
#
# This only needs to be used directly as a makefile by developers, but
@ -37,7 +37,7 @@ SHELL = /bin/sh
# These define the major/minor/patch versions of ncurses.
NCURSES_MAJOR = 5
NCURSES_MINOR = 7
NCURSES_PATCH = 20090103
NCURSES_PATCH = 20090104
# We don't append the patch to the version, since this only applies to releases
VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)

View File

@ -1,5 +1,5 @@
#!@SHELL@
# $Id: gen-pkgconfig.in,v 1.3 2009/01/03 22:26:47 tom Exp $
# $Id: gen-pkgconfig.in,v 1.4 2009/01/04 21:52:33 tom Exp $
##############################################################################
# Copyright (c) 2009 Free Software Foundation, Inc. #
# #
@ -41,7 +41,6 @@ LIB_NAME=@LIB_NAME@
TINFO_NAME=@TINFO_NAME@
DFT_DEP_SUFFIX=@DFT_DEP_SUFFIX@
CXX_LIB_SUFFIX=@CXX_LIB_SUFFIX@
LD_RPATH_OPT=@LD_RPATH_OPT@
prefix="@prefix@"
exec_prefix="@exec_prefix@"
@ -96,10 +95,8 @@ do
# add dependencies that pkg-config cannot guess about
if test -z "$reqs" ; then
if test -z "$LD_RPATH_OPT" ; then
libs="$libs @LIBS@"
fi
fi
echo "** creating ${name}.pc"
cat >${name}.pc <<EOF

View File

@ -1,4 +1,4 @@
# $Id: mk-1st.awk,v 1.79 2008/12/28 01:17:54 tom Exp $
# $Id: mk-1st.awk,v 1.80 2009/01/04 21:51:38 tom Exp $
##############################################################################
# Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. #
# #
@ -404,7 +404,7 @@ END {
{
end_name = lib_name;
printf "../lib/%s : $(%s_OBJS)\n", lib_name, OBJS
printf "\t$(AR) $(AR_OPTS) $@ $?\n"
printf "\t$(AR) $(ARFLAGS) $@ $?\n"
printf "\t$(RANLIB) $@\n"
if ( host == "vxworks" )
{