pkgsrc/math/classias/patches/patch-configure.in
cheusov b993827ac5 Imported from WIP
Classias is a collection of machine-learning algorithms
2016-07-22 02:45:44 +00:00

15 lines
540 B
Text

$NetBSD: patch-configure.in,v 1.1 2016/07/22 02:45:44 cheusov Exp $
# support for ld -rpath
--- configure.in.orig 2015-04-19 15:01:12.000000000 +0000
+++ configure.in
@@ -115,7 +115,7 @@ dnl Check for math library
AC_ARG_WITH(
liblbfgs,
[AS_HELP_STRING([--with-liblbfgs=DIR],[liblbfgs directory])],
- [INCLUDES="-I${withval}/include ${INCLUDES}"; LDFLAGS="-L${withval}/lib ${LDFLAGS}"]
+ [INCLUDES="-I${withval}/include ${INCLUDES}"; LDFLAGS="-L${withval}/lib -Wl,-rpath,${withval}/lib ${LDFLAGS}"]
)
dnl AC_ARG_WITH(
dnl boost,