Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
dcdb
dcdb
Commits
cf2bee61
Commit
cf2bee61
authored
Aug 04, 2013
by
Axel Auweter
Browse files
Fixes compilation of OpenIPMI library on Mac OS.
parent
165f65ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
cf2bee61
...
...
@@ -96,8 +96,9 @@ $(DCDBDEPSPATH)/.prerequesites: $(DCDBDEPSPATH)/.extract-distfiles
@echo
""
@echo
"Buidling OpenIPMI library..."
$(eval O
:
= $(shell echo "$(DISTFILESPATHS)" | sed 's/.*OpenIPMI/OpenIPMI/' | sed 's/
\
.*//'))
@
cd
$(DCDBDEPSPATH)
/
$(O)
&&
env
CFLAGS
=
"
$(CFLAGS)
"
LDFLAGS
=
"
$(LDFLAGS)
"
./configure
--prefix
=
$(DCDBDEPLOYPATH)
\
&&
env
CFLAGS
=
"
$(CFLAGS)
"
LDFLAGS
=
"
$(LDFLAGS)
"
make
-j
$(MAKETHREADS)
&&
make
install
@
cd
$(DCDBDEPSPATH)
/
$(O)
&&
env
CFLAGS
=
"
$(CFLAGS)
"
LDFLAGS
=
"
$(LDFLAGS)
"
./configure
--prefix
=
$(DCDBDEPLOYPATH)
--with-swig
=
no
--with-perl
=
no
--with-python-no
@
if
[
`
uname
`
==
"Darwin"
]
;
then
echo
"Fixing OpenIPMI for Mac OS..."
;
cd
$(DCDBDEPSPATH)
/
$(O)
&&
find
.
-name
'Makefile*'
| xargs
sed
-i
''
-e
's/Map/map/g'
;
fi
@
cd
$(DCDBDEPSPATH)
/
$(O)
&&
env
CFLAGS
=
"
$(CFLAGS)
"
LDFLAGS
=
"
$(LDFLAGS)
"
make
-j
$(MAKETHREADS)
&&
make
install
@
echo
""
@
echo
"Building Boost..."
...
...
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