pkgsrc/misc/dose3/patches/patch-configure.ac
jaapb c7fe334f11 Added misc/dose3, a package repository analysis toolkit. This is a beta
version, but it includes some patches that I'd have needed to add to make
the latest stable version anyway, so I decided to add this one.
2014-10-27 12:01:36 +00:00

21 lines
752 B
Text

$NetBSD: patch-configure.ac,v 1.1 2014/10/27 12:01:36 jaapb Exp $
Proper ocamlgraph detection
--- configure.ac.orig 2014-10-21 11:45:17.000000000 +0000
+++ configure.ac
@@ -147,6 +147,7 @@ if test "$HAS_OCAMLGRAPH" = "yes" ; then
MLPACK_OCAMLGRAPH="Defaultgraphs Statistics Dominators Strongdeps Strongdeps_int Strongconflicts Strongconflicts_int"
DOC_OCAMLGRAPH="algo/Strongdeps algo/Strongconflicts algo/Strongdeps_int algo/Strongconflicts_int algo/Defaultgraphs algo/Statistics"
CONFIG_OCAMLGRAPH="-DHASOCAMLGRAPH"
+ OCAMLGRAPH=ocamlgraph
fi
AC_ARG_WITH(curl,
@@ -286,6 +287,7 @@ AC_SUBST(MLPACK_OCAMLGRAPH)
AC_SUBST(DOC_OCAMLGRAPH)
AC_SUBST(PKG_OCAMLGRAPH)
AC_SUBST(CONFIG_OCAMLGRAPH)
+AC_SUBST(OCAMLGRAPH)
AC_SUBST(PKG_CURL)