[Bug 210028] [patch] mail/spamd: use USE_OPENSSL to link against correct libcrypto
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jun 4 17:03:50 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210028
Bug ID: 210028
Summary: [patch] mail/spamd: use USE_OPENSSL to link against
correct libcrypto
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: patch
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ohauer at FreeBSD.org
Reporter: adamw at FreeBSD.org
Keywords: patch
Flags: maintainer-feedback?(ohauer at FreeBSD.org)
Assignee: ohauer at FreeBSD.org
Created attachment 171016
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=171016&action=edit
USE_OPENSSL for spamd
spamd links against libcrypto, but without using USE_OPENSSL
it can't link against the preferred SSL implementation. The
attached patch fixes this, and bumps PORTREVISION for the
dependency change.
before:
root at lockup:~ # ldd /usr/local/libexec/spamd
libcrypto.so.7 => /lib/libcrypto.so.7 (0x800829000)
after:
root at lockup:~ # ldd /usr/local/libexec/spamd
libcrypto.so.37 => /usr/local/lib/libcrypto.so.37 (0x80082b000)
The attached patch also includes a couple Makefile tweaks. The
bsd.port.options.mk is converted to bsd.port.pre.mk because of
USE_OPENSSL, and the PLIST_SUB stuff that's no longer used is
removed. Also, the "${INSTALL} -d" is changed to ${MKDIR} so
that it's consistent with the ${MKDIR} below it.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list