pkgsrc-WIP-changes archive

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

brlcad: Require astyle, lemon, freetype2, wish



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sun Sep 18 23:45:12 2016 +0200
Changeset:	176aedd27293415fd6b6f1d910ef9dedc523a0c1

Modified Files:
	brlcad/Makefile

Log Message:
brlcad: Require astyle, lemon, freetype2, wish

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=176aedd27293415fd6b6f1d910ef9dedc523a0c1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 brlcad/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diffs:
diff --git a/brlcad/Makefile b/brlcad/Makefile
index 54c651b..eb264c2 100644
--- a/brlcad/Makefile
+++ b/brlcad/Makefile
@@ -11,11 +11,12 @@ COMMENT=	Cross-platform solid modeling system
 LICENSE=	gnu-lgpl-v2.1 AND modified-bsd
 
 USE_CMAKE=	yes
-USE_TOOLS+=	pkg-config
+USE_TOOLS+=	pkg-config wish
 USE_LANGUAGES=	c c++ fortran
 
 #CMAKE_ARGS+=	-DBRLCAD_BUNDLED_LIBS=ON
 CMAKE_ARGS+=	-DBRLCAD_BUNDLED_LIBS=OFF
+CMAKE_ARGS+=	-DLEMON_TEMPLATE:PATH=${PREFIX}/share/lemon/lempar.c
 
 MAKE_FLAGS+=	V=1
 MAKE_FLAGS+=	VERBOSE=1
@@ -41,7 +42,11 @@ PKGCONFIG_OVERRIDE+=	src/other/libpng/scripts/libpng.pc.in
 PKGCONFIG_OVERRIDE+=	src/other/libpng/libpng.pc.in
 PKGCONFIG_OVERRIDE+=	src/other/libz/zlib.pc.in
 
+BUILD_DEPENDS+=	astyle-[0-9]*:../../devel/astyle
+BUILD_DEPENDS+=	lemon-[0-9]*:../../devel/lemon
+
 .include "../../devel/tinycthread/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
 .include "../../graphics/netpbm/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
 .include "../../lang/tcl/buildlink3.mk"


Home | Main Index | Thread Index | Old Index