From 9edd5443a389f3c8e7fb05988b8ec88c7de62957 Mon Sep 17 00:00:00 2001 From: Colin Percival Date: Sat, 2 Nov 2019 07:24:29 +0000 Subject: [PATCH] Add -rdynamic to ezmlm-idx's conf-ld. This flag was added in ezmlm-idx 7.2.2 and is necessary in order for ezmlm to work on FreeBSD 12; but it was being removed when we overwrote conf-ld. [1] While I'm here, remove the djbware "no license" LEGAL_TEXT, which was added in error several years ago; this package is GPLv2. PR: 236869 Reported by: Matt Simerson --- mail/ezmlm-idx/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mail/ezmlm-idx/Makefile b/mail/ezmlm-idx/Makefile index 73cf9672aa50..e239cfb9b41f 100644 --- a/mail/ezmlm-idx/Makefile +++ b/mail/ezmlm-idx/Makefile @@ -3,6 +3,7 @@ PORTNAME= ezmlm-idx PORTVERSION= 7.2.2 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://untroubled.org/ezmlm/archive/${PORTVERSION}/ @@ -18,7 +19,6 @@ CONFLICTS= ezmlm-0.* SUB_FILES= pkg-message MAKE_JOBS_UNSAFE= yes -LEGAL_TEXT= No license -- see http://cr.yp.to/softwarelaw.html OPTIONS_DEFINE= DB DOCS OPTIONS_SINGLE= DB @@ -69,16 +69,16 @@ post-patch: @${ECHO_CMD} "${PREFIX}/etc/ezmlm" > ${WRKSRC}/conf-etc @${ECHO_CMD} "${PREFIX}/lib/ezmlm" > ${WRKSRC}/conf-lib @${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc - @${ECHO_CMD} "${CC} -s" > ${WRKSRC}/conf-ld + @${ECHO_CMD} "${CC} -s -rdynamic" > ${WRKSRC}/conf-ld .if ${PORT_OPTIONS:MMYSQL} @${ECHO_CMD} "${CC} ${CFLAGS} ${EXTRACT_INCLUDE}" > ${WRKSRC}/conf-cc - @${ECHO_CMD} "${CC} -s ${EXTRACT_LIB}" > ${WRKSRC}/conf-ld + @${ECHO_CMD} "${CC} -s -rdynamic ${EXTRACT_LIB}" > ${WRKSRC}/conf-ld .elif ${PORT_OPTIONS:MPGSQL} @${ECHO_CMD} "${CC} ${CFLAGS} ${EXTRACT_INCLUDE}" > ${WRKSRC}/conf-cc - @${ECHO_CMD} "${CC} -s ${EXTRACT_LIB}" > ${WRKSRC}/conf-ld + @${ECHO_CMD} "${CC} -s -rdynamic ${EXTRACT_LIB}" > ${WRKSRC}/conf-ld .elif ${PORT_OPTIONS:MSQLITE} @${ECHO_CMD} "${CC} ${CFLAGS} ${EXTRACT_INCLUDE}" > ${WRKSRC}/conf-cc - @${ECHO_CMD} "${CC} -s ${EXTRACT_LIB}" > ${WRKSRC}/conf-ld + @${ECHO_CMD} "${CC} -s -rdynamic ${EXTRACT_LIB}" > ${WRKSRC}/conf-ld .endif @${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man @${ECHO_CMD} "${QMAIL_PREFIX}" > ${WRKSRC}/conf-qmail