diff options
author | marino <marino@pkgsrc.org> | 2014-05-09 23:58:21 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2014-05-09 23:58:21 +0000 |
commit | f51f58a4cc0f2b482ca675cb16d80cbae1158d6a (patch) | |
tree | 703752e7c1a72b7206390c247f5f3009d3f6631a /www/aws/Makefile | |
parent | 8c3652c8a995bec8637fbf9b027f3305adfcfdf0 (diff) | |
download | pkgsrc-f51f58a4cc0f2b482ca675cb16d80cbae1158d6a.tar.gz |
www/aws: Link aws tools with runpath to libssl
The aws tools were linked to libssl without rpath. If libssl is not
located in a standard library search path, the rtld will not be able
to find it (as seen on Joyent dev area).
This change links the libssl runpath to the tools.
Diffstat (limited to 'www/aws/Makefile')
-rw-r--r-- | www/aws/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/www/aws/Makefile b/www/aws/Makefile index 8ef084a43df..aba9fcaba28 100644 --- a/www/aws/Makefile +++ b/www/aws/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.17 2014/05/09 22:45:15 marino Exp $ +# $NetBSD: Makefile,v 1.18 2014/05/09 23:58:21 marino Exp $ # DISTNAME= aws-${AWS_VERSION} -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= www MASTER_SITES= http://downloads.dragonlace.net/src/ EXTRACT_SUFX= .tar.bz2 @@ -40,9 +40,11 @@ SUBST_CLASSES+= rpath SUBST_STAGE.rpath= pre-configure SUBST_MESSAGE.rpath= Adjust rpaths of shared libraries SUBST_FILES.rpath= src/src.gpr include/include.gpr \ - demos/test_ldap/test_ldap.gpr + demos/test_ldap/test_ldap.gpr tools/tools.gpr SUBST_SED.rpath= -e "s,@ADDITIONAL_RPATH@,${ADDITIONAL_RPATH}," \ - -e "s,@PREFIX@,${PREFIX},g" + -e "s,@PREFIX@,${PREFIX},g" \ + -e "s,@RFLAG@,${LINKER_RPATH_FLAG},g" \ + -e "s,@SSL_RPATH@,${BUILDLINK_PREFIX.openssl}/lib,g" ADDITIONAL_RPATH= ${PREFIX}/lib:${PREFIX}/lib/aws/relocatable GENERATE_PLIST= cd ${DESTDIR}${PREFIX}; |