Import of pkgsrc-2014Q1

This commit is contained in:
2014-11-05 12:41:07 +01:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions
+5 -1
View File
@@ -1,4 +1,4 @@
# $NetBSD: bsd.wrapper.mk,v 1.88 2013/03/01 13:27:38 jperkin Exp $
# $NetBSD: bsd.wrapper.mk,v 1.89 2014/03/06 10:15:54 uebayasi Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -138,6 +138,8 @@ IMAKE?= ${X11BASE}/bin/imake
WRAPPEES+= IMAKE
.endif
WRAPPEES+= LD
WRAPPEES+= AR
WRAPPEES+= RANLIB
.if !empty(PKGSRC_COMPILER:Mxlc) && ${OPSYS} == "AIX"
CC_R?= ${_XLC_DIR}/bin/cc_r
@@ -180,6 +182,8 @@ _WRAP_ALIASES.CPP= cpp
_WRAP_ALIASES.FC= f77 g77 gfortran
_WRAP_ALIASES.IMAKE= imake
_WRAP_ALIASES.LD= ld
_WRAP_ALIASES.AR= ar
_WRAP_ALIASES.RANLIB= ranlib
# _WRAP_*.<wrappee> variables represent "template methods" of the main
# wrapper script. This allows individual wrappers to be customized to
+2 -3
View File
@@ -1,4 +1,4 @@
# $NetBSD: scan,v 1.1 2004/10/04 20:28:30 jlam Exp $
# $NetBSD: scan,v 1.2 2014/02/26 10:40:46 jperkin Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -35,10 +35,9 @@
# POSSIBILITY OF SUCH DAMAGE.
#
# Don't append extra arguments if "-v" is passed to the command.
# Optional argument processing.
for arg do
case $arg in
-v) append_extra_args=no; break ;;
*) ;;
esac
done
+2 -2
View File
@@ -1,4 +1,4 @@
# $NetBSD: transform-gcc,v 1.28 2012/07/23 11:58:41 jperkin Exp $
# $NetBSD: transform-gcc,v 1.29 2013/12/31 13:56:35 tron Exp $
#
# This file handles the transformations needed for gcc that can be done
# looking at only one argument at a time.
@@ -147,7 +147,7 @@ case $arg in
-kpic |\
-KPIC |\
-kPIC ) transform_to "-fPIC" ;;
-mt ) transform_to "-threads" ;;
-mt ) transform_discard ;;
-64 ) transform_to "-m64" ;;
# Ignore SunPRO flags to prevent it from being recognized as a entry point
+6 -6
View File
@@ -1,6 +1,6 @@
#! @WRAPPER_SHELL@
#
# $NetBSD: wrapper.sh,v 1.22 2013/04/21 03:51:27 uebayasi Exp $
# $NetBSD: wrapper.sh,v 1.23 2014/03/06 10:19:43 uebayasi Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -125,18 +125,18 @@ yes)
;;
esac
cmd="$cmd $libs"
cmdline="$cmd $libs"
@_WRAP_ENV@
msg_log $wrapperlog "<.>" "$cmd"
msg_log $wrapperlog "<.>" "$cmdline"
if [ "${empty_file}" = "${cleanup}" ] && [ "$debug" != "yes" ]; then
eval "exec $cmd"
eval "exec $cmdline"
wrapper_result=$?
else
wrapper_result=0
eval "$cmd" || wrapper_result="$?"
eval "$cmdline" || wrapper_result="$?"
fi
. $cleanup
@@ -144,7 +144,7 @@ fi
[ $wrapper_result -eq 0 ] || [ "$debug" != "yes" ] || {
echo ""
echo "[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:"
echo "$cmd"
echo "$cmdline"
} 1>&2
exit ${wrapper_result}