1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

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
This commit is contained in:
Colin Percival 2019-11-02 07:24:29 +00:00
parent 4877b65edc
commit 9edd5443a3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=516289

View File

@ -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