pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/centericq Fixed some pkglint warnings. On Solaris...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c777d753122f
branches:  trunk
changeset: 519306:c777d753122f
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Oct 01 13:56:00 2006 +0000

description:
Fixed some pkglint warnings. On Solaris, querying the __sun macro
instead of __sun__ is preferred.

diffstat:

 chat/centericq/Makefile         |  9 ++++-----
 chat/centericq/distinfo         |  4 ++--
 chat/centericq/patches/patch-aa |  6 +++---
 3 files changed, 9 insertions(+), 10 deletions(-)

diffs (81 lines):

diff -r 5a016c3e2589 -r c777d753122f chat/centericq/Makefile
--- a/chat/centericq/Makefile   Sun Oct 01 13:53:30 2006 +0000
+++ b/chat/centericq/Makefile   Sun Oct 01 13:56:00 2006 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.59 2006/03/04 21:29:02 jlam Exp $
+# $NetBSD: Makefile,v 1.60 2006/10/01 13:56:00 rillig Exp $
 #
 
 DISTNAME=      centericq-4.21.0
+PKGREVISION=   2
 CATEGORIES=    chat
-PKGREVISION=   2
 MASTER_SITES=  http://konst.org.ua/download/ \
                http://centericq.de/archive/source/releases/
 EXTRACT_SUFX=  .tar.bz2
@@ -18,7 +18,7 @@
 
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --with-ssl --with-openssl=${SSLBASE:Q}
-CONFIGURE_ARGS+=       --with-gpgme=${BUILDLINK_PREFIX.gpgme}/bin/gpgme-config
+CONFIGURE_ARGS+=       --with-gpgme=${BUILDLINK_PREFIX.gpgme}/bin/gpgme-config
 LIBS+=                 ${LDFLAGS}
 
 REPLACE_PERL=          misc/cicqconv
@@ -33,13 +33,12 @@
 CPPFLAGS+=             -DAUDIO_PLAYER="\"/usr/bin/audioplay\""
 .else
 DEPENDS+=              sox>=12.17.4:../../audio/sox
-SOX_PREFIX_DEFAULT=    ${LOCALBASE}
 EVAL_PREFIX+=          SOX_PREFIX=sox
 CPPFLAGS+=             -DAUDIO_PLAYER="\"${SOX_PREFIX}/bin/play\""
 .endif
 
 .if !empty(MACHINE_ARCH:Msparc64)
-GCC_REQD+=    3.0                      # see PR 29185
+GCC_REQD+=             3.0     # see PR 29185
 .endif
 
 .include "../../converters/libiconv/buildlink3.mk"
diff -r 5a016c3e2589 -r c777d753122f chat/centericq/distinfo
--- a/chat/centericq/distinfo   Sun Oct 01 13:53:30 2006 +0000
+++ b/chat/centericq/distinfo   Sun Oct 01 13:56:00 2006 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.20 2005/12/03 17:04:23 adrianp Exp $
+$NetBSD: distinfo,v 1.21 2006/10/01 13:56:00 rillig Exp $
 
 SHA1 (centericq-4.21.0.tar.bz2) = 26b07c4bdcbe8c6888ceab98140b33007bec8554
 RMD160 (centericq-4.21.0.tar.bz2) = 69207fcaf5c90b9ae4609221526b839659c5ccfc
 Size (centericq-4.21.0.tar.bz2) = 1422126 bytes
-SHA1 (patch-aa) = ba75c486f52d17cb9a0bf8354bf6b01b065b6716
+SHA1 (patch-aa) = 244ccb35ceb53715af2134d27ab4c591ed62dd30
 SHA1 (patch-ab) = 6d9beb28024666bbfef2e95cab648d7058f8136c
 SHA1 (patch-ac) = 74ae25e19bf5d250a407a937bf78405b38cc86da
 SHA1 (patch-ad) = be8ba5c952bf560b0758c97ba81c4faef04ffe49
diff -r 5a016c3e2589 -r c777d753122f chat/centericq/patches/patch-aa
--- a/chat/centericq/patches/patch-aa   Sun Oct 01 13:53:30 2006 +0000
+++ b/chat/centericq/patches/patch-aa   Sun Oct 01 13:56:00 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2005/09/06 08:10:57 abs Exp $
+$NetBSD: patch-aa,v 1.5 2006/10/01 13:56:01 rillig Exp $
 
 --- src/icqconf.cc.orig        2005-01-27 00:52:47.000000000 +0100
 +++ src/icqconf.cc
@@ -11,7 +11,7 @@
 +/* Find out about __NetBSD_Version__ */
 +#  include <sys/param.h>
 +#endif
-+#if defined(__sun__) || (defined(__NetBSD__) && (__NetBSD_Version__ >= 299000900))
++#if defined(__sun) || (defined(__NetBSD__) && (__NetBSD_Version__ >= 299000900))
  #include <sys/statvfs.h>
  #endif
  
@@ -41,7 +41,7 @@
      fenoughdiskspace = true;
  
 -#ifndef __sun__
-+#if !(defined(__sun__) || (defined(__NetBSD__) && (__NetBSD_Version__ >= 299000900)))
++#if !(defined(__sun) || (defined(__NetBSD__) && (__NetBSD_Version__ >= 299000900)))
      struct statfs st;
      if(!statfs(conf.getdirname().c_str(), &st)) {
  #else



Home | Main Index | Thread Index | Old Index