ports/devel/hadoop/files/patch-src__native__configure
Clement Laforet 95b1c2e57b - Add hadoop 1.0.0
- Add hadoop user to GIDs/UIDs (955)

The Apache Hadoop software library is a framework that allows for the
distributed processing of large data sets across clusters of computers
using a simple programming model.

WWW: http://hadoop.apache.org/

Approved by:    culot@, jadawin@ (mentors)
Feature safe:   yes
2012-03-27 14:51:01 +00:00

11 lines
769 B
Text

--- src/native/configure.orig 2011-12-08 23:11:17.000000000 +0100
+++ src/native/configure 2011-12-08 23:11:50.000000000 +0100
@@ -20504,7 +20504,7 @@
echo 'int main(int argc, char **argv){return 0;}' > conftest.c
if test -z "`${CC} ${LDFLAGS} -o conftest conftest.c -lz 2>&1`"; then
if test ! -z "`which objdump | grep -v 'no objdump'`"; then
- ac_cv_libname_z="`objdump -p conftest | grep NEEDED | grep z | sed 's/\W*NEEDED\W*\(.*\)\W*$/\"\1\"/'`"
+ ac_cv_libname_z="`objdump -p conftest | grep NEEDED | grep z | gsed 's/\W*NEEDED\W*\(.*\)\W*$/\"\1\"/'`"
elif test ! -z "`which ldd | grep -v 'no ldd'`"; then
ac_cv_libname_z="`ldd conftest | grep z | sed 's/^[^A-Za-z0-9]*\([A-Za-z0-9\.]*\)[^A-Za-z0-9]*=>.*$/\"\1\"/'`"
else