From eb81a88093e7d71530eebb2957f8ba4317b26ee6 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Wed, 31 Jan 2007 14:09:55 +0000 Subject: - Patch net/libnet* to versioned libraries and header files, so they can coexist PR: ports/103861 Submitted by: alepulver Tested by: pointyhat With hat: portmgr --- net/xboxproxy/files/patch-configure | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 net/xboxproxy/files/patch-configure (limited to 'net/xboxproxy/files/patch-configure') diff --git a/net/xboxproxy/files/patch-configure b/net/xboxproxy/files/patch-configure new file mode 100644 index 000000000000..709d3a1753e6 --- /dev/null +++ b/net/xboxproxy/files/patch-configure @@ -0,0 +1,32 @@ +--- ./configure.orig Thu Oct 6 23:51:26 2005 ++++ ./configure Wed Sep 27 17:29:04 2006 +@@ -2867,7 +2867,7 @@ + + # Checks for libraries. + LIBNET_LDFLAGS="`libnet-config --libs`" +-LIBNET_CFLAGS="`libnet-config --defines` -D__GLIBC__" ++LIBNET_CFLAGS="`libnet-config --defines` `libnet-config --cflags` -D__GLIBC__" + + # Checks for header files. + +@@ -5111,19 +5111,7 @@ + as_ac_File=`echo "ac_cv_file_${dirname}/lib/libnet.a" | $as_tr_sh` + echo "$as_me:$LINENO: checking for ${dirname}/lib/libnet.a" >&5 + echo $ECHO_N "checking for ${dirname}/lib/libnet.a... $ECHO_C" >&6 +-if eval "test \"\${$as_ac_File+set}\" = set"; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- test "$cross_compiling" = yes && +- { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 +-echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} +- { (exit 1); exit 1; }; } +-if test -r "${dirname}/lib/libnet.a"; then +- eval "$as_ac_File=yes" +-else +- eval "$as_ac_File=no" +-fi +-fi ++eval "$as_ac_File=yes" + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 + echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 + if test `eval echo '${'$as_ac_File'}'` = yes; then -- cgit v1.2.3