mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
1b90a9d903
- Define LICENSE and move PROJECTHOST where it logically belongs - Propagate available SIMD support down to the compiler (x86 only) - Do not enforce -O3; update/improve `x-generate-plist' target - Provide a better port description text while I am here Tested on: local Mac mini G4 (powerpc), flame (sparc64)
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
--- configure.orig 2011-06-16 09:06:28 UTC
|
|
+++ configure
|
|
@@ -3105,7 +3105,7 @@ if test "" = "$CXXFLAGS"; then
|
|
CXXFLAGS=" "
|
|
fi
|
|
|
|
-MOSH_LIB_PATH="${datadir}/mosh-$PACKAGE_VERSION"
|
|
+MOSH_LIB_PATH="${datadir}/mosh"
|
|
|
|
|
|
# Checks for programs.
|
|
@@ -5808,7 +5808,6 @@ $as_echo "#define MOSH_HOST_OS \"unknown
|
|
;;
|
|
esac
|
|
|
|
-MOSH_GENERIC_OPTS="-O3"
|
|
MOSH_INTEL_OPTS="$MOSH_GENERIC_OPTS -momit-leaf-frame-pointer -fomit-frame-pointer"
|
|
|
|
# Checks for O/S specific features
|
|
@@ -5931,7 +5930,7 @@ i[3456]86|pentium)
|
|
fi
|
|
;;
|
|
*freebsd*)
|
|
- MOSH_OPTS="$MOSH_INTEL_OPTS"
|
|
+ MOSH_OPTS="$MOSH_OPTS $MOSH_INTEL_OPTS"
|
|
MOSH_LDADD_ARCH="-lpthread"
|
|
;;
|
|
*netbsd*)
|
|
@@ -6023,7 +6022,7 @@ $as_echo "x86_64" >&6; }
|
|
*)
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
|
|
$as_echo "$host_cpu" >&6; }
|
|
- MOSH_OPTS="-O3"
|
|
+ MOSH_LDADD_ARCH="-lpthread"
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: architecture $host_cpu is not supported, but may work other than FFI" >&5
|
|
$as_echo "$as_me: WARNING: architecture $host_cpu is not supported, but may work other than FFI" >&2;}
|
|
|