diff options
-rw-r--r-- | x11-servers/XFree86-4-Server-snap/scripts/configure | 9 | ||||
-rw-r--r-- | x11-servers/XFree86-4-Server/scripts/configure | 9 | ||||
-rw-r--r-- | x11/XFree86-4-clients/scripts/configure | 9 | ||||
-rw-r--r-- | x11/XFree86-4-libraries/scripts/configure | 9 | ||||
-rw-r--r-- | x11/XFree86-4/scripts/configure | 9 | ||||
-rw-r--r-- | x11/XFree86/scripts/configure | 9 |
6 files changed, 42 insertions, 12 deletions
diff --git a/x11-servers/XFree86-4-Server-snap/scripts/configure b/x11-servers/XFree86-4-Server-snap/scripts/configure index de92d9f9caba..5379793cdc59 100644 --- a/x11-servers/XFree86-4-Server-snap/scripts/configure +++ b/x11-servers/XFree86-4-Server-snap/scripts/configure @@ -121,14 +121,15 @@ yesno "Do you want to enable XDM-AUTHORIZATION-1 support? [YES] " if [ $answ = YES ]; then WH=$WRKDIR/xc/lib/Xdmcp/Wraphelp.c + cpwh=NO if [ -f $WH ] ; then echo "==> $WH found in source distribution." elif [ -f $X11FIXES/Wraphelp.c ] ; then echo "==> Wraphelp.c found in fix directory, copying to source tree." - cp $X11FIXES/Wraphelp.c $WH + cpwh=$X11FIXES/Wraphelp.c elif [ -f $FILESDIR/Wraphelp.c ] ; then echo "==> Wraphelp.c found in files directory, copying to source tree." - cp $FILESDIR/Wraphelp.c $WH + cpwh=$FILESDIR/Wraphelp.c else echo "==> Wraphelp.c not found, DES support NOT enabled." answ=NO @@ -222,6 +223,10 @@ else configure fi +if [ $cpwh != NO ]; then + cp $cpwh $WH +fi + echo -n "==> applying XC patches" ok=0 for i in 01 02 03 04 05 06 07 08 09 10 11 12; do diff --git a/x11-servers/XFree86-4-Server/scripts/configure b/x11-servers/XFree86-4-Server/scripts/configure index de92d9f9caba..5379793cdc59 100644 --- a/x11-servers/XFree86-4-Server/scripts/configure +++ b/x11-servers/XFree86-4-Server/scripts/configure @@ -121,14 +121,15 @@ yesno "Do you want to enable XDM-AUTHORIZATION-1 support? [YES] " if [ $answ = YES ]; then WH=$WRKDIR/xc/lib/Xdmcp/Wraphelp.c + cpwh=NO if [ -f $WH ] ; then echo "==> $WH found in source distribution." elif [ -f $X11FIXES/Wraphelp.c ] ; then echo "==> Wraphelp.c found in fix directory, copying to source tree." - cp $X11FIXES/Wraphelp.c $WH + cpwh=$X11FIXES/Wraphelp.c elif [ -f $FILESDIR/Wraphelp.c ] ; then echo "==> Wraphelp.c found in files directory, copying to source tree." - cp $FILESDIR/Wraphelp.c $WH + cpwh=$FILESDIR/Wraphelp.c else echo "==> Wraphelp.c not found, DES support NOT enabled." answ=NO @@ -222,6 +223,10 @@ else configure fi +if [ $cpwh != NO ]; then + cp $cpwh $WH +fi + echo -n "==> applying XC patches" ok=0 for i in 01 02 03 04 05 06 07 08 09 10 11 12; do diff --git a/x11/XFree86-4-clients/scripts/configure b/x11/XFree86-4-clients/scripts/configure index de92d9f9caba..5379793cdc59 100644 --- a/x11/XFree86-4-clients/scripts/configure +++ b/x11/XFree86-4-clients/scripts/configure @@ -121,14 +121,15 @@ yesno "Do you want to enable XDM-AUTHORIZATION-1 support? [YES] " if [ $answ = YES ]; then WH=$WRKDIR/xc/lib/Xdmcp/Wraphelp.c + cpwh=NO if [ -f $WH ] ; then echo "==> $WH found in source distribution." elif [ -f $X11FIXES/Wraphelp.c ] ; then echo "==> Wraphelp.c found in fix directory, copying to source tree." - cp $X11FIXES/Wraphelp.c $WH + cpwh=$X11FIXES/Wraphelp.c elif [ -f $FILESDIR/Wraphelp.c ] ; then echo "==> Wraphelp.c found in files directory, copying to source tree." - cp $FILESDIR/Wraphelp.c $WH + cpwh=$FILESDIR/Wraphelp.c else echo "==> Wraphelp.c not found, DES support NOT enabled." answ=NO @@ -222,6 +223,10 @@ else configure fi +if [ $cpwh != NO ]; then + cp $cpwh $WH +fi + echo -n "==> applying XC patches" ok=0 for i in 01 02 03 04 05 06 07 08 09 10 11 12; do diff --git a/x11/XFree86-4-libraries/scripts/configure b/x11/XFree86-4-libraries/scripts/configure index de92d9f9caba..5379793cdc59 100644 --- a/x11/XFree86-4-libraries/scripts/configure +++ b/x11/XFree86-4-libraries/scripts/configure @@ -121,14 +121,15 @@ yesno "Do you want to enable XDM-AUTHORIZATION-1 support? [YES] " if [ $answ = YES ]; then WH=$WRKDIR/xc/lib/Xdmcp/Wraphelp.c + cpwh=NO if [ -f $WH ] ; then echo "==> $WH found in source distribution." elif [ -f $X11FIXES/Wraphelp.c ] ; then echo "==> Wraphelp.c found in fix directory, copying to source tree." - cp $X11FIXES/Wraphelp.c $WH + cpwh=$X11FIXES/Wraphelp.c elif [ -f $FILESDIR/Wraphelp.c ] ; then echo "==> Wraphelp.c found in files directory, copying to source tree." - cp $FILESDIR/Wraphelp.c $WH + cpwh=$FILESDIR/Wraphelp.c else echo "==> Wraphelp.c not found, DES support NOT enabled." answ=NO @@ -222,6 +223,10 @@ else configure fi +if [ $cpwh != NO ]; then + cp $cpwh $WH +fi + echo -n "==> applying XC patches" ok=0 for i in 01 02 03 04 05 06 07 08 09 10 11 12; do diff --git a/x11/XFree86-4/scripts/configure b/x11/XFree86-4/scripts/configure index de92d9f9caba..5379793cdc59 100644 --- a/x11/XFree86-4/scripts/configure +++ b/x11/XFree86-4/scripts/configure @@ -121,14 +121,15 @@ yesno "Do you want to enable XDM-AUTHORIZATION-1 support? [YES] " if [ $answ = YES ]; then WH=$WRKDIR/xc/lib/Xdmcp/Wraphelp.c + cpwh=NO if [ -f $WH ] ; then echo "==> $WH found in source distribution." elif [ -f $X11FIXES/Wraphelp.c ] ; then echo "==> Wraphelp.c found in fix directory, copying to source tree." - cp $X11FIXES/Wraphelp.c $WH + cpwh=$X11FIXES/Wraphelp.c elif [ -f $FILESDIR/Wraphelp.c ] ; then echo "==> Wraphelp.c found in files directory, copying to source tree." - cp $FILESDIR/Wraphelp.c $WH + cpwh=$FILESDIR/Wraphelp.c else echo "==> Wraphelp.c not found, DES support NOT enabled." answ=NO @@ -222,6 +223,10 @@ else configure fi +if [ $cpwh != NO ]; then + cp $cpwh $WH +fi + echo -n "==> applying XC patches" ok=0 for i in 01 02 03 04 05 06 07 08 09 10 11 12; do diff --git a/x11/XFree86/scripts/configure b/x11/XFree86/scripts/configure index de92d9f9caba..5379793cdc59 100644 --- a/x11/XFree86/scripts/configure +++ b/x11/XFree86/scripts/configure @@ -121,14 +121,15 @@ yesno "Do you want to enable XDM-AUTHORIZATION-1 support? [YES] " if [ $answ = YES ]; then WH=$WRKDIR/xc/lib/Xdmcp/Wraphelp.c + cpwh=NO if [ -f $WH ] ; then echo "==> $WH found in source distribution." elif [ -f $X11FIXES/Wraphelp.c ] ; then echo "==> Wraphelp.c found in fix directory, copying to source tree." - cp $X11FIXES/Wraphelp.c $WH + cpwh=$X11FIXES/Wraphelp.c elif [ -f $FILESDIR/Wraphelp.c ] ; then echo "==> Wraphelp.c found in files directory, copying to source tree." - cp $FILESDIR/Wraphelp.c $WH + cpwh=$FILESDIR/Wraphelp.c else echo "==> Wraphelp.c not found, DES support NOT enabled." answ=NO @@ -222,6 +223,10 @@ else configure fi +if [ $cpwh != NO ]; then + cp $cpwh $WH +fi + echo -n "==> applying XC patches" ok=0 for i in 01 02 03 04 05 06 07 08 09 10 11 12; do |