freebsd-ports/net-p2p/mute-net/files/patch-MUTE::configure
Mario Sergio Fujikawa Ferreira fb9649399e Update to 0.3
2004-04-06 00:06:41 +00:00

66 lines
1.2 KiB
Text

--- MUTE/configure.orig Mon Apr 5 20:28:43 2004
+++ MUTE/configure Mon Apr 5 20:29:47 2004
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
#
# Modification History
@@ -37,21 +37,10 @@
while [ -z "$userEntry" ]
do
- echo "select platform:"
- echo " 1 -- GNU/Linux X86"
- echo " 2 -- GNU/Linux PPC"
- echo " 3 -- FreeBSD X86"
- echo " 4 -- MacOSX"
- echo " 5 -- Solaris"
- echo " 6 -- Win32 using MinGW"
- echo " q -- quit"
- echo ""
- echo -n "> "
-
- read userEntry
+userEntry=3
if [ "$userEntry" = "q" ]
then
@@ -61,12 +50,12 @@
# use ASCII comparison.
- if [[ "$userEntry" > "6" ]]
+ if [ "$userEntry" -gt "6" ]
then
userEntry=""
fi
- if [[ "$userEntry" < "1" ]]
+ if [ "$userEntry" -lt "1" ]
then
userEntry=""
fi
@@ -330,18 +319,9 @@
esac
-echo ""
-echo ""
-echo "Enter full path to wxWindows wx-config script."
-echo " Example: /usr/bin/wx-config"
-echo "To us the default setting, or if you do not plan to build the"
-echo "wxWindows-based GUI, leave this blank."
-
-echo ""
-echo -n "> "
-read userEntry
+userEntry=%%WX_CONFIG%%
if [ "$userEntry" = "" ]
then