Skip to content

Instantly share code, notes, and snippets.

@tochiz
Created August 21, 2011 12:32
Show Gist options
  • Save tochiz/1160550 to your computer and use it in GitHub Desktop.
Save tochiz/1160550 to your computer and use it in GitHub Desktop.
diff php-5.3.6-r1 gentoo prefix for testing
--- dev-lang/php/php-5.3.6-r1.ebuild.orig 2011-05-12 05:01:26.000000000 +0900
+++ dev-lang/php/php-5.3.6-r1.ebuild 2011-08-21 19:50:35.000000000 +0900
@@ -346,7 +346,7 @@
src_prepare() {
eblit-run src_prepare v3 ;
- if [[ ${CHOST} == *-darwin* ]] ; then
+ if [[ ${CHOST} == *-darwin* ]] && [[ ${CHOST} != *-darwin11 ]] ; then
# http://bugs.php.net/bug.php?id=48795, bug #343481
sed -i -e '/BUILD_CGI="\\$(CC)/s/CC/CXX/' configure || die
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment