ports/78542: mail/exim-* - >= 4.50 broken Makefile - don't recognize WITH_SPF (don't change EXPERIMENTAL_SPF in main Makefile)

Thorolf thorolf at grid.einherjar.de
Mon Mar 7 17:20:03 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list