summaryrefslogtreecommitdiff
path: root/mail/ezmlm-idx
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2019-05-07 14:24:03 +0000
committerschmonz <schmonz@pkgsrc.org>2019-05-07 14:24:03 +0000
commit4ac9e49dd0bae3ea63907a8376ce7f01c535f017 (patch)
tree305f75fc3554c3d2a99f0860f1ceb8260e236107 /mail/ezmlm-idx
parent2cdfcd1aee0b6d7d61babaea41ca8f8ac00595d6 (diff)
downloadpkgsrc-4ac9e49dd0bae3ea63907a8376ce7f01c535f017.tar.gz
Fix relative rpaths in installed libraries on Darwin. Bump PKGREVISION.
Diffstat (limited to 'mail/ezmlm-idx')
-rw-r--r--mail/ezmlm-idx/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/mail/ezmlm-idx/Makefile b/mail/ezmlm-idx/Makefile
index 91871aa9471..e5344bb3323 100644
--- a/mail/ezmlm-idx/Makefile
+++ b/mail/ezmlm-idx/Makefile
@@ -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 @@ INSTALLATION_DIRS+= share/doc/${PKGBASE} share/examples/${PKGBASE}
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