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
7036ac6e
Commit
7036ac6e
authored
Dec 04, 2013
by
Michael Ott
Browse files
Fixing ncurses dependencies for OpenIPMI in configure
parent
5083e5ee
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
7036ac6e
...
@@ -93,12 +93,11 @@ $(DCDBDEPSPATH)/.prerequesites: $(DCDBDEPSPATH)/.extract-distfiles
...
@@ -93,12 +93,11 @@ $(DCDBDEPSPATH)/.prerequesites: $(DCDBDEPSPATH)/.extract-distfiles
@echo
""
@echo
""
@echo
"Buidling OpenIPMI library..."
@echo
"Buidling OpenIPMI library..."
$(eval X
:
= $(shell uname))
$(eval O
:
= $(shell echo "$(DISTFILESPATHS)" | sed 's/.*OpenIPMI/OpenIPMI/' | sed 's/
\
.*//'))
$(eval O
:
= $(shell echo "$(DISTFILESPATHS)" | sed 's/.*OpenIPMI/OpenIPMI/' | sed 's/
\
.*//'))
@
if
[
-e
$(DCDBDEPSPATH)
/patches/
$(O)
.patch
]
;
then
echo
"Patching OpenIPMI..."
;
cd
$(DCDBDEPSPATH)
/
$(O)
&&
(
patch
-N
-p1
<
$(DCDBDEPSPATH)
/patches/
$(O)
.patch
||
true
)
;
fi
@
if
[
-e
$(DCDBDEPSPATH)
/patches/
$(O)
.patch
]
;
then
echo
"Patching OpenIPMI..."
;
cd
$(DCDBDEPSPATH)
/
$(O)
&&
(
patch
-N
-p1
<
$(DCDBDEPSPATH)
/patches/
$(O)
.patch
||
true
)
;
fi
@
cd
$(DCDBDEPSPATH)
/
$(O)
&&
env
CFLAGS
=
"
$(CFLAGS)
"
LDFLAGS
=
"
$(LDFLAGS)
"
./configure
--prefix
=
$(DCDBDEPLOYPATH)
--with-swig
=
no
--with-perl
=
no
--with-python
=
no
;
\
$(
eval
X :
=
$(
shell
uname
))
if
[
"
$$
?"
-ne
"0"
]
;
then
echo
"Configure failed. Will try to re-run autoconf..."
&&
cd
$(DCDBDEPSPATH)
/
$(O)
&&
autoconf
&&
env
CFLAGS
=
"
$(CFLAGS)
"
LDFLAGS
=
"
$(LDFLAGS)
"
./configure
--prefix
=
$(DCDBDEPLOYPATH)
--with-swig
=
no
--with-perl
=
no
--with-python
=
no
;
fi
@
if
[
"
$(X)
"
=
"Darwin"
]
;
then
echo
"Fixing OpenIPMI for Mac OS..."
;
cd
$(DCDBDEPSPATH)
/
$(O)
&&
find
.
-name
'Makefile*'
| xargs
sed
-i
''
-e
's/Map/map/g'
;
fi
@
if
[
"
$(X)
"
=
"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)
"
./configure
--prefix
=
$(DCDBDEPLOYPATH)
--with-swig
=
no
--with-perl
=
no
--with-python
=
no
@
cd
$(DCDBDEPSPATH)
/
$(O)
&&
env
CFLAGS
=
"
$(CFLAGS)
"
LDFLAGS
=
"
$(LDFLAGS)
"
make
-j
$(MAKETHREADS)
&&
make
install
@
cd
$(DCDBDEPSPATH)
/
$(O)
&&
env
CFLAGS
=
"
$(CFLAGS)
"
LDFLAGS
=
"
$(LDFLAGS)
"
make
-j
$(MAKETHREADS)
&&
make
install
@
echo
""
@
echo
""
...
@@ -108,7 +107,7 @@ $(DCDBDEPSPATH)/.prerequesites: $(DCDBDEPSPATH)/.extract-distfiles
...
@@ -108,7 +107,7 @@ $(DCDBDEPSPATH)/.prerequesites: $(DCDBDEPSPATH)/.extract-distfiles
--with-libraries
=
atomic,chrono,date_time,exception,filesystem,program_options,thread,timer
&&
./b2
-j
$(MAKETHREADS)
install
--with-libraries
=
atomic,chrono,date_time,exception,filesystem,program_options,thread,timer
&&
./b2
-j
$(MAKETHREADS)
install
@echo
""
@echo
""
@echo
"Bui
d
ling Thrift..."
@echo
"Buil
d
ing Thrift..."
$(eval T
:
= $(shell echo "$(DISTFILESPATHS)" | sed 's/.*thrift/thrift/' | sed 's/
\
.*//'))
$(eval T
:
= $(shell echo "$(DISTFILESPATHS)" | sed 's/.*thrift/thrift/' | sed 's/
\
.*//'))
@
if
[
-e
$(DCDBDEPSPATH)
/patches/
$(T)
.patch
]
;
then
echo
"Patching Thrift..."
;
cd
$(DCDBDEPSPATH)
/
$(T)
&&
(
patch
-N
-p1
<
$(DCDBDEPSPATH)
/patches/
$(T)
.patch
||
true
)
;
fi
@
if
[
-e
$(DCDBDEPSPATH)
/patches/
$(T)
.patch
]
;
then
echo
"Patching Thrift..."
;
cd
$(DCDBDEPSPATH)
/
$(T)
&&
(
patch
-N
-p1
<
$(DCDBDEPSPATH)
/patches/
$(T)
.patch
||
true
)
;
fi
@
cd
$(DCDBDEPSPATH)
/
$(T)
&&
env
CXXFLAGS
=
"
$(CXX11FLAGS)
"
./configure
--prefix
=
$(DCDBDEPLOYPATH)
--without-qt4
--without-csharp
\
@
cd
$(DCDBDEPSPATH)
/
$(T)
&&
env
CXXFLAGS
=
"
$(CXX11FLAGS)
"
./configure
--prefix
=
$(DCDBDEPLOYPATH)
--without-qt4
--without-csharp
\
...
...
patches/OpenIPMI-2.0.19.patch
View file @
7036ac6e
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