summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjschauma <jschauma>2003-04-04 19:23:20 +0000
committerjschauma <jschauma>2003-04-04 19:23:20 +0000
commit8c4b57720449ae87a09c6c5cf19c4352f086bc4c (patch)
tree8ae9bdbe3c05ea853abddd0c4d51719dccd3ba21 /mail
parent4356a02714e5984a3ee405d59393bbebed6c4d7d (diff)
downloadpkgsrc-8c4b57720449ae87a09c6c5cf19c4352f086bc4c.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