summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjperkin <jperkin>2014-07-25 15:29:38 +0000
committerjperkin <jperkin>2014-07-25 15:29:38 +0000
commit0c877e45ca6f3cd5733c8e7d3f2f49a327752f9b (patch)
tree6f1e21f08a97838b2fc846d004ce9a5fbbd28739 /mail
parent3e02894e9200f03700d8d88a6cc91ef94c01864e (diff)
downloadpkgsrc-0c877e45ca6f3cd5733c8e7d3f2f49a327752f9b.tar.gz
Ensure we add rpath to OpenSSL libraries. Fixes check-shlibs.
Diffstat (limited to 'mail')
-rw-r--r--mail/ssmtp/options.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/ssmtp/options.mk b/mail/ssmtp/options.mk
index cb67ec5a53e..3bd918dcb52 100644
--- a/mail/ssmtp/options.mk
+++ b/mail/ssmtp/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.3 2012/06/12 15:45:59 wiz Exp $
+# $NetBSD: options.mk,v 1.4 2014/07/25 15:29:38 jperkin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ssmtp
PKG_SUPPORTED_OPTIONS= inet6 ssl
@@ -12,5 +12,6 @@ CONFIGURE_ARGS+= --enable-inet6
.if !empty(PKG_OPTIONS:Mssl)
CONFIGURE_ARGS+= --enable-ssl
+CFLAGS+= ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib
.include "../../security/openssl/buildlink3.mk"
.endif