Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
abuild
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
13
Issues
13
List
Boards
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
abuild
Commits
542617a6
Commit
542617a6
authored
Jun 12, 2016
by
Jakub Jirutka
Committed by
Natanael Copa
Jun 13, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apkbuild-cpan: invoke default_prepare in prepare() function
parent
cca53fba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
apkbuild-cpan.in
apkbuild-cpan.in
+6
-0
No files found.
apkbuild-cpan.in
View file @
542617a6
...
...
@@ -41,6 +41,8 @@ source="[% source %]"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare || return 1
cd "$builddir"
if [ -e Build.PL ]; then
perl Build.PL installdirs=vendor || return 1
...
...
@@ -166,6 +168,8 @@ sub update_functions {
if
(
-
e
"
$metaprefix
/Build.PL
"
)
{
$prepare_func
=
<<'EOF';
prepare() {
default_prepare || return 1
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL installdirs=vendor || return 1
...
...
@@ -188,6 +192,8 @@ EOF
}
else
{
$prepare_func
=
<<'EOF';
prepare() {
default_prepare || return 1
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
...
...
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