File move-build-directory-under-datadir.patch of Package php84
From: Michal Kubecek <mkubecek@suse.cz> Date: Sun, 25 Aug 2013 14:32:57 +0200 Subject: move build directory under datadir Files installed into "build" directory are not architecture dependent so that there is no reason to install them under libdir. --- scripts/Makefile.frag | 2 +- scripts/phpize.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/scripts/Makefile.frag +++ b/scripts/Makefile.frag @@ -3,7 +3,7 @@ # phpincludedir = $(includedir)/php -phpbuilddir = $(libdir)/build +phpbuilddir = $(datadir)/build BUILD_FILES = \ scripts/phpize.m4 \ --- a/scripts/phpize.in +++ b/scripts/phpize.in @@ -4,7 +4,7 @@ prefix='@prefix@' datarootdir='@datarootdir@' exec_prefix="`eval echo @exec_prefix@`" -phpdir="`eval echo @libdir@`/build" +phpdir="`eval echo @datadir@`/build" includedir="`eval echo @includedir@`/php" builddir="`pwd`" SED="@SED@"