pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[patch] mail/mopher: properly declare build dependencies



Attached patch should fix builds on non-NetBSD platforms.

(I hope the patch makes it into 2015Q3..)
From c2f0471c40cf96d13a6bfa31c9e7acab6ab20fce Mon Sep 17 00:00:00 2001
From: Petar Bogdanovic <petar%smokva.net@localhost>
Date: Tue, 15 Sep 2015 19:21:27 +0200
Subject: [PATCH] properly declare build dependencies

---
 Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 2cf7f2e..fff5ada 100644
--- a/Makefile
+++ b/Makefile
@@ -22,8 +22,13 @@ FILES_SUBST+=		MOPHER_HOME=${MOPHER_HOME}
 FILES_SUBST+=		MOPHER_RUN=${MOPHER_RUN}
 FILES_SUBST+=		INSTALL=${INSTALL}
 
-USE_LANGUAGES=		c
 HAS_CONFIGURE=		yes
+
+USE_LANGUAGES=		c
+USE_TOOLS+=		lex
+USE_TOOLS+=		yacc
+USE_TOOLS+=		objcopy
+
 CONFIGURE_ARGS+=	--prefix=${PREFIX}
 CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFBASE}
 CONFIGURE_ARGS+=	--mandir=${PREFIX}/${PKGMANDIR}
-- 
2.4.3



Home | Main Index | Thread Index | Old Index