From f51f58a4cc0f2b482ca675cb16d80cbae1158d6a Mon Sep 17 00:00:00 2001 From: marino Date: Fri, 9 May 2014 23:58:21 +0000 Subject: 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. --- www/aws/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'www/aws/Makefile') 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}; -- cgit v1.2.3