diff options
author | jperkin <jperkin@pkgsrc.org> | 2016-03-10 16:23:54 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2016-03-10 16:23:54 +0000 |
commit | ececc304dbe70244bbe2e6ae2628c175658519dc (patch) | |
tree | a5522368c24ecc05aea800977ecc6a69d717be87 /devel/nspr | |
parent | c844fe70504c0e186bec8a8edfa4e7d32e42bf9c (diff) | |
download | pkgsrc-ececc304dbe70244bbe2e6ae2628c175658519dc.tar.gz |
Fix rpath, we don't support $ORIGIN. Fixes issues previously masked by a
bug in check-shlibs.
Diffstat (limited to 'devel/nspr')
-rw-r--r-- | devel/nspr/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/nspr/Makefile b/devel/nspr/Makefile index 9844c25a9de..da0d839799b 100644 --- a/devel/nspr/Makefile +++ b/devel/nspr/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.83 2016/02/25 12:12:49 jperkin Exp $ +# $NetBSD: Makefile,v 1.84 2016/03/10 16:23:54 jperkin Exp $ DISTNAME= nspr-${NSPR_RELEASE:S/.0$//} NSPR_RELEASE= 4.12.0 @@ -37,6 +37,11 @@ SUBST_MESSAGE.nspr-config= Fixing nspr-config run path SUBST_FILES.nspr-config= nspr/config/nspr-config.in SUBST_SED.nspr-config= -e 's|-L$$libdir|"${COMPILER_RPATH_FLAG}$$libdir -L$$libdir"|g' +SUBST_CLASSES+= nspr-rpath +SUBST_STAGE.nspr-rpath= pre-configure +SUBST_FILES.nspr-rpath= nspr/lib/libc/src/Makefile.in nspr/lib/ds/Makefile.in +SUBST_SED.nspr-rpath= -e 's|$$$$ORIGIN|${PREFIX}/lib/nspr|g' + .if ${OPSYS} == "OpenBSD" CHECK_SHLIBS_SUPPORTED= no .endif |