head 1.2; access; symbols netbsd-7-2-RELEASE:1.1.1.4.2.1 netbsd-7-1-2-RELEASE:1.1.1.4.2.1 netbsd-7-1-1-RELEASE:1.1.1.4.2.1 netbsd-7-1:1.1.1.4.2.1.0.4 netbsd-7-1-RELEASE:1.1.1.4.2.1 netbsd-7-1-RC2:1.1.1.4.2.1 netbsd-7-1-RC1:1.1.1.4.2.1 netbsd-7-0-2-RELEASE:1.1.1.4.2.1 netbsd-7-0-1-RELEASE:1.1.1.4.2.1 netbsd-7-0:1.1.1.4.2.1.0.2 netbsd-7-0-RELEASE:1.1.1.4.2.1 netbsd-7-0-RC3:1.1.1.4.2.1 netbsd-7-0-RC2:1.1.1.4.2.1 netbsd-7-0-RC1:1.1.1.4.2.1 netbsd-5-2-3-RELEASE:1.1.1.1.2.1 netbsd-5-1-5-RELEASE:1.1.1.1.2.1 netbsd-6-0-6-RELEASE:1.1.1.3 netbsd-6-1-5-RELEASE:1.1.1.3 netbsd-7:1.1.1.4.0.2 netbsd-7-base:1.1.1.4 MesaLib-7-11-2:1.1.1.4 netbsd-6-1-4-RELEASE:1.1.1.3 netbsd-6-0-5-RELEASE:1.1.1.3 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.3 riastradh-drm2:1.1.1.3.0.8 riastradh-drm2-base:1.1.1.3 netbsd-6-1-3-RELEASE:1.1.1.3 netbsd-6-0-4-RELEASE:1.1.1.3 netbsd-5-2-2-RELEASE:1.1.1.1.2.1 netbsd-5-1-4-RELEASE:1.1.1.1.2.1 netbsd-6-1-2-RELEASE:1.1.1.3 netbsd-6-0-3-RELEASE:1.1.1.3 netbsd-5-2-1-RELEASE:1.1.1.1.2.1 netbsd-5-1-3-RELEASE:1.1.1.1.2.1 netbsd-6-1-1-RELEASE:1.1.1.3 netbsd-6-1:1.1.1.3.0.6 netbsd-6-0-2-RELEASE:1.1.1.3 netbsd-6-1-RELEASE:1.1.1.3 netbsd-6-1-RC4:1.1.1.3 netbsd-6-1-RC3:1.1.1.3 netbsd-6-1-RC2:1.1.1.3 netbsd-6-1-RC1:1.1.1.3 netbsd-5-2:1.1.1.1.2.1.0.4 netbsd-6-0-1-RELEASE:1.1.1.3 netbsd-5-2-RELEASE:1.1.1.1.2.1 netbsd-5-2-RC1:1.1.1.1.2.1 netbsd-6-0:1.1.1.3.0.4 netbsd-6-0-RELEASE:1.1.1.3 netbsd-6-0-RC2:1.1.1.3 netbsd-6-0-RC1:1.1.1.3 netbsd-6:1.1.1.3.0.2 netbsd-6-base:1.1.1.3 netbsd-5-1-2-RELEASE:1.1.1.1.2.1 netbsd-5-1-1-RELEASE:1.1.1.1.2.1 netbsd-5-1:1.1.1.1.2.1.0.2 netbsd-5-1-RELEASE:1.1.1.1.2.1 netbsd-5-1-RC4:1.1.1.1.2.1 MesaLib-7-8-2:1.1.1.3 netbsd-5-1-RC3:1.1.1.1.2.1 MesaLib-7-7-1:1.1.1.3 netbsd-5-1-RC2:1.1.1.1.2.1 netbsd-5-1-RC1:1.1.1.1.2.1 netbsd-5-0-2-RELEASE:1.1.1.1 MesaLib-7-4-4:1.1.1.2 netbsd-5-0-1-RELEASE:1.1.1.1 MesaLib-7-4-2:1.1.1.2 netbsd-5-0:1.1.1.1.0.4 netbsd-5-0-RELEASE:1.1.1.1 netbsd-5-0-RC4:1.1.1.1 netbsd-5-0-RC3:1.1.1.1 netbsd-5-0-RC2:1.1.1.1 netbsd-5-0-RC1:1.1.1.1 netbsd-5:1.1.1.1.0.2 netbsd-5-base:1.1.1.1 MesaLib-7-0-3:1.1.1.1 xorg:1.1.1; locks; strict; comment @# @; 1.2 date 2014.12.18.06.11.29; author mrg; state dead; branches; next 1.1; commitid Ae59RsLlS9l0cu2y; 1.1 date 2008.07.29.05.08.16; author mrg; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.07.29.05.08.16; author mrg; state Exp; branches 1.1.1.1.2.1; next 1.1.1.2; 1.1.1.2 date 2009.06.11.00.50.15; author mrg; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 2010.05.23.21.22.15; author mrg; state Exp; branches; next 1.1.1.4; 1.1.1.4 date 2014.07.09.19.38.34; author riastradh; state Exp; branches 1.1.1.4.2.1; next ; commitid h96CLViPL8qdRJHx; 1.1.1.1.2.1 date 2009.09.17.03.32.03; author snj; state Exp; branches; next ; 1.1.1.4.2.1 date 2015.01.06.09.26.18; author martin; state dead; branches; next ; commitid 2BxXkbQgg8gLEW4y; desc @@ 1.2 log @merge Mesa 10.3.5. @ text @#!/bin/sh # A minimal replacement for 'install' that supports installing symbolic links. # Only a limited number of options are supported: # -d dir Create a directory # -m mode Sets a file's mode when installing # If these commands aren't portable, we'll need some "if (arch)" type stuff SYMLINK="ln -s" MKDIR="mkdir -p" RM="rm -f" MODE="" if [ "$1" = "-d" ] ; then # make a directory path $MKDIR "$2" exit 0 fi if [ "$1" = "-m" ] ; then # set file mode MODE=$2 shift 2 fi # install file(s) into destination if [ $# -ge 2 ] ; then # Last cmd line arg is the dest dir for FILE in $@@ ; do DEST="$FILE" done # Loop over args, moving them to DEST directory I=1 for FILE in $@@ ; do if [ $I = $# ] ; then # stop, don't want to install $DEST into $DEST exit 0 fi # determine file's type if [ -h "$FILE" ] ; then #echo $FILE is a symlink # Unfortunately, cp -d isn't universal so we have to # use a work-around. # Use ls -l to find the target that the link points to LL=`ls -l "$FILE"` for L in $LL ; do TARGET=$L done #echo $FILE is a symlink pointing to $TARGET FILE=`basename "$FILE"` # Go to $DEST and make the link PWDSAVE="$PWD" cd "$DEST" # pushd $RM "$FILE" $SYMLINK "$TARGET" "$FILE" cd "$PWDSAVE" # popd elif [ -f "$FILE" ] ; then #echo "$FILE" is a regular file $RM "$DEST/`basename $FILE`" cp "$FILE" "$DEST" if [ $MODE ] ; then FILE=`basename "$FILE"` chmod $MODE "$DEST/$FILE" fi else echo "Unknown type of argument: " "$FILE" exit 1 fi I=`expr $I + 1` done exit 0 fi # If we get here, we didn't find anything to do echo "Usage:" echo " install -d dir Create named directory" echo " install [-m mode] file [...] dest Install files in destination" @ 1.1 log @Initial revision @ text @@ 1.1.1.1 log @initial import of MesaLib-7.0.3 @ text @@ 1.1.1.1.2.1 log @Apply patch (requested by mrg in ticket #958): Bring over X.Org updates from HEAD. @ text @a44 2 PWDSAVE=`pwd` d60 1 @ 1.1.1.2 log @initial import of MesaLib-7.4.2 @ text @a44 2 PWDSAVE=`pwd` d60 1 @ 1.1.1.3 log @initial import of MesaLib-7.7.1 @ text @d69 2 a70 5 # Only copy if the files differ if ! cmp -s $FILE $DEST/`basename $FILE`; then $RM "$DEST/`basename $FILE`" cp "$FILE" "$DEST" fi @ 1.1.1.4 log @import MesaLib 7.11.2 Brings in support for Intel Sandy Bridge and Ivy Bridge hardware, a new shader language compiler, and various other improvements too numerous to list here; see for details. @ text @d34 1 a34 1 DESTDIR="$FILE" a44 19 DEST=$DESTDIR # On CYGWIN, because DLLs are loaded by the native Win32 loader, # they are installed in the executable path. Stub libraries used # only for linking are installed in the library path case `uname` in CYGWIN*) case $FILE in *.dll) DEST="$DEST/../bin" ;; *) ;; esac ;; *) ;; esac @ 1.1.1.4.2.1 log @File removals that accidently did not happen during pullup of the new MesaLib for ticket #381 @ text @@