Author: jfrederic.clere(a)jboss.com
Date: 2010-03-18 04:54:30 -0400 (Thu, 18 Mar 2010)
New Revision: 2635
Added:
trunk/build/patch/zlib-1.2.4.patch
Log:
configure and Makefile.in are broken on HPUX.
Added: trunk/build/patch/zlib-1.2.4.patch
===================================================================
--- trunk/build/patch/zlib-1.2.4.patch (rev 0)
+++ trunk/build/patch/zlib-1.2.4.patch 2010-03-18 08:54:30 UTC (rev 2635)
@@ -0,0 +1,33 @@
+--- Makefile.in 2010-03-14 03:10:27.000000000 +0100
++++ Makefile.in 2010-03-18 09:44:28.293204500 +0100
+@@ -134,7 +134,7 @@
+ -@mv objs/$*.o $@
+
+ $(SHAREDLIBV): $(PIC_OBJS)
+- $(LDSHARED) $(SFLAGS) -o $@ $(PIC_OBJS) -lc
++ $(LDSHARED) -o $@ $(PIC_OBJS) -lc
+ rm -f $(SHAREDLIB) $(SHAREDLIBM)
+ ln -s $@ $(SHAREDLIB)
+ ln -s $@ $(SHAREDLIBM)
+--- configure 2010-03-12 16:06:14.000000000 +0100
++++ configure 2010-03-18 09:44:14.990204825 +0100
+@@ -197,7 +197,7 @@
+ echo Checking for shared library support...
+ # we must test in two steps (cc then ld), required at least on SunOS 4.x
+ if test "`($CC -w -c $SFLAGS $test.c) 2>&1`" = ""
&&
+- test "`($LDSHARED $SFLAGS -o $test$shared_ext $test.o) 2>&1`" =
""; then
++ test "`($LDSHARED -o $test$shared_ext $test.o) 2>&1`" =
""; then
+ echo Building shared library $SHAREDLIBV with $CC.
+ elif test -z "$old_cc" -a -z "$old_cflags"; then
+ echo No shared library support.
+@@ -205,8 +205,8 @@
+ else
+ echo Tested $CC -w -c $SFLAGS $test.c
+ $CC -w -c $SFLAGS $test.c
+- echo Tested $LDSHARED $SFLAGS -o $test$shared_ext $test.o
+- $LDSHARED $SFLAGS -o $test$shared_ext $test.o
++ echo Tested $LDSHARED -o $test$shared_ext $test.o
++ $LDSHARED -o $test$shared_ext $test.o
+ echo 'No shared library support; try without defining CC and CFLAGS'
+ shared=0;
+ fi
Show replies by date