Skip to content

Instantly share code, notes, and snippets.

@tkuchiki
Last active November 21, 2015 00:37
Show Gist options
  • Save tkuchiki/10112836 to your computer and use it in GitHub Desktop.
Save tkuchiki/10112836 to your computer and use it in GitHub Desktop.
patching file php-build(https://github.com/CHH/php-build)
@@ -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
@tkak
Copy link

tkak commented Jun 4, 2014

This patch is very useful for me!!
Do you have a plan to send pull request to the original repository? If you not, can I send pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment