Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
814
Issues
814
List
Boards
Labels
Milestones
Merge Requests
45
Merge Requests
45
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
9e720ba7
Commit
9e720ba7
authored
Jan 12, 2010
by
Natanael Copa
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/php: fix extension dir in php.ini
fixes
#241
parent
4c4e1029
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
APKBUILD
main/php/APKBUILD
+5
-3
No files found.
main/php/APKBUILD
View file @
9e720ba7
...
...
@@ -3,7 +3,7 @@
pkgname
=
php
pkgver
=
5.2.11
_suhosinver
=
${
pkgver
}
-0
.9.7
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"The PHP language runtime engine"
url
=
"http://www.php.net/"
license
=
"PHP-3"
...
...
@@ -62,6 +62,7 @@ subpackages="$pkgname-dev $pkgname-doc
source
=
"http://www.php.net/distributions/
${
pkgname
}
-
${
pkgver
}
.tar.bz2
http://download.suhosin.org/suhosin-patch-
${
_suhosinver
}
.patch.gz
"
_extdir
=
"/usr/lib/php/20060613"
build
()
{
cd
"
$srcdir
/
$pkgname
-
$pkgver
"
...
...
@@ -161,13 +162,14 @@ build() {
make
||
return
1
make
-j1
INSTALL_ROOT
=
"
$pkgdir
"
install
||
return
1
# fix the extension_dir
sed
-i
-e
's/^extension_dir/\;extension_dir/'
php.ini-recommended
sed
-i
-e
"s:^extension_dir.*:extension_dir =
\"
$_extdir
\"
:"
\
php.ini-recommended
install
-D
-m644
php.ini-recommended
"
$pkgdir
"
/etc/php/php.ini
}
_mv_mod
()
{
pkgdesc
=
"
$1
php extension"
local
d
=
usr/lib/php/20060613
local
d
=
"
$_extdir
"
mkdir
-p
"
$subpkgdir
/
$d
"
mv
"
$pkgdir
/
$d
/
${
1
}
.so"
"
$subpkgdir
/
$d
/"
||
return
1
install
-d
"
$subpkgdir
"
/etc/php/conf.d
...
...
Natanael Copa
@ncopa
mentioned in issue
#241 (closed)
·
Jul 12, 2019
mentioned in issue
#241 (closed)
mentioned in issue #241
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment