Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
abuild
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
25
Issues
25
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
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
alpine
abuild
Commits
2c907ddc
Commit
2c907ddc
authored
Jun 03, 2009
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
abuild: warn if g++ is in makedepends. fix for dynamic deps
parent
5b00cca7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
abuild.in
abuild.in
+4
-2
No files found.
abuild.in
View file @
2c907ddc
...
...
@@ -122,6 +122,8 @@ sanitycheck() {
[
-n
"
$makedepend
"
]
&&
die
"APKBUILD contains 'makedepend'. It should be makedepends"
grep
'^# Maintainer:'
$APKBUILD
>
/dev/null
||
warning
"No maintainer"
makedepends_has
'g++'
&&
warning
"g++ should not be in makedepends"
return
0
}
...
...
@@ -403,8 +405,8 @@ trace_apk_deps() {
# first check if its provide by same apkbuild
for
j
in
"
$dir
"
/../
*
/.provides-so
;
do
grep
-w
"
$i
"
"
$j
"
>
/dev/null
||
continue
found
=
${
found
%/.*
}
found
=
${
j
##*/
}
found
=
${
j
%/.provides-so
}
found
=
${
found
##*/
}
break
done
# check apk db if not provided by a subpackage
...
...
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