]> git.lyx.org Git - lyx.git/blobdiff - development/LyX-Mac-binary-release.sh
Add hint for backward search (cf #8054)
[lyx.git] / development / LyX-Mac-binary-release.sh
index 3a64983b864c25ea8bbbd5eeecb91ae58ffbc2c3..776d1eeca3915f6d462dbdfffce492996c2d06b8 100644 (file)
@@ -226,8 +226,6 @@ LyxAppPrefix="${LyxAppDir}.app"
 # if zip file is needed... remove the comment sign
 #LyxAppZip="${LyxAppPrefix}.zip"
 
-BuildSystem=`"${LyxSourceDir}/config/config.guess"`
-
 # ---------------------------------
 # DON'T MODIFY ANYTHING BELOW HERE!
 # ---------------------------------
@@ -328,7 +326,6 @@ if [ -d "${HunSpellSourceDir}" -a ! -f "${HunSpellInstallHdr}" ]; then
                "${HunSpellSourceDir}/configure"\
                        --prefix="${HunSpellInstallDir}"\
                        ${HunspellConfigureOptions}
-                       #--host="${HOSTSYSTEM}" ${BuildSystem:+"--build=${BuildSystem}"}
                make && make install${strip}
                for file in ${FILE_LIST} ; do
                        if [ -f "${HunSpellInstallDir}"/lib/${file} ]; then
@@ -393,7 +390,6 @@ if [ -d "${ASpellSourceDir}" -a ! -f "${ASpellInstallHdr}" -a "yes" = "${aspell_
                CXXFLAGS=-g "${ASpellSourceDir}/configure"\
                        --prefix="${ASpellInstallDir}"\
                        ${AspellConfigureOptions}
-                       #--host="${HOSTSYSTEM}" ${BuildSystem:+"--build=${BuildSystem}"}
                make && make install${aspellstrip}
                for file in ${FILE_LIST} ; do
                        if [ -f "${ASpellInstallDir}"/lib/${file} ]; then
@@ -490,8 +486,6 @@ build_lyx() {
                        CPPFLAGS="${CPPFLAGS} -I${SDKROOT}/Library/Frameworks/QtCore.framework/Headers"
                        CPPFLAGS="${CPPFLAGS} -I${SDKROOT}/Library/Frameworks/QtGui.framework/Headers"
                fi
-               LDFLAGS="${LDFLAGS}"${MAC_API:+" -framework Carbon"}
-               LDFLAGS="${LDFLAGS} -framework AppKit"
 
                echo LDFLAGS="${LDFLAGS}"
                export LDFLAGS
@@ -502,7 +496,7 @@ build_lyx() {
                        --prefix="${LyxAppPrefix}" --with-version-suffix="-${LyXVersionSuffix}"\
                        ${QtInstallDir:+"--with-qt4-dir=${QtInstallDir}"} \
                        ${LyXConfigureOptions}\
-                       --host="${HOSTSYSTEM}" --build="${BuildSystem}" --enable-build-type=rel && \
+                       --enable-build-type=rel && \
                make -j2 && make install${strip}
                for file in ${LYX_FILE_LIST} ; do
                        if [ -f "${LYX_BUNDLE_PATH}/${file}" ]; then