ports/92282: linker fix for postfix with openssl from ports
Vivek Khera
vivek at khera.org
Tue Jan 24 19:30:06 UTC 2006
>Number: 92282
>Category: ports
>Synopsis: linker fix for postfix with openssl from ports
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Jan 24 19:30:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Vivek Khera
>Release: FreeBSD 6.0-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD lorax.kcilink.com 6.0-RELEASE-p1 FreeBSD 6.0-RELEASE-p1 #2: Mon Jan 2 00:21:31 EST 2006 vivek at lorax.kcilink.com:/u/lorax1/usr6/obj.i386/u/lorax1/usr6/src/sys/LORAX i386
>Description:
Dirk Meyer [dinoex at FreeBSD.org] reports that postfix may fail to link properly
with openssl from ports. Below patch fixes it.
>How-To-Repeat:
>Fix:
Apply patch to /usr/ports/mail/postfix
Index: scripts/configure.postfix
===================================================================
RCS file: /home/pcvs/ports/mail/postfix/scripts/configure.postfix,v
retrieving revision 1.70
diff -u -r1.70 configure.postfix
--- scripts/configure.postfix 12 Jan 2006 16:23:59 -0000 1.70
+++ scripts/configure.postfix 20 Jan 2006 07:10:50 -0000
@@ -192,7 +192,7 @@
if /usr/bin/nm ${LOCALBASE}/lib/mysql/libmysqlclient.a | grep -wq "SSL_new"; then
echo "USE_OPENSSL= yes"
echo "POSTFIX_CCARGS+= -I\${OPENSSLLIB}"
- echo "POSTFIX_AUXLIBS+= -L\${OPENSSLLIB} -lssl -lcrypto"
+ echo "POSTFIX_AUXLIBS+= -L\${OPENSSLLIB} \${LDFLAGS} -lssl -lcrypto"
fi
fi
echo "MYSQL_SUFFIX= +mysql"
@@ -258,7 +258,7 @@
if /usr/bin/nm ${LOCALBASE}/lib/mysql/libmysqlclient.a | grep -wq "SSL_new"; then
echo "USE_OPENSSL= yes"
echo "POSTFIX_CCARGS+= -I\${OPENSSLLIB}"
- echo "POSTFIX_AUXLIBS+= -L\${OPENSSLLIB} -lssl -lcrypto"
+ echo "POSTFIX_AUXLIBS+= -L\${OPENSSLLIB} \${LDFLAGS} -lssl -lcrypto"
fi
fi
fi
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list