openpkg/curl.patch

Fri, 07 Sep 2012 19:08:07 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 07 Sep 2012 19:08:07 +0200
changeset 667
9dacbd1d1aa2
permissions
-rw-r--r--

Correct build configuration in Solaris subdir, correct english grammar,
remove irrelevant strip notice, introduce custom CFLAG logic, facilitate
use of Solaris Studio compiler with needed build configuration
adjustments, conditionally build 64 bit position independent code,
and accommodate tun(7) in newer Solaris releases by renaming driver
and module from conflicting 'tun' to 'vtun'. These changes include
some nonstandard 'I give up' logic causing out of tree builds by
manipulating the PATH, for example.

michael@428 1 Index: configure
michael@428 2 --- configure.orig 2012-05-22 23:46:41.000000000 +0200
michael@428 3 +++ configure 2012-05-25 22:56:57.000000000 +0200
michael@428 4 @@ -4886,10 +4886,7 @@
michael@428 5 if $ac_preproc_ok; then :
michael@428 6
michael@428 7 else
michael@428 8 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
michael@428 9 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
michael@428 10 -as_fn_error "C preprocessor \"$CPP\" fails sanity check
michael@428 11 -See \`config.log' for more details." "$LINENO" 5; }
michael@428 12 + :
michael@428 13 fi
michael@428 14
michael@428 15 ac_ext=c
michael@428 16 @@ -19472,7 +19469,7 @@
michael@428 17 $as_echo_n "(cached) " >&6
michael@428 18 else
michael@428 19 ac_check_lib_save_LIBS=$LIBS
michael@428 20 -LIBS="-l"$LDAPLIBNAME" $LIBS"
michael@428 21 +LIBS="-l$LDAPLIBNAME $LIBS"
michael@428 22 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
michael@428 23 /* end confdefs.h. */
michael@428 24
michael@428 25 @@ -19506,7 +19503,7 @@
michael@428 26 #define `$as_echo "HAVE_LIB"$LDAPLIBNAME"" | $as_tr_cpp` 1
michael@428 27 _ACEOF
michael@428 28
michael@428 29 - LIBS="-l"$LDAPLIBNAME" $LIBS"
michael@428 30 + LIBS="-l$LDAPLIBNAME $LIBS"
michael@428 31
michael@428 32 else
michael@428 33

mercurial