pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/ezmlm-idx Fix relative rpaths in installed librar...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c6af09cc3211
branches:  trunk
changeset: 323297:c6af09cc3211
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Tue May 07 14:24:03 2019 +0000

description:
Fix relative rpaths in installed libraries on Darwin. Bump PKGREVISION.

diffstat:

 mail/ezmlm-idx/Makefile |  13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r bb700b6ae168 -r c6af09cc3211 mail/ezmlm-idx/Makefile
--- a/mail/ezmlm-idx/Makefile   Tue May 07 14:06:54 2019 +0000
+++ b/mail/ezmlm-idx/Makefile   Tue May 07 14:24:03 2019 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.49 2019/04/03 00:32:52 ryoon Exp $
+# $NetBSD: Makefile,v 1.50 2019/05/07 14:24:03 schmonz Exp $
 #
 
 DISTNAME=              ezmlm-idx-${IDXVERSION}
-PKGREVISION=           8
+PKGREVISION=           9
 CATEGORIES=            mail
 IDXVERSION=            7.2.2
 MASTER_SITES=          http://untroubled.org/ezmlm/archive/${IDXVERSION}/
@@ -55,6 +55,15 @@
 post-extract:
        ${GREP} -v '^#' < cf-files.mk | ${CUT} -f2 | ${SED} -e 's|^|share/examples/ezmlm-idx/|g' > ${WRKDIR}/PLIST.idxcf
 
+.include "../../mk/bsd.prefs.mk"
+
+post-build:
+.      if ${OPSYS} == Darwin
+       cd ${WRKSRC} && for lib in *.so; do \
+         install_name_tool -id ${PREFIX}/lib/$${lib} $${lib}; \
+       done
+.      endif
+
 do-test:
        cd ${WRKSRC} && ./ezmlm-test
 



Home | Main Index | Thread Index | Old Index