From db7a6ba493b05a7a32c7a26b4c6b379944fce1cc Mon Sep 17 00:00:00 2001 From: naddy Date: Wed, 20 Jul 2011 14:22:48 +0000 Subject: [PATCH] fix a configure script typo that caused OpenBSD 5.x to be mistaken for Solaris 2.x and rename a misleadingly named patch file --- net/irc/patches/patch-configure | 12 ------------ net/irc/patches/patch-support_configure | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 12 deletions(-) delete mode 100644 net/irc/patches/patch-configure create mode 100644 net/irc/patches/patch-support_configure diff --git a/net/irc/patches/patch-configure b/net/irc/patches/patch-configure deleted file mode 100644 index 296245b1ba3..00000000000 --- a/net/irc/patches/patch-configure +++ /dev/null @@ -1,12 +0,0 @@ -$OpenBSD: patch-configure,v 1.3 2005/12/03 17:13:24 sturm Exp $ ---- support/configure.orig Tue Jun 6 18:35:29 2000 -+++ support/configure Fri Apr 20 02:51:20 2001 -@@ -246,7 +246,7 @@ EOF - -logdir | --logdir | --logdi | --logd) - ac_prev=logdir ;; - -logdir=* | --logdir=* | --logdi=* | --logd=*) -- logdir="$ac_optarg/" ;; -+ logdir="$ac_optarg" ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; diff --git a/net/irc/patches/patch-support_configure b/net/irc/patches/patch-support_configure new file mode 100644 index 00000000000..ec8e8cab69c --- /dev/null +++ b/net/irc/patches/patch-support_configure @@ -0,0 +1,21 @@ +$OpenBSD: patch-support_configure,v 1.1 2011/07/20 14:22:48 naddy Exp $ +--- support/configure.orig Tue Jun 6 16:35:29 2000 ++++ support/configure Wed Jul 20 08:16:35 2011 +@@ -246,7 +246,7 @@ EOF + -logdir | --logdir | --logdi | --logd) + ac_prev=logdir ;; + -logdir=* | --logdir=* | --logdi=* | --logd=*) +- logdir="$ac_optarg/" ;; ++ logdir="$ac_optarg" ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; +@@ -1296,7 +1296,7 @@ fi + fi + + irc_cv_solaris_2=no +-if test "$irc_sun" = no; then ++if test "$irc_cv_sun" = no; then + echo "$ac_t""no" 1>&6 + else + if uname -r 2>/dev/null | grep "^5" >/dev/null; then