Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290255 - qt4-build.eclass fix for OSX 10.6 behaves badly with 10.5
Summary: qt4-build.eclass fix for OSX 10.6 behaves badly with 10.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
: 290302 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-23 16:23 UTC by Simone Scanzoni
Modified: 2009-10-25 01:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simone Scanzoni 2009-10-23 16:23:22 UTC
It needs this patch:
--- qt4-build.eclass.broken	2009-10-18 15:03:34 +0200
+++ qt4-build.eclass	2009-10-21 19:19:36 +0200
@@ -276,10 +276,11 @@
 			-i "${S}"/configure "${S}"/mkspecs/common/mac-g++.conf || die "sed ${S}/configure failed"
 
 		# On Snow Leopard don't fall back to 10.5 deployment target.
-		[[ ${CHOST} == *-apple-darwin10 ]] && \
+		if [[ ${CHOST} == *-apple-darwin10 ]]; then \
 			sed -e "s:QMakeVar set QMAKE_MACOSX_DEPLOYMENT_TARGET.*:QMakeVar set QMAKE_MACOSX_DEPLOYMENT_TARGET 10.6:g" \
 				-e "s:-mmacosx-version-min=10.[0-9]:-mmacosx-version-min=10.6:g" \
 				-i "${S}"/configure "${S}"/mkspecs/common/mac-g++.conf || die "sed ${S}/configure failed"
+		fi
 	fi
 
 	# this one is needed for all systems with a separate -liconv, apart from
Comment 1 Fabian Groffen gentoo-dev 2009-10-24 09:44:28 UTC
*** Bug 290302 has been marked as a duplicate of this bug. ***
Comment 2 Fabian Groffen gentoo-dev 2009-10-24 09:46:47 UTC
many thanks, I applied your patch, sorry for the inconvenience!
Comment 3 matt 2009-10-25 01:05:22 UTC
this patch gets me past this error, but now fails bug 290426