pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/exim Add EXIM_USE_LOOKUP_WHOSON to exim and exim-...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6613f47e707b
branches: trunk
changeset: 481738:6613f47e707b
user: abs <abs%pkgsrc.org@localhost>
date: Mon Oct 11 17:08:41 2004 +0000
description:
Add EXIM_USE_LOOKUP_WHOSON to exim and exim-exiscan
No change to default build, so no revision bump
diffstat:
mail/exim/Makefile.common | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diffs (39 lines):
diff -r d386b0efb91d -r 6613f47e707b mail/exim/Makefile.common
--- a/mail/exim/Makefile.common Mon Oct 11 16:56:28 2004 +0000
+++ b/mail/exim/Makefile.common Mon Oct 11 17:08:41 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.16 2004/10/07 17:29:16 abs Exp $
+# $NetBSD: Makefile.common,v 1.17 2004/10/11 17:08:41 abs Exp $
MASTER_SITES= ftp://ftp.exim.org/pub/exim/exim4/ \
ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/ \
@@ -16,7 +16,7 @@
.include "../../mk/bsd.prefs.mk"
-BUILD_DEFS= EXIM_USER EXIM_GROUP EXIM_DB
+BUILD_DEFS= EXIM_USER EXIM_GROUP EXIM_DB EXIM_USE_LOOKUP_WHOSON
PKG_GROUPS= ${EXIM_GROUP}
PKG_USERS= ${EXIM_USER}:${EXIM_GROUP}:8:Exim\\ mail\\ server\\ user:/var/mail:/sbin/nologin
@@ -82,6 +82,10 @@
-e 's:@PERL5@:${PERL5}:' \
< ${WRKSRC}/Local/Makefile.pkgsrc \
> ${WRKSRC}/Local/Makefile
+.if defined(EXIM_USE_LOOKUP_WHOSON) && ${EXIM_USE_LOOKUP_WHOSON} == "YES"
+ ${ECHO} LOOKUP_WHOSON=YES >> ${WRKSRC}/Local/Makefile
+ ${ECHO} LOOKUP_LIBS+=${COMPILER_RPATH_FLAG}${LOCALBASE}/${BUILDLINK_LIBDIRS.whoson} -L${LOCALBASE}/${BUILDLINK_LIBDIRS.whoson} -lwhoson >> ${WRKSRC}/Local/Makefile
+.endif
${SED} -e 's:@PREFIX@:${PREFIX}:' \
-e 's:@PKG_SYSCONFDIR@:${PKG_SYSCONFDIR}:' \
< ${WRKSRC}/Local/eximon.conf.pkgsrc \
@@ -97,5 +101,9 @@
${INSTALL_DATA} ${WRKDIR}/mailer.conf ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/doc/exim.8 ${PREFIX}/man/man8/exim.8
+.if defined(EXIM_USE_LOOKUP_WHOSON) && ${EXIM_USE_LOOKUP_WHOSON} == "YES"
+.include "../../net/whoson/buildlink3.mk"
+.endif
+
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index