From afa2bff0f8b2a6dda520a44e1853631ed9d994de Mon Sep 17 00:00:00 2001 From: jschauma Date: Fri, 4 Apr 2003 19:48:11 +0000 Subject: Revert previous. Problem caused by CFLAGS= in /etc/mk.conf, as pointed out by wiz. We need to document that one should use CFLAGS+= in /etc/mk.conf, OR ELSE! --- mail/metamail/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'mail') diff --git a/mail/metamail/Makefile b/mail/metamail/Makefile index 8b1f131fd00..3ece449913e 100644 --- a/mail/metamail/Makefile +++ b/mail/metamail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2003/04/04 19:23:20 jschauma Exp $ +# $NetBSD: Makefile,v 1.19 2003/04/04 19:48:11 jschauma Exp $ DISTNAME= mm2.7 PKGNAME= metamail-2.7 @@ -17,15 +17,14 @@ USE_BUILDLINK2= YES USE_PKGINSTALL= YES USE_X11= YES +CFLAGS+= -DPKG_SYSCONFDIR='\\\"${PKG_SYSCONFDIR}\\\"' +MAKE_ENV+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} EGDIR= ${PREFIX}/share/examples/metamail CONF_FILES= ${EGDIR}/mailcap ${PKG_SYSCONFDIR}/mailcap .include "../../mk/bsd.prefs.mk" -CFLAGS+= -DPKG_SYSCONFDIR='\\\"${PKG_SYSCONFDIR}\\\"' -MAKE_ENV+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} - .if ${OPSYS} == "SunOS" CFLAGS= -DSYSV .endif -- cgit v1.2.3