summaryrefslogtreecommitdiff
path: root/mail/metamail/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/metamail/Makefile')
-rw-r--r--mail/metamail/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/metamail/Makefile b/mail/metamail/Makefile
index 2b95a0c7ad9..78ce2fbab2d 100644
--- a/mail/metamail/Makefile
+++ b/mail/metamail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 1999/02/04 18:58:22 agc Exp $
+# $NetBSD: Makefile,v 1.9 1999/09/03 08:19:11 agc Exp $
# FreeBSD Id: Makefile,v 1.8 1996/11/21 11:27:26 asami Exp
#
@@ -14,6 +14,13 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_X11= yes
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+CFLAGS= -DSYSV
+MAKE_ENV+= CFLAGS="${CFLAGS}" CC="${CC}"
+.endif
+
post-patch:
${RM} -f ${WRKDIR}/mm2.7/src/bin/*.orig