-
-
Save tkak/e00c7d6e6880ceaa27d0 to your computer and use it in GitHub Desktop.
Revisions
-
tkak revised this gist
Jun 3, 2014 . 1 changed file with 12 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,11 +2,19 @@ cd "$source_path" { + if [ -n $APXS ]; then + _LIBEXECDIR=`$APXS -q LIBEXECDIR` + sed -i -e "s|LIBEXECDIR='\$(INSTALL_ROOT)$_LIBEXECDIR'|LIBEXECDIR=$PREFIX/libexec|" $TMP/source/$DEFINITION/Makefile + fi + make make install make clean @@ -500,6 +505,7 @@ if [ -z "$apxs" ]; then apxs="$PHP_BUILD_APXS" fi + APXS="$apxs" configure_option "--with-apxs2" "$apxs" } -
tkuchiki revised this gist
Apr 30, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ { + if which apxs > /dev/null 2>&1; then + _LIBEXECDIR=`apxs -q LIBEXECDIR` + sed -i "" -e "s|LIBEXECDIR='\$(INSTALL_ROOT)$_LIBEXECDIR'|LIBEXECDIR=$PREFIX/libexec|" $TMP/source/$DEFINITION/Makefile + fi + make -
tkuchiki revised this gist
Apr 30, 2014 . 1 changed file with 6 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,12 @@ @@ -358,6 +358,11 @@ cd "$source_path" { + if which apxs > /dev/null 2>&1; then + _LIBEXECDIR=`apxs -q LIBEXECDIR` + sed -i"" -e "s|LIBEXECDIR='\$(INSTALL_ROOT)$_LIBEXECDIR'|LIBEXECDIR=$PREFIX/libexec|" $TMP/source/$DEFINITION/Makefile + fi + make make install make clean -
tkuchiki created this gist
Apr 8, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ @@ -358,6 +358,7 @@ cd "$source_path" { + sed -i"" -e "s|LIBEXECDIR='\$(INSTALL_ROOT)/usr/lib64/httpd/modules'|LIBEXECDIR=$PREFIX/libexec|" $TMP/source/$DEFINITION/Makefile make make install make clean