Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
8c654464
Commit
8c654464
authored
Jul 26, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbph: replace readlink with realpath on FreeBSD
parent
3a77a37c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
rpmbph
bin/rpmbph
+8
-2
No files found.
bin/rpmbph
View file @
8c654464
...
@@ -56,12 +56,18 @@ cat $SPECNAME | grep rpm-build-compat &>/dev/null && BUILDREQ="$FIXPATCHFUZZ"
...
@@ -56,12 +56,18 @@ cat $SPECNAME | grep rpm-build-compat &>/dev/null && BUILDREQ="$FIXPATCHFUZZ"
FIXMKTEMP
=
""
FIXMKTEMP
=
""
# fix readlink -m, introduced by new libtool and missed in RHEL4 (replace with readlink -
e
)
# fix readlink -m, introduced by new libtool and missed in RHEL4 (replace with readlink -
f
)
if
[
"
`
distr_vendor
-d
`
/
$DISTRVERSION
"
=
"ASPLinux/11.2"
]
;
then
if
[
"
`
distr_vendor
-d
`
/
$DISTRVERSION
"
=
"ASPLinux/11.2"
]
;
then
test
-z
"
$VERBOSE
"
||
echo
"Add subst readlink -m"
test
-z
"
$VERBOSE
"
||
echo
"Add subst readlink -m"
FIXMKTEMP
=
"%__subst 's|readlink -m|readlink -f|g' libtool ltmain.sh"
FIXMKTEMP
=
"%__subst 's|readlink -m|readlink -f|g' libtool ltmain.sh"
fi
fi
# fix readlink -mv, introduced by new libtool and missed in Generic (FreeBSD) (replace with readlink -f)
if
[
"
$VENDOR
"
=
"generic"
]
;
then
test
-z
"
$VERBOSE
"
||
echo
"Add subst readlink -mv"
FIXMKTEMP
=
"%__subst 's|readlink -mv|realpath|g' configure ltmain.sh"
fi
if
[
"
`
distr_vendor
-d
`
"
=
"Ubuntu"
]
||
[
"
`
distr_vendor
-d
`
"
=
"Debian"
]
;
then
if
[
"
`
distr_vendor
-d
`
"
=
"Ubuntu"
]
||
[
"
`
distr_vendor
-d
`
"
=
"Debian"
]
;
then
test
-z
"
$VERBOSE
"
||
echo
"Add remove_optflags -m64"
test
-z
"
$VERBOSE
"
||
echo
"Add remove_optflags -m64"
FIXMKTEMP
=
"%remove_optflags -m64"
FIXMKTEMP
=
"%remove_optflags -m64"
...
@@ -70,7 +76,7 @@ fi
...
@@ -70,7 +76,7 @@ fi
# fix mktemp using for MCBC
# fix mktemp using for MCBC
if
[
"
$VENDOR
"
=
"mcbc"
]
;
then
if
[
"
$VENDOR
"
=
"mcbc"
]
;
then
test
-z
"
$VERBOSE
"
||
echo
"Add subst mktemp -dt"
test
-z
"
$VERBOSE
"
||
echo
"Add subst mktemp -dt"
FIXMKTEMP
=
"%__subst 's|mktemp -dt|mktemp -d|g
' configure
"
FIXMKTEMP
=
"%__subst 's|mktemp -dt|mktemp -d|g
s|readlink -mv|readlink -f|g' configure libtool
"
fi
fi
# Too old problem
# Too old problem
...
...
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