summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2015-09-16 11:18:54 +0000
committergdt <gdt@pkgsrc.org>2015-09-16 11:18:54 +0000
commit3b17e577fb500ef6caa362d8f23f80cc2b1e1419 (patch)
tree397e6944af08590f53f27133c15b89c42ff957a2 /mail
parent4fc3a7269ab6f31b1ac0fa2b4bc47dab521ddce3 (diff)
downloadpkgsrc-3b17e577fb500ef6caa362d8f23f80cc2b1e1419.tar.gz
Build fix for non-NetBSD, from Petar Bogdanovic.
This adds USE_TOOLS of lex and yacc. The build also uses objcopy, but that's not a tool -- perhaps it should be, but that's a discussion for after the branch. For now a comment is left about objcopy. (leaf package)
Diffstat (limited to 'mail')
-rw-r--r--mail/mopher/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/mail/mopher/Makefile b/mail/mopher/Makefile
index 2cf7f2e6913..b44d76da70c 100644
--- a/mail/mopher/Makefile
+++ b/mail/mopher/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2015/02/27 12:18:21 gdt Exp $
+# $NetBSD: Makefile,v 1.4 2015/09/16 11:18:54 gdt Exp $
DISTNAME= mopher-0.5.3
CATEGORIES= mail
@@ -22,8 +22,14 @@ 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
+# objcopy is not a tool (but maybe it should be)
+#USE_TOOLS+= objcopy
+
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE}
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}