From 667c6b0dccce3a70dbad88fd97207a769349b0cf Mon Sep 17 00:00:00 2001 From: marcus Date: Sun, 22 Mar 2009 19:41:34 +0000 Subject: Mark SOCKS5 support as only for i386 since it will cause 64-bit apps to crash as it lacks prototype definitions for functions such as SOCKSlocaltime, SOCKSread, etc. These functions return 64-bit values, but will get truncated to 32-bit values without proper prototypes. I looked at net/socks5, but it does not appear to be engineered in a way to provide these prototypes to external consumers. The socks5 port needs to be updated so that it works with INCLUDE_PROTOTYPES on FreeBSD. --- irc/xchat/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/irc/xchat/Makefile b/irc/xchat/Makefile index 9cc579590788..a5ccb418ed21 100644 --- a/irc/xchat/Makefile +++ b/irc/xchat/Makefile @@ -110,6 +110,7 @@ PLIST_SUB+= TCL="@comment " .endif .if defined(WITH_SOCKS) +ONLY_FOR_ARCHS= i386 BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5 CONFIGURE_ARGS+=--enable-socks .endif -- cgit