pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/lua-cyrussasl lua-cyrussasl: fix build in pri...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/edeacec0437c
branches:  trunk
changeset: 378898:edeacec0437c
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Mon May 09 00:41:57 2022 +0000

description:
lua-cyrussasl: fix build in privileged mode

diffstat:

 security/lua-cyrussasl/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 76339f27f2b3 -r edeacec0437c security/lua-cyrussasl/Makefile
--- a/security/lua-cyrussasl/Makefile   Mon May 09 00:38:43 2022 +0000
+++ b/security/lua-cyrussasl/Makefile   Mon May 09 00:41:57 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2022/05/09 00:37:58 khorben Exp $
+# $NetBSD: Makefile,v 1.2 2022/05/09 00:41:57 khorben Exp $
 
 DISTNAME=      ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
 PKGNAME=       ${LUA_PKGPREFIX}-${GITHUB_PROJECT:S/lua-//}-1.1.0
@@ -17,7 +17,7 @@
 .include "../../mk/bsd.prefs.mk"
 
 MAKE_FLAGS+=   CPATH="${DESTDIR}${PREFIX}/${LUA_CDIR}"
-MAKE_FLAGS+=   LDFLAGS="-shared -lsasl2 -L${PREFIX}/lib -L${PREFIX}/${LUA_LDIR}"
+MAKE_FLAGS+=   LDFLAGS="-shared -lsasl2 -L${PREFIX}/lib -Wl,-rpath,${PREFIX}/lib -L${PREFIX}/${LUA_LDIR}"
 
 .include "../../security/cyrus-sasl/buildlink3.mk"
 .include "../../lang/lua/module.mk"



Home | Main Index | Thread Index | Old Index