pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/exim ensure that pkgsrc's CFLAGS and CPPFLAGS are...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e858db9b242b
branches: trunk
changeset: 518720:e858db9b242b
user: schwarz <schwarz%pkgsrc.org@localhost>
date: Sat Sep 16 07:09:22 2006 +0000
description:
ensure that pkgsrc's CFLAGS and CPPFLAGS are honored
diffstat:
mail/exim/Makefile | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r f080c5183347 -r e858db9b242b mail/exim/Makefile
--- a/mail/exim/Makefile Sat Sep 16 07:03:19 2006 +0000
+++ b/mail/exim/Makefile Sat Sep 16 07:09:22 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.78 2006/08/30 21:11:37 abs Exp $
+# $NetBSD: Makefile,v 1.79 2006/09/16 07:09:22 schwarz Exp $
DISTNAME= exim-4.63
CATEGORIES= mail net
@@ -46,6 +46,9 @@
# XXX: The following will be handled by buildlink3 at some point.
CFLAGS+= ${_STRIPFLAG_CC}
+# pay attention to CPPFLAGS as well
+CFLAGS+= ${CPPFLAGS}
+
.include "options.mk"
# BDB_TYPE gets set to "db1" if USE_DB185=="yes"
@@ -83,6 +86,11 @@
-e 's:@PKG_SYSCONFDIR@:${PKG_SYSCONFDIR}:' \
< ${WRKSRC}/Local/eximon.conf.pkgsrc \
> ${WRKSRC}/Local/eximon.conf
+# CFLAGS is already set by pkgsrc
+ @for f in ${WRKSRC}/OS/Makefile-*; do \
+ ${SED} -e 's/^CFLAGS=.*//' $$f > $$f.subst; \
+ ${MV} -f $$f.subst $$f; \
+ done
post-build:
@${SED} -e 's:@PREFIX@:${PREFIX}:' \
Home |
Main Index |
Thread Index |
Old Index