Lines 1-11
Link Here
|
1 |
--- configure.orig Tue Jul 29 14:10:16 2003 |
1 |
--- configure.orig Sun Sep 14 11:10:24 2003 |
2 |
+++ configure Tue Jul 29 14:15:56 2003 |
2 |
+++ configure Sun Sep 14 11:16:41 2003 |
3 |
@@ -135,7 +135,7 @@ |
3 |
@@ -33,7 +33,9 @@ |
|
|
4 |
echo |
5 |
|
6 |
echo "Checking for openssl ..." |
7 |
-for i in $LIBDIRS /lib /usr/lib /usr/local/lib /opt/local/lib \ |
8 |
+# FreeBSD: Try port version of openssl first. LIBDIRS is irrelevant for us |
9 |
+# Since we don't have /etc/ld.so.conf |
10 |
+for i in ${PREFIX}/lib $LIBDIRS /lib /usr/lib /usr/local/lib /opt/local/lib \ |
11 |
/*ssl /usr/*ssl /opt/*ssl /usr/local/*ssl /opt/local/*ssl \ |
12 |
/*ssl/lib /usr/*ssl/lib /opt/*ssl/lib /usr/local/*ssl/lib /opt/local/*ssl/lib |
13 |
do |
14 |
@@ -61,7 +63,8 @@ |
15 |
fi |
16 |
done |
17 |
|
18 |
-for i in /usr/local/include /*ssl/include /usr/include \ |
19 |
+# FreeBSD: Change to prefer installed port over base-system openssl. |
20 |
+for i in ${PREFIX}/include /usr/local/include /*ssl/include /usr/include \ |
21 |
/opt/*ssl/include /usr/*ssl/include /usr/local/*ssl/include |
22 |
do |
23 |
if [ "X" = "X$SSL_IPATH" ]; then |
24 |
@@ -152,7 +155,7 @@ |
4 |
XLIBS="$XLIBS -lresolv" |
25 |
XLIBS="$XLIBS -lresolv" |
5 |
fi |
26 |
fi |
6 |
|
27 |
|
7 |
-for i in /usr/man /usr/share/man /usr/local/man /usr/local/share/man ; do |
28 |
-for i in /usr/man /usr/share/man /usr/local/man /usr/local/share/man ; do |
8 |
+for i in ${MANPPREFIX}/man /usr/man /usr/share/man /usr/local/man /usr/local/share/man ; do |
29 |
+for i in ${PREFIX}/man /usr/man /usr/share/man /usr/local/man /usr/local/share/man ; do |
9 |
if [ -d $i ]; then |
30 |
if [ -d $i ]; then |
10 |
MANDIR=$i |
31 |
MANDIR=$i |
11 |
fi |
32 |
fi |