summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/coot/files/coot-0.7-mmdb-config.patch')
-rw-r--r--sci-chemistry/coot/files/coot-0.7-mmdb-config.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/sci-chemistry/coot/files/coot-0.7-mmdb-config.patch b/sci-chemistry/coot/files/coot-0.7-mmdb-config.patch
new file mode 100644
index 000000000000..b3b66ab65786
--- /dev/null
+++ b/sci-chemistry/coot/files/coot-0.7-mmdb-config.patch
@@ -0,0 +1,18 @@
+Index: macros/mmdb.m4
+===================================================================
+--- macros/mmdb.m4 (revision 3579)
++++ macros/mmdb.m4 (working copy)
+@@ -86,8 +86,12 @@
+ ac_MMDB_LDOPTS="-lmmdb -lm"
+ fi
+
+-AC_MSG_CHECKING([for MMDB])
++PKG_CHECK_MODULES([MMDB],[mmdb >= 1.2])
++ac_MMDB_LDOPTS="${MMDB_LIBS}"
++ac_MMDB_CXXFLAGS="${MMDB_CFLAGS}"
+
++AC_MSG_CHECKING([for CISPEP in MMDB])
++
+ LIBS="$save_LIBS $ac_MMDB_LDOPTS"
+ CXXFLAGS="$save_CXXFLAGS $ac_MMDB_CXXFLAGS"
+ #