summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2003-04-04 19:23:20 +0000
committerjschauma <jschauma@pkgsrc.org>2003-04-04 19:23:20 +0000
commit92c3cbb93f178fb2aa3f5c8c59cf6d2e4b1bd8f5 (patch)
tree8ae9bdbe3c05ea853abddd0c4d51719dccd3ba21 /mail
parente9c6007e8d492a7db7dfebdf275de21cef6d525f (diff)
downloadpkgsrc-92c3cbb93f178fb2aa3f5c8c59cf6d2e4b1bd8f5.tar.gz
The CFLAGS addition needs to go _after_ the inclusion of mk/bsd.prefs.mk,
it seems.
Diffstat (limited to 'mail')
-rw-r--r--mail/metamail/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/metamail/Makefile b/mail/metamail/Makefile
index 61fd4858daf..8b1f131fd00 100644
--- a/mail/metamail/Makefile
+++ b/mail/metamail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2003/03/29 12:41:36 jmmv Exp $
+# $NetBSD: Makefile,v 1.18 2003/04/04 19:23:20 jschauma Exp $
DISTNAME= mm2.7
PKGNAME= metamail-2.7
@@ -17,14 +17,15 @@ 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