pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/xcdroast The configure.in/aclocal.m4/configur...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/df320c7e627a
branches:  trunk
changeset: 491379:df320c7e627a
user:      reed <reed%pkgsrc.org@localhost>
date:      Wed Mar 23 18:02:48 2005 +0000

description:
The configure.in/aclocal.m4/configure shipped with xcdroast source
accidently included a check for PCRE.

xcdroast build and installed software does not use pcre.

This patch-ab removes the configure check for pcre.

And the dependency for pcre is removed and package revision is bumped.

This patch is same as if patched using new configure found via
http://www.xcdroast.org/xcdr098/patches/ (and that webpage has five
other patches to consider).

This was okayed by maintainer, Thorsten F.

diffstat:

 sysutils/xcdroast/Makefile         |   5 +-
 sysutils/xcdroast/distinfo         |   3 +-
 sysutils/xcdroast/patches/patch-ab |  68 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 72 insertions(+), 4 deletions(-)

diffs (109 lines):

diff -r ff8f2ea418e6 -r df320c7e627a sysutils/xcdroast/Makefile
--- a/sysutils/xcdroast/Makefile        Wed Mar 23 17:27:17 2005 +0000
+++ b/sysutils/xcdroast/Makefile        Wed Mar 23 18:02:48 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.28 2004/10/03 00:18:17 tv Exp $
+# $NetBSD: Makefile,v 1.29 2005/03/23 18:02:48 reed Exp $
 
 DISTNAME=      xcdroast-0.98alpha15
 PKGNAME=       xcdroast-0.98a15
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=xcdroast/}
 
@@ -53,7 +53,6 @@
        done)
 
 .include "../../devel/gettext-lib/buildlink3.mk"
-.include "../../devel/pcre/buildlink3.mk"
 .include "../../devel/pkgconfig/buildlink3.mk"
 .include "../../x11/gtk2/buildlink3.mk"
 .include "../../mk/ossaudio.buildlink3.mk"
diff -r ff8f2ea418e6 -r df320c7e627a sysutils/xcdroast/distinfo
--- a/sysutils/xcdroast/distinfo        Wed Mar 23 17:27:17 2005 +0000
+++ b/sysutils/xcdroast/distinfo        Wed Mar 23 18:02:48 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2005/02/24 13:40:59 agc Exp $
+$NetBSD: distinfo,v 1.13 2005/03/23 18:02:48 reed Exp $
 
 SHA1 (xcdroast-0.98alpha15.tar.gz) = f354ea9ffe918c4ec11312d5537e6e245730fecc
 RMD160 (xcdroast-0.98alpha15.tar.gz) = 9198f67659023ce8f508fa2c331df9d9c8b81a8f
@@ -6,4 +6,5 @@
 SHA1 (gtk2locale.patch) = bb3d2f2c7edede86af6c367c8b5b09339251250c
 Size (gtk2locale.patch) = 643 bytes
 SHA1 (patch-aa) = 0beee32a5550646cd360459d90281cb0ec9a826a
+SHA1 (patch-ab) = 085da3b440ba1d6a0e305626e1ac3fba49d2f546
 SHA1 (patch-ad) = 417a82344e14ae2a9f602254b152337c33afae4a
diff -r ff8f2ea418e6 -r df320c7e627a sysutils/xcdroast/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xcdroast/patches/patch-ab        Wed Mar 23 18:02:48 2005 +0000
@@ -0,0 +1,68 @@
+$NetBSD: patch-ab,v 1.5 2005/03/23 18:02:48 reed Exp $
+
+--- configure.orig     2003-10-25 15:51:45.000000000 -0700
++++ configure
+@@ -4361,55 +4361,6 @@ echo "$as_me: error: Library requirement
+       LIBS="$LIBS $PKGCONFIG_LIBS"
+       CFLAGS="$CFLAGS $PKGCONFIG_CFLAGS"
+ 
+-      # Extract the first word of "pcre-config", so it can be a program name with args.
+-set dummy pcre-config; ac_word=$2
+-echo "$as_me:$LINENO: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_path_PCRE_CONFIG+set}" = set; then
+-  echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+-  case $PCRE_CONFIG in
+-  [\\/]* | ?:[\\/]*)
+-  ac_cv_path_PCRE_CONFIG="$PCRE_CONFIG" # Let the user override the test with a path.
+-  ;;
+-  *)
+-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+-for as_dir in $PATH
+-do
+-  IFS=$as_save_IFS
+-  test -z "$as_dir" && as_dir=.
+-  for ac_exec_ext in '' $ac_executable_extensions; do
+-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+-    ac_cv_path_PCRE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+-    break 2
+-  fi
+-done
+-done
+-
+-  test -z "$ac_cv_path_PCRE_CONFIG" && ac_cv_path_PCRE_CONFIG="no"
+-  ;;
+-esac
+-fi
+-PCRE_CONFIG=$ac_cv_path_PCRE_CONFIG
+-
+-if test -n "$PCRE_CONFIG"; then
+-  echo "$as_me:$LINENO: result: $PCRE_CONFIG" >&5
+-echo "${ECHO_T}$PCRE_CONFIG" >&6
+-else
+-  echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+-
+-      if test "x$PCRE_CONFIG" = "xno" ; then
+-              { { echo "$as_me:$LINENO: error: pcre-config not found please install libpcre3-dev or similar" >&5
+-echo "$as_me: error: pcre-config not found please install libpcre3-dev or similar" >&2;}
+-   { (exit 1); exit 1; }; }
+-      else
+-              LIBS="$LIBS `$PCRE_CONFIG --libs`"
+-              CFLAGS="$CFLAGS `$PCRE_CONFIG --cflags`"
+-      fi
+-
+ else
+ 
+ 
+@@ -9249,7 +9200,6 @@ s,@ENABLE_GTK2@,$ENABLE_GTK2,;t t
+ s,@PKG_CONFIG@,$PKG_CONFIG,;t t
+ s,@PKGCONFIG_CFLAGS@,$PKGCONFIG_CFLAGS,;t t
+ s,@PKGCONFIG_LIBS@,$PKGCONFIG_LIBS,;t t
+-s,@PCRE_CONFIG@,$PCRE_CONFIG,;t t
+ s,@GLIB_CONFIG@,$GLIB_CONFIG,;t t
+ s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
+ s,@GLIB_LIBS@,$GLIB_LIBS,;t t



Home | Main Index | Thread Index | Old Index