aboutsummaryrefslogtreecommitdiffstats
path: root/security/hydra/files/patch-configure
blob: 2d00087c2baff4939bdbdf2caaf478d49312a6ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- configure.orig 2011-07-15 14:17:01.000000000 +0400
+++ configure      2011-08-15 22:22:22.000000000 +0400
@@ -653,7 +653,7 @@
 XIPATHS=""
 
 if [ -n "$FIREBIRD_PATH" -o -n "$PCRE_PATH" -o -n "$IDN_PATH" -o -n "$SSL_PATH" -o -n "$CRYPTO_PATH" -o -n "$NSL_PATH" -o -n "$SOCKET_PATH" -o -n "$RESOLV_PATH" -o -n "$SAPR3_PATH" -o -n "$SSH_PATH" -o -n "$POSTGRES_PATH" -o -n "$SVN_PATH" -o -n "$NCP_PATH" -o -n "$ORACLE_PATH" -o -n "$AFP_PATH" -o -n "$MYSQL_PATH" ]; then
-    XLIBPATHS="-L/usr/lib -L/usr/local/lib -L/lib"
+    XLIBPATHS="-L/usr/local/lib -L/usr/lib -L/lib"
 fi
 if [ -n "$SSL_PATH" ]; then
     XDEFINES="$XDEFINES -DLIBOPENSSL"
@@ -706,6 +706,9 @@
 if [ -n "$SSL_IPATH" ]; then
     XIPATHS="-I$SSL_IPATH"
 fi
+if [ -d $PREFIX/include ];then
+   XIPATHS="$XIPATHS -I$PREFIX/include"
+fi
 if [ -n "$SAPR3_IPATH" ]; then
     XIPATHS="$XIPATHS -I$SAPR3_IPATH"
 fi