Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Mar 2005 17:15:19 GMT
From:      Thorolf <thorolf@grid.einherjar.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/78542: mail/exim-* - >= 4.50 broken Makefile - don't recognize WITH_SPF (don't change EXPERIMENTAL_SPF in main Makefile)
Message-ID:  <200503071715.j27HFJ9R095918@www.freebsd.org>
Resent-Message-ID: <200503071720.j27HK2Rf090405@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         78542
>Category:       ports
>Synopsis:       mail/exim-* - >= 4.50 broken Makefile - don't recognize WITH_SPF (don't change EXPERIMENTAL_SPF in main Makefile)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 07 17:20:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Thorolf
>Release:        5.2.1
>Organization:
CreativeNet GmbH
>Environment:
FreeBSD himinbjorg.xxx.de 5.2.1-RELEASE-p13 FreeBSD 5.2.1-RELEASE-p13 #0: Fri Dec 10 16:21:30 CET 2004     root@himinbjorg.xxx.de:/usr/obj/usr/src/sys/HIMINBJORG  i386

>Description:
      Since exim 4.50 merged eximscan into main source tree, ports-Makefile doesn't support SPF,(srs and other experimental stuff - I don't need). 

There are few changes in EDITME.

>How-To-Repeat:
      try to compile exim with -DWITH_SPF
>Fix:
# diff -u Makefile.org Makefile 
--- Makefile.org        Mon Mar  7 18:12:59 2005
+++ Makefile    Mon Mar  7 17:55:20 2005
@@ -475,7 +475,8 @@
 .if defined(WITH_SPF)
 LIB_DEPENDS+=  spf2.1:${PORTSDIR}/mail/libspf2
 SEDLIST+=      -e 's,XX_SPF_FLAGS_XX,-DSPF,' \
-               -e 's,XX_SPF_LIBS_XX,-lspf2,'
+               -e 's,XX_SPF_LIBS_XX,-lspf2,' \
+               -e 's,^\# (EXPERIMENTAL_SPF=),\1,'
 .else
 SEDLIST+=      -e 's,XX_SPF_FLAGS_XX,,' \
                -e 's,XX_SPF_LIBS_XX,,'

>Release-Note:
>Audit-Trail:
>Unformatted:



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