Ticket #48120: patch-buildsystem.diff
File patch-buildsystem.diff, 2.9 KB (added by ahkdiep@…, 9 years ago) |
---|
-
build.sh
old new 12 12 # Beware: GNU libtool cannot handle directory names containing whitespace. 13 13 # Therefore, do not set M_CONF_TMPDIR to such a directory. 14 14 # 15 readonly M_CONF_TMPDIR= /tmp15 readonly M_CONF_TMPDIR=@@TMP@@ 16 16 readonly M_PLISTSIGNER_TEST_KEY="`dirname $0`/prefpane/autoinstaller/TestKeys/private_key.der" 17 17 18 18 # Other constants … … 113 113 declare M_XCODE_VERSION_REQUIRED="" 114 114 115 115 # SDK 10.5 116 readonly M_SDK_105_ARCHS=" ppc ppc64 i386 x86_64"116 readonly M_SDK_105_ARCHS="@@ARCHS@@" 117 117 declare M_SDK_105="" 118 118 declare M_SDK_105_XCODE="" 119 119 declare M_SDK_105_COMPILER="" 120 120 121 121 # SDK 10.6 122 readonly M_SDK_106_ARCHS=" i386 x86_64"122 readonly M_SDK_106_ARCHS="@@ARCHS@@" 123 123 declare M_SDK_106="" 124 124 declare M_SDK_106_XCODE="" 125 125 declare M_SDK_106_COMPILER="" 126 126 127 127 # SDK 10.7 128 readonly M_SDK_107_ARCHS=" i386 x86_64"128 readonly M_SDK_107_ARCHS="@@ARCHS@@" 129 129 declare M_SDK_107="" 130 130 declare M_SDK_107_XCODE="" 131 131 declare M_SDK_107_COMPILER="" 132 132 133 133 # SDK 10.8 134 readonly M_SDK_108_ARCHS=" i386 x86_64"134 readonly M_SDK_108_ARCHS="@@ARCHS@@" 135 135 declare M_SDK_108="" 136 136 declare M_SDK_108_XCODE="" 137 137 declare M_SDK_108_COMPILER="" 138 138 139 139 # SDK 10.9 140 readonly M_SDK_109_ARCHS=" i386 x86_64"140 readonly M_SDK_109_ARCHS="@@ARCHS@@" 141 141 declare M_SDK_109="" 142 142 declare M_SDK_109_XCODE="" 143 143 declare M_SDK_109_COMPILER="" 144 144 145 145 # SDK 10.10 146 readonly M_SDK_1010_ARCHS=" i386 x86_64"146 readonly M_SDK_1010_ARCHS="@@ARCHS@@" 147 147 declare M_SDK_1010="" 148 148 declare M_SDK_1010_XCODE="" 149 149 declare M_SDK_1010_COMPILER="" 150 150 151 # SDK 10.11 152 readonly M_SDK_1011_ARCHS="@@ARCHS@@" 153 declare M_SDK_1011="" 154 declare M_SDK_1011_XCODE="" 155 declare M_SDK_1011_COMPILER="" 156 151 157 readonly M_FSBUNDLE_NAME="osxfusefs.fs" 152 158 readonly M_INSTALL_RESOURCES_DIR="Install_resources" 153 159 readonly M_KEXT_ID="com.github.osxfuse.filesystems.osxfusefs" … … 358 364 m_compiler="$M_SDK_1010_COMPILER" 359 365 m_archs="$M_SDK_1010_ARCHS" 360 366 ;; 367 10.11*) 368 m_osname="El Capitan" 369 m_xcode_dir="$M_SDK_1011_XCODE" 370 m_usdk_dir="$M_SDK_1011" 371 m_compiler="$M_SDK_1011_COMPILER" 372 m_archs="$M_SDK_1011_ARCHS" 373 ;; 361 374 *) 362 375 m_osname="Unknown" 363 376 m_xcode_dir="" … … 2030 2043 2031 2044 local ms_osxfuse_out="$M_CONF_TMPDIR/osxfuse-homebrew-$ms_os_version-$ms_osxfuse_version" 2032 2045 local ms_osxfuse_build="$ms_osxfuse_out/build/" 2033 local ms_osxfuse_root=" $m_prefix"2046 local ms_osxfuse_root="@@DESTROOT@@$m_prefix" 2034 2047 2035 2048 if [ -e "$ms_osxfuse_out" ] 2036 2049 then … … 2134 2147 xcrun make -j4 >$m_stdout 2>$m_stderr 2135 2148 m_exit_on_error "make failed while compiling the OSXFUSE library." 2136 2149 2137 xcrun make install >$m_stdout 2>$m_stderr2150 xcrun make install DESTDIR="@@DESTROOT@@" >$m_stdout 2>$m_stderr 2138 2151 m_exit_on_error "cannot prepare library build for installation." 2139 2152 2140 2153 for f in "$ms_osxfuse_root"/lib/libosxfuse_i64*.dylib; do