summaryrefslogtreecommitdiff
path: root/mail/sma/Makefile
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
commit050a82bf0134a338f685b0c86de21057bc67107f (patch)
tree65cc2935697fc0d7228872012e0be83aa34feedb /mail/sma/Makefile
parent52126616e03c756225382c220351f2d0505dd7ba (diff)
downloadpkgsrc-050a82bf0134a338f685b0c86de21057bc67107f.tar.gz
Portability fix from Georg Schwarz in PR 28818;
do not define USE_REGEXP on Irix.
Diffstat (limited to 'mail/sma/Makefile')
-rw-r--r--mail/sma/Makefile6
1 files changed, 5 insertions, 1 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; \