summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin>2014-07-25 15:29:38 +0000
committerjperkin <jperkin>2014-07-25 15:29:38 +0000
commit18676b748b9462a5f6e43b465827326ecb25d45f (patch)
tree6f1e21f08a97838b2fc846d004ce9a5fbbd28739
parent89986b217153e778d1b9c2ac150ee50bbfc52ed6 (diff)
downloadpkgsrc-18676b748b9462a5f6e43b465827326ecb25d45f.tar.gz
Ensure we add rpath to OpenSSL libraries. Fixes check-shlibs.
-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