Skip to content

Commit

Permalink
Convert the remaining few packages that explicitly set DEPENDS or
Browse files Browse the repository at this point in the history
BUILD_DEPENDS on bison to USE_TOOLS=bison. The minimum bison version
required in mk/tools/bison.mk is good enough for all of them.
  • Loading branch information
hans committed Jan 14, 2012
1 parent 51581c0 commit 5d62378
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 27 deletions.
5 changes: 2 additions & 3 deletions cad/tkgate/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.24 2008/06/20 01:09:08 joerg Exp $
# $NetBSD: Makefile,v 1.25 2012/01/14 00:51:36 hans Exp $
#

DISTNAME= tkgate-1.6i
Expand All @@ -13,11 +13,10 @@ COMMENT= Tcl/Tk based digital circuit editor and simulator

PKG_DESTDIR_SUPPORT= user-destdir

BUILD_DEPENDS+= bison>=1.35:../../devel/bison
BUILD_DEPENDS+= libiconv-[0-9]*:../../converters/libiconv

USE_IMAKE= yes
USE_TOOLS+= gm4
USE_TOOLS+= gm4 bison

TKGATE_SITENAME= Earth

Expand Down
6 changes: 2 additions & 4 deletions lang/baci/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.14 2011/02/28 14:52:53 wiz Exp $
# $NetBSD: Makefile,v 1.15 2012/01/14 00:51:36 hans Exp $
#

DISTNAME= bacisrc
Expand All @@ -12,11 +12,9 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.mines.edu/fs_home/tcamp/baci/
COMMENT= Ben-Ari Concurrent Interpreter

DEPENDS+= bison-[0-9]*:../../devel/bison

PKG_DESTDIR_SUPPORT= user-destdir

USE_TOOLS+= flex
USE_TOOLS+= flex bison:run

INSTALLATION_DIRS= bin

Expand Down
5 changes: 2 additions & 3 deletions math/octave/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.94 2011/12/24 23:46:02 asau Exp $
# $NetBSD: Makefile,v 1.95 2012/01/14 00:51:36 hans Exp $

DISTNAME= octave-${OCTAVE_VER}
CATEGORIES= math
Expand All @@ -11,7 +11,6 @@ MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://www.octave.org/
COMMENT= High-level language, intended for numerical computations

BUILD_DEPENDS+= bison>=1.875:../../devel/bison
BUILD_DEPENDS+= gperf>=2.7:../../devel/gperf
BUILD_DEPENDS+= teTeX-[0-9]*:../../print/teTeX
DEPENDS+= gnuplot>=3.7:../../graphics/gnuplot
Expand All @@ -26,7 +25,7 @@ PKG_DESTDIR_SUPPORT= user-destdir

USE_GNU_READLINE= yes
USE_LIBTOOL= yes
USE_TOOLS+= autoconf gsed gmake makeinfo perl pkg-config
USE_TOOLS+= autoconf gsed gmake makeinfo perl pkg-config bison
GNU_CONFIGURE= yes

GCC_REQD+= 3.0
Expand Down
6 changes: 2 additions & 4 deletions math/xmgr/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.36 2011/12/09 14:36:35 drochner Exp $
# $NetBSD: Makefile,v 1.37 2012/01/14 00:51:36 hans Exp $

DISTNAME= xmgr-4.1.2
PKGREVISION= 6
Expand All @@ -10,8 +10,6 @@ HOMEPAGE= http://plasma-gate.weizmann.ac.il/Xmgr/
COMMENT= Powerful XY plotting tool for workstations or X-terminals using X
LICENSE= modified-bsd

BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison

PKG_DESTDIR_SUPPORT= user-destdir

USE_X11BASE= YES
Expand All @@ -23,7 +21,7 @@ BUILD_TARGET= # empty
INSTALL_TARGET= install

REPLACE_PERL+= auxiliary/fdf2fit
USE_TOOLS+= perl:run
USE_TOOLS+= perl:run bison

.include "../../devel/netcdf/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
Expand Down
6 changes: 2 additions & 4 deletions net/docsis/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.15 2008/06/12 02:14:39 joerg Exp $
# $NetBSD: Makefile,v 1.16 2012/01/14 00:51:36 hans Exp $
#

DISTNAME= docsis-0.9.4
Expand All @@ -11,10 +11,8 @@ COMMENT= Utility for manipulating DOCSIS-compliant cable modems

PKG_DESTDIR_SUPPORT= user-destdir

BUILD_DEPENDS+= bison>=1.25:../../devel/bison

GNU_CONFIGURE= YES
USE_TOOLS+= gm4
USE_TOOLS+= gm4 bison

.include "../../net/net-snmp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
4 changes: 2 additions & 2 deletions print/bww2tex/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2008/07/14 12:56:11 joerg Exp $
# $NetBSD: Makefile,v 1.10 2012/01/14 00:51:37 hans Exp $
#

DISTNAME= bww2tex-2.00
Expand All @@ -12,7 +12,7 @@ COMMENT= Bagpipe Music Writer Gold to BagpipeTeX converter

PKG_DESTDIR_SUPPORT= user-destdir

BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
USE_TOOLS+= bison

WRKSRC= ${WRKDIR}
NO_CONFIGURE= yes
Expand Down
4 changes: 1 addition & 3 deletions security/aide06/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.16 2008/06/12 02:14:44 joerg Exp $
# $NetBSD: Makefile,v 1.17 2012/01/14 00:51:36 hans Exp $
#

DISTNAME= aide-0.6
Expand All @@ -12,8 +12,6 @@ COMMENT= Older intrusion detection system for checking file integrity

PKG_DESTDIR_SUPPORT= user-destdir

#BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison

GNU_CONFIGURE= yes
USE_TOOLS+= bison flex

Expand Down
6 changes: 2 additions & 4 deletions x11/ssystem/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.25 2010/12/23 11:45:02 dsainty Exp $
# $NetBSD: Makefile,v 1.26 2012/01/14 00:51:37 hans Exp $
#

DISTNAME= ssystem-1.6
Expand All @@ -14,9 +14,7 @@ PKG_DESTDIR_SUPPORT= user-destdir

MAKE_JOBS_SAFE= no

BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison

USE_TOOLS+= flex
USE_TOOLS+= flex bison
USE_X11BASE= yes

MAKE_FILE= Makefile.FreeBSD
Expand Down

0 comments on commit 5d62378

Please sign in to comment.