summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorsbd <sbd>2011-12-03 09:25:45 +0000
committersbd <sbd>2011-12-03 09:25:45 +0000
commit7eb3a638b27effee248bc4c4d179d1444e30615b (patch)
tree1925edbff0ae13cab5e09e3399a9d1b6939c9ad2 /mail
parent6914d89235732f34c10a2cf572f44f2bcdfa11a1 (diff)
downloadpkgsrc-7eb3a638b27effee248bc4c4d179d1444e30615b.tar.gz
Add devel/gdbm_compat buildlink on Linux.
Bump PKGREVISION
Diffstat (limited to 'mail')
-rw-r--r--mail/nmh/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile
index 4cf16c41a6f..b32df83181e 100644
--- a/mail/nmh/Makefile
+++ b/mail/nmh/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.71 2011/02/28 14:52:54 wiz Exp $
+# $NetBSD: Makefile,v 1.72 2011/12/03 09:25:45 sbd Exp $
DISTNAME= nmh-1.3
+PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://savannah.nongnu.org/download/nmh/
@@ -104,4 +105,12 @@ post-install:
${INSTALL_DATA} ${FILESDIR}/mhn.defaults.dist \
${DESTDIR}${EGDIR}/mhn.defaults
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Linux"
+.include "../../databases/gdbm_compat/buildlink3.mk"
+CONFIGURE_ARGS+= --with-ndbm='gdbm_compat -lgdbm'
+CONFIGURE_ARGS+= --with-ndbmheader=ndbm.h
+.endif
+
.include "../../mk/bsd.pkg.mk"