freebsd-ports/sysutils/openhpi/files/patch-configure
Tijl Coosemans e5d688c99e Add sysutils/openhpi.
OpenHPI provides an open source implementation of the Service Availability
Forum (SAF) Hardware Platform Interface (HPI).

HPI is an abstracted interface for managing computer hardware, typically
chassis and rack based servers.  HPI includes resource modeling; access to
and control over sensor, control, watchdog, and inventory data associated
with resources; abstracted System Event Log interfaces; hardware events and
alarms; and a managed hotswap interface.
2016-03-21 21:14:05 +00:00

65 lines
1.6 KiB
Text

--- configure.orig 2015-09-14 22:59:50 UTC
+++ configure
@@ -15704,51 +15704,6 @@ fi
fi
-# check for gcc version
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc >= 3.2" >&5
-$as_echo_n "checking gcc >= 3.2... " >&6; }
-
- GCCVERSIONOK=`gcc -dumpversion | \
- sed 's/\./ /g' | \
- awk '{ \
- if ( $1 > 3) { \
- print "OK"; \
- } \
- if ( $1 == 3 ) { \
- if( $2 > 2 ) { \
- print "OK"; \
- } \
- if( $2 == 2 ) { \
- print "OK"; \
- } \
- } \
- }'` \
-
- if test "$GCCVERSIONOK" = "OK"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
- else
-
- OH_MSG=`echo -e "- gcc >= 3.2 is required to build OpenHPI not found!\n"`
- if test "x" != "x"; then
- OH_MSG=`echo -e "$OH_MSG\n- "`
- fi
- if test "x" != "x"; then
- OH_MSG=`echo -e "$OH_MSG\n- Try installing the package\n"`
- fi
- if test "x" != "x"; then
- OH_MSG=`echo -e "$OH_MSG\n- or get the latest software from \n"`
- fi
-
- as_fn_error $? "!
-************************************************************
-$OH_MSG
-************************************************************
-" "$LINENO" 5
-
-
- fi
GLIB_REQUIRED_VERSION=2.12
@@ -17337,10 +17292,6 @@ if test "${enable_werror+set}" = set; th
fi
-if test -n "`gcc --version | grep ' 3.2'`" ; then
- CC_WARNINGS=`echo $CC_WARNINGS | sed -e 's/-Wno-strict-aliasing//g'`
- CXX_WARNINGS=`echo $CC_WARNINGS | sed -e 's/-Wno-strict-aliasing//g'`
-fi
case $host_os in
solaris*)