summaryrefslogtreecommitdiffstats
path: root/web/attachments/144266-patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'web/attachments/144266-patch-configure')
-rw-r--r--web/attachments/144266-patch-configure61
1 files changed, 61 insertions, 0 deletions
diff --git a/web/attachments/144266-patch-configure b/web/attachments/144266-patch-configure
new file mode 100644
index 0000000..9e7a2a4
--- /dev/null
+++ b/web/attachments/144266-patch-configure
@@ -0,0 +1,61 @@
1$OpenBSD: patch-configure,v 1.1.1.1 2005/07/25 16:32:07 sturm Exp $
2--- configure.orig Mon Aug 1 23:34:46 2005
3+++ configure Wed Aug 3 13:59:35 2005
4@@ -8339,13 +8339,13 @@ if test "${with_pgsql+set}" = set; then
5 PGSQL=$withval
6 fi;
7
8-echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
9-echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
10+echo "$as_me:$LINENO: checking for main in -lcrypto" >&5
11+echo $ECHO_N "checking for main in -lcrypto... $ECHO_C" >&6
12 if test "${ac_cv_lib_crypt_main+set}" = set; then
13 echo $ECHO_N "(cached) $ECHO_C" >&6
14 else
15 ac_check_lib_save_LIBS=$LIBS
16-LIBS="-lcrypt $LIBS"
17+LIBS="-lcrypto $LIBS"
18 cat >conftest.$ac_ext <<_ACEOF
19 /* confdefs.h. */
20 _ACEOF
21@@ -8402,7 +8402,7 @@ if test $ac_cv_lib_crypt_main = yes; the
22 #define HAVE_LIBCRYPT 1
23 _ACEOF
24
25- LIBS="-lcrypt $LIBS"
26+ LIBS="-lcrypto $LIBS"
27
28 fi
29
30@@ -8418,7 +8418,7 @@ if test "${ac_cv_lib_pq_PQsetdbLogin+set
31 echo $ECHO_N "(cached) $ECHO_C" >&6
32 else
33 ac_check_lib_save_LIBS=$LIBS
34-LIBS="-lpq -lcrypt $LIBS"
35+LIBS="-lpq -lcrypto $LIBS"
36 cat >conftest.$ac_ext <<_ACEOF
37 /* confdefs.h. */
38 _ACEOF
39@@ -8937,16 +8937,16 @@ fi
40 done
41
42 if [ -n "$PGSQL" -a "$ac_cv_header_libpq_fe_h" = "yes" ]; then
43- PGLIBS="-L$PGSQL/lib -lpq -lcrypt"
44+ PGLIBS="-L$PGSQL/lib -lpq -lcrypto"
45 PGINCLUDE="-I$PGSQL/include"
46 elif test "$ac_cv_header_pgsql_libpq_fe_h" = "yes"; then
47- PGLIBS="-lpq -lcrypt"
48- PGINCLUDE="-I/usr/include/pgsql"
49+ PGLIBS="-L$PGSQL/lib -lpq -lcrypto"
50+ PGINCLUDE="-I$PGSQL/include/pgsql"
51 elif test "$ac_cv_header_postgresql_libpq_fe_h" = "yes"; then
52- PGLIBS="-L$PGSQL/lib -lpq -lcrypt"
53- PGINCLUDE="-I/usr/include/postgresql"
54+ PGLIBS="-L$PGSQL/lib -lpq -lcrypto"
55+ PGINCLUDE="-I$PGSQL/include/postgresql"
56 elif test "$ac_cv_header_libpq_fe_h" = "yes"; then
57- PGLIBS="-L$PGSQL/lib -lpq -lcrypt"
58+ PGLIBS="-L$PGSQL/lib -lpq -lcrypto"
59 PGINCLUDE="-I$PGSQL/include"
60 fi
61 if test -z "$PGINCLUDE"; then