Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2014 13:00:41 +0000 (UTC)
From:      Vsevolod Stakhov <vsevolod@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360612 - head/mail/exim
Message-ID:  <201407041300.s64D0fcp046098@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vsevolod
Date: Fri Jul  4 13:00:41 2014
New Revision: 360612
URL: http://svnweb.freebsd.org/changeset/ports/360612
QAT: https://qat.redports.org/buildarchive/r360612/

Log:
  - Fix search path for optional dependencies (partially based on [1])
  - Enable EXPERIMENTAL_REDIS knob if REDIS option is enabled
  - Bump portrevision
  
  Submitted by:	pi [1]

Modified:
  head/mail/exim/Makefile

Modified: head/mail/exim/Makefile
==============================================================================
--- head/mail/exim/Makefile	Fri Jul  4 12:51:51 2014	(r360611)
+++ head/mail/exim/Makefile	Fri Jul  4 13:00:41 2014	(r360612)
@@ -3,7 +3,7 @@
 
 PORTNAME=	exim
 PORTVERSION?=	${EXIM_VERSION}
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	mail ipv6
 MASTER_SITES=	${MASTER_SITE_EXIM:S/$/:exim/}
 MASTER_SITE_SUBDIR=	exim4/:exim
@@ -202,7 +202,7 @@ SEDLIST+=	-e 's,^\# (EXPERIMENTAL_OCSP=)
 
 .if ${PORT_OPTIONS:MDMARC}
 LIB_DEPENDS+=	libopendmarc.so:${PORTSDIR}/mail/opendmarc
-SEDLIST+= -e 's,XX_DMARC_LIBS_XX,-lopendmarc,' \
+SEDLIST+= -e 's,XX_DMARC_LIBS_XX,-L${LOCALBASE}/lib -lopendmarc,' \
 		-e 's,^\# (EXPERIMENTAL_DMARC=),\1,'
 .else
 SEDLIST+= -e 's,XX_DMARC_LIBS_XX,,'
@@ -450,8 +450,9 @@ SEDLIST+=	-e 's,XX_SQLITE_LIBS_XX,,' \
 
 .if ${PORT_OPTIONS:MREDIS}
 LIB_DEPENDS+=	libhiredis.so:${PORTSDIR}/databases/hiredis
-SEDLIST+=	-e 's,XX_REDIS_LIBS_XX,-lhiredis,' \
-		-e 's,^\# (LOOKUP_REDIS=),\1,'
+SEDLIST+=	-e 's,XX_REDIS_LIBS_XX,-L${LOCALBASE}/lib -lhiredis,' \
+		-e 's,^\# (LOOKUP_REDIS=),\1,' \
+		-e 's,^\# (EXPERIMENTAL_REDIS=),\1,'
 .else
 SEDLIST+=	-e 's,XX_REDIS_LIBS_XX,,'
 .endif
@@ -467,7 +468,7 @@ SEDLIST+=	-e 's,^(ALT_CONFIG_PREFIX=),\#
 .if ${PORT_OPTIONS:MSPF}
 LIB_DEPENDS+=	libspf2.so:${PORTSDIR}/mail/libspf2
 SEDLIST+=	-e 's,XX_SPF_FLAGS_XX,-DSPF,' \
-		-e 's,XX_SPF_LIBS_XX,-lspf2 ${PTHREAD_LIBS:S/,/\\,/g},' \
+		-e 's,XX_SPF_LIBS_XX,-L${LOCALBASE}/lib -lspf2 ${PTHREAD_LIBS:S/,/\\,/g},' \
 		-e 's,^\# (EXPERIMENTAL_SPF=),\1,'
 .else
 SEDLIST+=	-e 's,XX_SPF_FLAGS_XX,,' \
@@ -477,11 +478,11 @@ SEDLIST+=	-e 's,XX_SPF_FLAGS_XX,,' \
 .if ${PORT_OPTIONS:MSRS}
 LIB_DEPENDS+=	libsrs2.so:${PORTSDIR}/mail/libsrs2
 SEDLIST+=	-e 's,XX_SRS_FLAGS_XX,-DSRS,' \
-		-e 's,XX_SRS_LIBS_XX,-lsrs2,'
+		-e 's,XX_SRS_LIBS_XX,-L${LOCALBASE}/lib -lsrs2,'
 .elif ${PORT_OPTIONS:MSRS_ALT}
 LIB_DEPENDS+=	libsrs_alt.so:${PORTSDIR}/mail/libsrs_alt
 SEDLIST+=	-e 's,XX_SRS_FLAGS_XX,-DEXPERIMENTAL_SRS,' \
-		-e 's,XX_SRS_LIBS_XX,-lsrs_alt,'
+		-e 's,XX_SRS_LIBS_XX,-L${LOCALBASE}/lib -lsrs_alt,'
 .else
 SEDLIST+=	-e 's,XX_SRS_FLAGS_XX,,' \
 		-e 's,XX_SRS_LIBS_XX,,'



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407041300.s64D0fcp046098>