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 loading sub-std.so (and related bro...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/073e625f4b8c
branches:  trunk
changeset: 384542:073e625f4b8c
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon Aug 27 19:26:08 2018 +0000

description:
Fix loading sub-std.so (and related broken tests) on at least NetBSD and
Linux. Bump PKGREVISION.

diffstat:

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

diffs (34 lines):

diff -r 6920d065154a -r 073e625f4b8c mail/ezmlm-idx/Makefile
--- a/mail/ezmlm-idx/Makefile   Mon Aug 27 16:20:15 2018 +0000
+++ b/mail/ezmlm-idx/Makefile   Mon Aug 27 19:26:08 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.46 2018/07/20 03:34:19 ryoon Exp $
+# $NetBSD: Makefile,v 1.47 2018/08/27 19:26:08 schmonz Exp $
 #
 
 DISTNAME=              ezmlm-idx-${IDXVERSION}
-PKGREVISION=           5
+PKGREVISION=           6
 CATEGORIES=            mail
 IDXVERSION=            7.2.2
 MASTER_SITES=          http://untroubled.org/ezmlm/archive/${IDXVERSION}/
@@ -27,7 +27,9 @@
                        ${ECHO} ${PREFIX:Q}/lib/ezmlm > conf-lib;
 
 LDFLAGS.Darwin+=       -Wl,-U,_FATAL -Wl,-U,_USAGE
+LDFLAGS.Linux+=                -Wl,--export-dynamic
 LDFLAGS.SunOS+=                -lsocket -lnsl
+LDFLAGS+=              ${EXPORT_SYMBOLS_LDFLAGS}
 
 INSTALL_TARGET=                install
 
@@ -53,6 +55,9 @@
 post-extract:
        ${GREP} -v '^#' < cf-files.mk | ${CUT} -f2 | ${SED} -e 's|^|share/examples/ezmlm-idx/|g' > ${WRKDIR}/PLIST.idxcf
 
+do-test:
+       cd ${WRKSRC} && ./ezmlm-test
+
 pre-install:
        ${INSTALL_DATA_DIR} ${DESTDIR}${PKG_SYSCONFDIR}
 



Home | Main Index | Thread Index | Old Index