pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/sma Portability fix from Georg Schwarz in PR 28818;



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f99af92d80cc
branches:  trunk
changeset: 486880:f99af92d80cc
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jan 04 15:34:23 2005 +0000

description:
Portability fix from Georg Schwarz in PR 28818;
do not define USE_REGEXP on Irix.

diffstat:

 mail/sma/Makefile         |   6 +++++-
 mail/sma/distinfo         |   3 ++-
 mail/sma/patches/patch-aa |  13 +++++++++++++
 3 files changed, 20 insertions(+), 2 deletions(-)

diffs (47 lines):

diff -r 384ad88d9c33 -r f99af92d80cc mail/sma/Makefile
--- a/mail/sma/Makefile Tue Jan 04 15:30:14 2005 +0000
+++ b/mail/sma/Makefile Tue Jan 04 15:34:23 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/12/03 15:15:03 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2005/01/04 15:34:23 wiz Exp $
 
 DISTNAME=       sma-1.3.2
 CATEGORIES=    mail
@@ -17,6 +17,10 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+.if empty(LOWER_OPSYS:Mirix5*)                                                                     
+CFLAGS+=       -DUSE_REGEXP                                                                        
+.endif                                                                                             
+
 do-install:
        cd ${WRKSRC};                                           \
        ${INSTALL_PROGRAM} sma ${PREFIX}/bin;                   \
diff -r 384ad88d9c33 -r f99af92d80cc mail/sma/distinfo
--- a/mail/sma/distinfo Tue Jan 04 15:30:14 2005 +0000
+++ b/mail/sma/distinfo Tue Jan 04 15:34:23 2005 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/09/24 09:25:46 tron Exp $
+$NetBSD: distinfo,v 1.2 2005/01/04 15:34:23 wiz Exp $
 
 SHA1 (sma-1.3.2.tar.gz) = f6420ee4e9a44527182f7e4504b812ed0628944a
 Size (sma-1.3.2.tar.gz) = 117372 bytes
+SHA1 (patch-aa) = c1f7a646e7b0ebe9b22c8bd91e41d80487703040
diff -r 384ad88d9c33 -r f99af92d80cc mail/sma/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sma/patches/patch-aa Tue Jan 04 15:34:23 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2005/01/04 15:34:23 wiz Exp $
+
+--- Makefile.orig      2002-11-14 18:09:54.000000000 +0100
++++ Makefile
+@@ -7,7 +7,7 @@ MANDIR = /usr/local/man/man8
+ 
+ CC    = gcc
+ # XPG3 regular expressions (GNU/BSD/SVR4)
+-CFLAGS        = -Wall -O -DUSE_REGEXP
++#CFLAGS       = -Wall -O -DUSE_REGEXP
+ # Others
+ #CFLAGS       = -Wall -O
+ 



Home | Main Index | Thread Index | Old Index