From ceed3298da54b9937de841c4d02fe37eeb19efde Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 7 Nov 2005 20:35:20 +0000 Subject: Add devel/sysexits bl3. Add hacks.mk to get the libbind resolver on Interix. --- mail/smtpfeed/Makefile | 3 ++- mail/smtpfeed/hacks.mk | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 mail/smtpfeed/hacks.mk (limited to 'mail') diff --git a/mail/smtpfeed/Makefile b/mail/smtpfeed/Makefile index 999e170c088..646871cbbb8 100644 --- a/mail/smtpfeed/Makefile +++ b/mail/smtpfeed/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2005/03/24 21:12:56 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2005/11/07 20:35:20 tv Exp $ DISTNAME= smtpfeed-1.18 PKGREVISION= 1 @@ -41,4 +41,5 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/$$i ${DOCDIR}; \ done +.include "../../devel/sysexits/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/mail/smtpfeed/hacks.mk b/mail/smtpfeed/hacks.mk new file mode 100644 index 00000000000..e967ea912da --- /dev/null +++ b/mail/smtpfeed/hacks.mk @@ -0,0 +1,11 @@ +# $NetBSD: hacks.mk,v 1.1 2005/11/07 20:35:20 tv Exp $ + +### +### Need a real resolver on Interix. +### +.if ${OPSYS} == "Interix" +BUILDLINK_PASSTHRU_DIRS+= /usr/local/include/bind /usr/local/lib/bind +CPPFLAGS+= -I/usr/local/include/bind +LDFLAGS+= -L/usr/local/lib/bind +LIBS+= -lbind -ldb +.endif -- cgit v1.2.3