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
24
Issues
24
List
Boards
Labels
Service Desk
Milestones
Merge Requests
17
Merge Requests
17
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
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
9400ec01
Commit
9400ec01
authored
Nov 02, 2009
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
abuild: fix detection of pkgconfig dependency
parent
4e633c5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
abuild.in
abuild.in
+6
-6
No files found.
abuild.in
View file @
9400ec01
...
...
@@ -426,6 +426,12 @@ trace_apk_deps() {
local dir
=
"
$2
"
local
i j found
autodeps
=
msg
"Tracing dependencies for
$name
..."
# add pkgconfig if usr/lib/pkgconfig is found
if
[
-d
"
$pkgbasedir
"
/
$name
/usr/lib/pkgconfig
]
\
&&
!
grep
-q
'^depend = pkgconfig'
"
$dir
"
/.PKGINFO
;
then
msg
"Added pkgconfig as dependency"
echo
"depend = pkgconfig"
>>
"
$dir
"
/.PKGINFO
fi
for
i
in
$(
cat
"
$dir
"
/.needs-so 2>/dev/null
)
;
do
found
=
# first check if its provide by same apkbuild
...
...
@@ -455,12 +461,6 @@ trace_apk_deps() {
for
i
in
$autodeps
;
do
echo
"depend =
$i
"
>>
"
$dir
"
/.PKGINFO
done
# add pkgconfig if usr/lib/pkgconfig is found
if
[
-d
"
$pkgbasdir
"
/
$name
/usr/lib/pkgconfig
]
\
&&
!
grep
-q
'^depend = pkgconfig'
"
$dir
"
/.PKGINFO
;
then
msg
"Added pkgconfig as dependency"
echo
"depend = pkgconfig"
>>
"
$dir
"
/.PKGINFO
fi
}
create_apks
()
{
...
...
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