Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nomadbsd
Commits
56c6b069
Commit
56c6b069
authored
5 years ago
by
Marcel
Browse files
Options
Download
Email Patches
Plain Diff
Temporarily install devel/autoconf and devel/automake to build sysutils/fusefs-jmtpfs
parent
aa5f67f8
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build
+23
-0
build
with
23 additions
and
0 deletions
+23
-0
build
+
23
-
0
View file @
56c6b069
...
...
@@ -339,6 +339,20 @@ instports()
if
!
(
mount
|
grep
-
q
"${SYSDIR}/dev"
);
then
chroot
"${SYSDIR}"
sh
-
c
'mount -t devfs devfs /dev'
fi
#
# We need devel/autoconf and devel/automake to build
# sysutils/fusefs-jmtpfs
#
if
pkg
--
chroot
"${SYSDIR}"
info
--
exists
devel
/
autoconf
;
then
have_autoconf
=
1
else
pkg
--
chroot
"${SYSDIR}"
install
-
y
devel
/
autoconf
fi
if
pkg
--
chroot
"${SYSDIR}"
info
--
exists
devel
/
automake
;
then
have_automake
=
1
else
pkg
--
chroot
"${SYSDIR}"
install
-
y
devel
/
automake
fi
for
p
in
$
{
PORTSLIST
};
do
echo
"Checking whether $p is already installed"
>&
2
if
pkg
--
chroot
"${SYSDIR}"
info
--
exists
$
p
;
then
...
...
@@ -363,6 +377,15 @@ instports()
if
(
echo
$
{
RELEASE
}
|
grep
-
q
'CURRENT'
);
then
pkg
-
c
"${SYSDIR}"
lock
-
y
-
g
'*-kmod-*'
fi
# Delete packages needed to build the ports
if
[
-
z
"$have_autoconf"
];
then
pkg
-
c
"${SYSDIR}"
delete
-
y
devel
/
autoconf
fi
if
[
-
z
"$have_automake"
];
then
pkg
-
c
"${SYSDIR}"
delete
-
y
devel
/
autoconf
fi
pkg
-
c
"${SYSDIR}"
autoremove
-
y
umount
"${SYSDIR}/usr/ports"
umount
"${SYSDIR}/dev"
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help