summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-01-04 15:34:23 +0000
committerwiz <wiz@pkgsrc.org>2005-01-04 15:34:23 +0000
commit4bac6f111d19928c38bc6b8172be8861e3917671 (patch)
tree65cc2935697fc0d7228872012e0be83aa34feedb /mail
parent7369ddae77268609c2b484518048a6f7f284037a (diff)
downloadpkgsrc-4bac6f111d19928c38bc6b8172be8861e3917671.tar.gz
Portability fix from Georg Schwarz in PR 28818;
do not define USE_REGEXP on Irix.
Diffstat (limited to 'mail')
-rw-r--r--mail/sma/Makefile6
-rw-r--r--mail/sma/distinfo3
-rw-r--r--mail/sma/patches/patch-aa13
3 files changed, 20 insertions, 2 deletions
diff --git a/mail/sma/Makefile b/mail/sma/Makefile
index 3dba9feb80e..70821801fd8 100644
--- a/mail/sma/Makefile
+++ b/mail/sma/Makefile
@@ -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 @@ BUILD_TARGET= sma
.include "../../mk/bsd.prefs.mk"
+.if empty(LOWER_OPSYS:Mirix5*)
+CFLAGS+= -DUSE_REGEXP
+.endif
+
do-install:
cd ${WRKSRC}; \
${INSTALL_PROGRAM} sma ${PREFIX}/bin; \
diff --git a/mail/sma/distinfo b/mail/sma/distinfo
index a20e7779c56..244fb3a8086 100644
--- a/mail/sma/distinfo
+++ b/mail/sma/distinfo
@@ -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 --git a/mail/sma/patches/patch-aa b/mail/sma/patches/patch-aa
new file mode 100644
index 00000000000..875e69099a8
--- /dev/null
+++ b/mail/sma/patches/patch-aa
@@ -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
+