Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Eric Zheng
slapos
Commits
90ebf296
Commit
90ebf296
authored
Sep 22, 2019
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
component/perl: enable shared option for slapos.recipe.cmmi
Most components depend on perl.
parent
a2c4d715
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
component/perl/buildout.cfg
component/perl/buildout.cfg
+5
-3
No files found.
component/perl/buildout.cfg
View file @
90ebf296
...
@@ -8,10 +8,11 @@ parts =
...
@@ -8,10 +8,11 @@ parts =
[perl]
[perl]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
version = 5.28.1
version = 5.28.1
url = http://www.cpan.org/src/5.0/perl-${:version}.tar.xz
url = http://www.cpan.org/src/5.0/perl-${:version}.tar.xz
md5sum = fbb590c305f2f88578f448581b8cf9c4
md5sum = fbb590c305f2f88578f448581b8cf9c4
siteprefix =
${buildout:parts-directory}
/site_${:_buildout_section_name_}
siteprefix =
@@LOCATION@@
/site_${:_buildout_section_name_}
patch-options = -p1
patch-options = -p1
patches =
patches =
${:_profile_base_location_}/perl-keep-linker-flags-in-ldflags.patch#4e8e0c59d7176eafb0c7402dea17bef1
${:_profile_base_location_}/perl-keep-linker-flags-in-ldflags.patch#4e8e0c59d7176eafb0c7402dea17bef1
...
@@ -21,7 +22,7 @@ patches =
...
@@ -21,7 +22,7 @@ patches =
${:_profile_base_location_}/0004-disable-probing.patch#e68446ccd155c2282639e495a5be612b
${:_profile_base_location_}/0004-disable-probing.patch#e68446ccd155c2282639e495a5be612b
configure-command =
configure-command =
sh Configure -des \
sh Configure -des \
-Dprefix=
${buildout:parts-directory}/${:_buildout_section_name_}
\
-Dprefix=
@@LOCATION@@
\
-Dsiteprefix=${:siteprefix} \
-Dsiteprefix=${:siteprefix} \
-Dcflags=-I${gdbm:location}/include \
-Dcflags=-I${gdbm:location}/include \
-Dldflags="-L${gdbm:location}/lib -Wl,-rpath=${gdbm:location}/lib" \
-Dldflags="-L${gdbm:location}/lib -Wl,-rpath=${gdbm:location}/lib" \
...
@@ -76,6 +77,7 @@ perl-PERL5LIB =
...
@@ -76,6 +77,7 @@ perl-PERL5LIB =
# Implementation
# Implementation
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
url = https://www.cpan.org/modules/by-module/${:module}-${:version}.tar.gz
url = https://www.cpan.org/modules/by-module/${:module}-${:version}.tar.gz
configure-command =
configure-command =
${:extra-env}
${:extra-env}
...
@@ -84,7 +86,7 @@ configure-command =
...
@@ -84,7 +86,7 @@ configure-command =
Makefile.PL \
Makefile.PL \
PREFIX=${:location} \
PREFIX=${:location} \
${:extra-configure-args}
${:extra-configure-args}
location =
${buildout:parts-directory}/${:_buildout_section_name_}
location =
@@LOCATION@@
# Install scripts in "perl-bin", but create wrappers in ./bin/
# Install scripts in "perl-bin", but create wrappers in ./bin/
make-options =
make-options =
INSTALLSITESCRIPT=${:location}/perl-bin/
INSTALLSITESCRIPT=${:location}/perl-bin/
...
...
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