aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2005-06-30 22:20:39 +0000
committerGreg Lewis <glewis@FreeBSD.org>2005-06-30 22:20:39 +0000
commitad635cfe96b1f2de591bc617c52ebe3782015acf (patch)
tree1054d41498b60a8b4669c641ea981d3dedf9a7cd
parent3d548a99a88241a78fa3837c62ac18b4534ead1d (diff)
downloadports-ad635cfe96b1f2de591bc617c52ebe3782015acf.tar.gz
ports-ad635cfe96b1f2de591bc617c52ebe3782015acf.zip
. Add $FreeBSD$.
. Fix the build on sparc64 by converting -fpic to -fPIC. Pointed out by: pointyhat (via kris) Approved by: Josh Paetzel <josh@tcbug.org> (maintainer)
Notes
Notes: svn path=/head/; revision=138270
-rw-r--r--net/socks5/files/patch-an24
1 files changed, 22 insertions, 2 deletions
diff --git a/net/socks5/files/patch-an b/net/socks5/files/patch-an
index 3dd5f8ec5824..4093713810fd 100644
--- a/net/socks5/files/patch-an
+++ b/net/socks5/files/patch-an
@@ -1,5 +1,7 @@
---- configure Tue Aug 3 00:01:03 1999
-+++ configure.orig Sun Feb 20 21:28:20 2000
+$FreeBSD$
+
+--- configure.orig Mon Aug 2 15:01:03 1999
++++ configure Thu Jun 30 20:17:31 2005
@@ -3090,6 +3090,61 @@
fi
done
@@ -62,3 +64,21 @@
for ac_func in memset memcmp memmove strchr strrchr strdup strerror
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+@@ -4713,7 +4768,7 @@
+ ;;
+ FreeBSD*|NetBSD*)
+ SHLIB_LFLAGS="-Bshareable"
+- SHLIB_CFLAGS="-fpic"
++ SHLIB_CFLAGS="-fPIC"
+ PRELOADS="LD_PRELOAD"
+ ;;
+ SunOS*4.*)
+@@ -4773,7 +4828,7 @@
+
+
+ if test `uname -s` = "FreeBSD"; then
+- SHLIB_CFLAGS="-fpic -r"
++ SHLIB_CFLAGS="-fPIC -r"
+ fi
+
+ echo "$ac_t"""lflags: $SHLIB_LFLAGS cflags: $SHLIB_CFLAGS"" 1>&6