svn commit: r499536 - head/mail/exim

Kubilay Kocak koobs at FreeBSD.org
Sun Apr 21 12:27:03 UTC 2019


Author: koobs
Date: Sun Apr 21 12:27:01 2019
New Revision: 499536
URL: https://svnweb.freebsd.org/changeset/ports/499536

Log:
  mail/exim: Fix build (linker) flags
  
  "-export-dynamic" in EXIM_DYNAMIC_LDFLAGS is a linker option, currently
  producing a warning during build:
  
  /usr/bin/ld: warning: cannot find entry symbol xport-dynamic; defaulting to 00000000004019c0
  
  The only reason that plugin modules work is that the option is redundant
  with -rdynamic.
  
  This change makes the minimum necessary change not relying on linker
  argument compatibility (- vs --).
  
  PR:		236426
  Submitted by:	<andrew tao11 riddles org uk>
  Approved by:	portmgr (maintainer timeout: ~6 weeks, "just fix it")
  MFH:		2019Q2

Modified:
  head/mail/exim/Makefile

Modified: head/mail/exim/Makefile
==============================================================================
--- head/mail/exim/Makefile	Sun Apr 21 11:43:17 2019	(r499535)
+++ head/mail/exim/Makefile	Sun Apr 21 12:27:01 2019	(r499536)
@@ -3,7 +3,7 @@
 
 PORTNAME=	exim
 PORTVERSION?=	${EXIM_VERSION}
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	mail ipv6
 MASTER_SITES=	EXIM:exim
 MASTER_SITE_SUBDIR=	/exim4/:exim \
@@ -150,7 +150,7 @@ LOG_FILE_PATH?=		${LOGDIR}/%slog
 CONFIG_FILE_PATH?=	${PREFIX}/etc/exim/configure
 ALT_CONFIG_PREFIX?=	${PREFIX}/etc/exim/
 
-EXIM_DYNAMIC_LDFLAGS=	-fPIC -rdynamic -export-dynamic
+EXIM_DYNAMIC_LDFLAGS=	-fPIC -rdynamic -Wl,--export-dynamic
 
 SED_SCRIPT=	-e 's,%%PREFIX%%,${PREFIX},g' \
 		-e 's,%%DOCSDIR%%,${DOCSDIR},g' \


More information about the svn-ports-all mailing list