summaryrefslogtreecommitdiff
path: root/mail/metamail/Makefile
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2003-04-04 19:48:11 +0000
committerjschauma <jschauma@pkgsrc.org>2003-04-04 19:48:11 +0000
commite5c6de141d09a851bad866578ff92b1e9cbb1d08 (patch)
tree9c25af068b9d545425cfc008c396cb30a442d4e0 /mail/metamail/Makefile
parent92c3cbb93f178fb2aa3f5c8c59cf6d2e4b1bd8f5 (diff)
downloadpkgsrc-e5c6de141d09a851bad866578ff92b1e9cbb1d08.tar.gz
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!
Diffstat (limited to 'mail/metamail/Makefile')
-rw-r--r--mail/metamail/Makefile7
1 files changed, 3 insertions, 4 deletions
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