diff options
author | pat <pat@FreeBSD.org> | 2002-06-08 19:41:09 +0000 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-06-08 19:41:09 +0000 |
commit | 3970772e29828a67a63414f7bf096f898c23ac92 (patch) | |
tree | c7e53d343489de77d1952c612de653e2f47d92ca /irc/bitchx/files | |
parent | 26dee92190d24c5cbb4ffeffb85a90a8d4ff2d2f (diff) | |
download | FreeBSD-ports-3970772e29828a67a63414f7bf096f898c23ac92.zip FreeBSD-ports-3970772e29828a67a63414f7bf096f898c23ac92.tar.gz |
- Fix plist and portlint compliance
- Fix IPv6 support
- Remove WANT_GNOME because the Gtkfrontend is buggy and unmaintained
- ECHO -> ECHO_CMD
PR: ports/38654
Submitted by: maintainer
Diffstat (limited to 'irc/bitchx/files')
-rw-r--r-- | irc/bitchx/files/patch-az | 82 | ||||
-rw-r--r-- | irc/bitchx/files/patch-configure | 58 |
2 files changed, 58 insertions, 82 deletions
diff --git a/irc/bitchx/files/patch-az b/irc/bitchx/files/patch-az deleted file mode 100644 index 9db957e..0000000 --- a/irc/bitchx/files/patch-az +++ /dev/null @@ -1,82 +0,0 @@ ---- configure.orig Sun Mar 24 11:30:49 2002 -+++ configure Fri Apr 19 15:27:15 2002 -@@ -868,6 +868,8 @@ - --with-ssl Enable SSL support - --with-tgetent Use tgetent (termcap) instead of setupterm (ncurses) - --with-tcl Enable Tcl support -+ --with-tcl-includes=PFX Prefix where tcl.h is installed (optional) -+ - --with-maildir=PATH Enable QMAIL support - --with-default-server=SERVERNAME:PORT:PASSWORD:NICK:SERVERNETWORK - Connect to SERVERNAME by default -@@ -11120,6 +11122,17 @@ - #define WANT_TCL 1 - _ACEOF - -+# Check whether --with-tcl-includes was given. -+if test "${with_tcl_includes+set}" = set; then -+ withval="$with_tcl_includes" -+ TCL_INCLUDE=-I$withval -+else -+ TCL_INCLUDE=-I/usr/local/include -+fi; -+ -+cat >>confdefs.h <<\ACEOF -+#define WANT_TCL 1 -+ACEOF - - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 - echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 -@@ -11518,13 +11531,13 @@ - - - -- echo "$as_me:$LINENO: checking for Tcl_SetVar in -ltcl" >&5 --echo $ECHO_N "checking for Tcl_SetVar in -ltcl... $ECHO_C" >&6 --if test "${ac_cv_lib_tcl_Tcl_SetVar+set}" = set; then -+ echo "$as_me:$LINENO: checking for Tcl_SetVar in -ltcl83" >&5 -+echo $ECHO_N "checking for Tcl_SetVar in -ltcl83... $ECHO_C" >&6 -+if test "${ac_cv_lib_tcl83_Tcl_SetVar+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - ac_check_lib_save_LIBS=$LIBS --LIBS="-ltcl $LIBS" -+LIBS="-ltcl83 $LIBS" - cat >conftest.$ac_ext <<_ACEOF - #line $LINENO "configure" - #include "confdefs.h" -@@ -11562,19 +11575,19 @@ - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then -- ac_cv_lib_tcl_Tcl_SetVar=yes -+ ac_cv_lib_tcl83_Tcl_SetVar=yes - else - echo "$as_me: failed program was:" >&5 - cat conftest.$ac_ext >&5 --ac_cv_lib_tcl_Tcl_SetVar=no -+ac_cv_lib_tcl83_Tcl_SetVar=no - fi - rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS - fi --echo "$as_me:$LINENO: result: $ac_cv_lib_tcl_Tcl_SetVar" >&5 --echo "${ECHO_T}$ac_cv_lib_tcl_Tcl_SetVar" >&6 --if test $ac_cv_lib_tcl_Tcl_SetVar = yes; then -- TCL_LIBS="-ltcl" -+echo "$as_me:$LINENO: result: $ac_cv_lib_tcl83_Tcl_SetVar" >&5 -+echo "${ECHO_T}$ac_cv_lib_tcl83_Tcl_SetVar" >&6 -+if test $ac_cv_lib_tcl83_Tcl_SetVar = yes; then -+ TCL_LIBS="-ltcl83" - else - echo "$as_me:$LINENO: checking for alternate libtcl" >&5 - echo $ECHO_N "checking for alternate libtcl... $ECHO_C" >&6 -@@ -14776,7 +14789,7 @@ - fi - - --INCLUDES="-I. -I\$(topdir)/include -I\$(top_srcdir)/include -I\$(srcdir) -I\$(srcdir)/include" -+INCLUDES="-I. -I\$(topdir)/include -I\$(top_srcdir)/include -I\$(srcdir) -I\$(srcdir)/include $TCL_INCLUDE" - - - diff --git a/irc/bitchx/files/patch-configure b/irc/bitchx/files/patch-configure new file mode 100644 index 0000000..1713935 --- /dev/null +++ b/irc/bitchx/files/patch-configure @@ -0,0 +1,58 @@ +--- 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) + ) |