Skip to content
This repository was archived by the owner on Dec 23, 2018. It is now read-only.

Commit 7cd98d2

Browse files
committed
Fix some data installed to a wrong location
This works around a bug in the build machinery, which installs some data to a wrong location.
1 parent eb5d079 commit 7cd98d2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

bin/php-build

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,12 @@ if [ ! -d "$PREFIX_PATH/libexec" ] || [ ! -d "$PREFIX_PATH/etc/conf.d" ]; then
290290
mkdir -p "$PREFIX_PATH/"{libexec,etc/conf.d}
291291
fi
292292

293-
# Add `--libexecdir`, `--with-config-file-path`, `--with-config-file-scan-dir`
293+
# Add `--datadir`, `--libexecdir`, `--mandir`,
294+
# `--with-config-file-path`, `--with-config-file-scan-dir`
294295
# aswell as the prefix to the configure options.
295-
CONFIGURE_OPTS="--libexecdir=$PREFIX_PATH/libexec \
296+
CONFIGURE_OPTS="--datadir=$PREFIX_PATH/share/php \
297+
--libexecdir=$PREFIX_PATH/libexec \
298+
--mandir=$PREFIX_PATH/share/man \
296299
--with-config-file-path=$PREFIX_PATH/etc \
297300
--with-config-file-scan-dir=$PREFIX_PATH/etc/conf.d \
298301
$CONFIGURE_OPTS"

0 commit comments

Comments
 (0)