Bug 38654 - [Maintainer-Update]irc/bitchx Unbreak IPv6, various cleanups.
Summary: [Maintainer-Update]irc/bitchx Unbreak IPv6, various cleanups.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-28 10:30 UTC by Tilman Linneweh
Modified: 2002-06-08 20:41 UTC (History)
1 user (show)

See Also:


Attachments
bitchx.diff (3.57 KB, patch)
2002-05-28 10:30 UTC, Tilman Linneweh
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tilman Linneweh 2002-05-28 10:30:01 UTC
This PR fixes ports/38588.
ECHO -> ECHO_CMD
Fix plist.
Removed WANT_GNOME, because the Gtkfrontend is buggy and unmaintained.
This was suggested bei Eric Cronin (ecronin@eecs.umich.edu)
Fixed IPv6 support. We have no libinet6 anymore. Spotted by Martin Proehl (e9926661@student.tuwien.ac.at). This fix was tested bei "s0ul" from OPN's #freebsd channel.
Switched to use autoconf because of the IPv6 patch.
Therefore removed patch-az and adjusted Makefile

In Case of Problems, you can get the hole port skeleton from http://oki.dynodns.net/~tilman/bitchx.tar.bz2

Fix: Remove patch-az.
Add new patch-configure:
--- configure.in.orig   Sun Mar 24 10:30:49 2002
+++ configure.in        Tue May 28 10:06:37 2002
@@ -685,48 +685,16 @@

 AC_MSG_CHECKING(whether to enable IPv6 support)
 AC_ARG_ENABLE(ipv6,
-[  --enable-ipv6           Enable IPv6 support (Linux only)],
+[  --enable-ipv6           Enable ipv6 support],
 [ case "$enableval" in
     yes)
-      case "$(uname -s)" in
-        Linux)
-          if test -d "/usr/inet6/include"; then
-            CFLAGS="$CFLAGS -I/usr/inet6/include"
-            LIBS="-L/usr/inet6/lib -linet6 $LIBS"
-            AC_MSG_RESULT(yes (libinet6))
-            AC_DEFINE(IPV6, 1, Define this if you want IPV6 support.)
-          else
-            if test -d "/usr/local/v6/lib"; then
-              LIBS="-L/usr/local/v6/lib -linet6 $LIBS"
-              AC_MSG_RESULT(yes (freebsd+kame))
-              AC_DEFINE(IPV6, 1, Define this if you want IPV6 support.)
-            else
-              AC_TRY_RUN([
-              int main()
-              {
-                 #if !defined(__GLIBC__) || (__GLIBC__ < 2)
-                 #define NO_GLIBC_2 1
-                 #endif
-
-                 if (NO_GLIBC_2)
-                   exit(0);
-                 else
-                   exit(1);
-              }],[ AC_MSG_RESULT(yes (glibc2))
-                   AC_DEFINE(IPV6, 1, Define this if you want IPV6 support.)
-                 ], [AC_MSG_RESULT(no)], [AC_MSG_WARN(cross-compiling: assuming no ipv6)])
-            fi
-          fi
-          ;;
-        *)
-          AC_MSG_RESULT(no (ipv6 support can currently be enabled on Linux only))
-          ;;
-      esac
-      ;;
-    no)
-      AC_MSG_RESULT(no)
-      ;;
-  esac ],
+       AC_MSG_RESULT(yes (notchecked))
+       AC_DEFINE(IPV6, 1, Define this if you want IPV6 support.)
+       ;;
+    *)
+       AC_MSG_RESULT(no)
+       ;;
+    esac],
 AC_MSG_RESULT(no)
 )
Comment 1 Patrick Li freebsd_committer freebsd_triage 2002-06-08 20:41:12 UTC
State Changed
From-To: open->closed

Committed, Thanks!