[csw-devel] SF.net SVN: gar:[11921] csw/mgar/pkg/exim/trunk

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Tue Dec 14 03:56:44 CET 2010


Revision: 11921
          http://gar.svn.sourceforge.net/gar/?rev=11921&view=rev
Author:   bdwalton
Date:     2010-12-14 02:56:43 +0000 (Tue, 14 Dec 2010)

Log Message:
-----------
exim: add a separate patch to bash the CC/CFLAGS, etc into the build

Modified Paths:
--------------
    csw/mgar/pkg/exim/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/exim/trunk/files/0004-Force-Compiler-and-a-few-compilation-options.patch

Modified: csw/mgar/pkg/exim/trunk/Makefile
===================================================================
--- csw/mgar/pkg/exim/trunk/Makefile	2010-12-14 02:34:41 UTC (rev 11920)
+++ csw/mgar/pkg/exim/trunk/Makefile	2010-12-14 02:56:43 UTC (rev 11921)
@@ -20,6 +20,7 @@
 DISTFILES += CSWexim.request CSWexim.checkinstall
 
 PATCHFILES += 0003-Set-OpenCSW-build-options.patch
+PATCHFILES += 0004-Force-Compiler-and-a-few-compilation-options.patch
 
 BUILD_DEP_PKGS = CSWlibspf2
 

Added: csw/mgar/pkg/exim/trunk/files/0004-Force-Compiler-and-a-few-compilation-options.patch
===================================================================
--- csw/mgar/pkg/exim/trunk/files/0004-Force-Compiler-and-a-few-compilation-options.patch	                        (rev 0)
+++ csw/mgar/pkg/exim/trunk/files/0004-Force-Compiler-and-a-few-compilation-options.patch	2010-12-14 02:56:43 UTC (rev 11921)
@@ -0,0 +1,33 @@
+From 81cf6c60a61512eed7f35af6d0b8797074f9d6bb Mon Sep 17 00:00:00 2001
+From: Ben Walton <bwalton at opencsw.org>
+Date: Tue, 14 Dec 2010 03:39:25 +0100
+Subject: [PATCH] Force Compiler and a few compilation options
+
+We need to force the use of compiler and add a few extra CFLAGS and
+LDFLAGS.
+
+Signed-off-by: Ben Walton <bwalton at opencsw.org>
+---
+ Local/Makefile |    7 +++++++
+ 1 files changed, 7 insertions(+), 0 deletions(-)
+
+diff --git a/Local/Makefile b/Local/Makefile
+index 810b984..f7ec083 100644
+--- a/Local/Makefile
++++ b/Local/Makefile
+@@ -1,5 +1,12 @@
+ # $Cambridge: exim/exim-src/src/EDITME,v 1.23 2009/11/20 12:18:19 nm4 Exp $
+ 
++# -I (CSW_WORKSRC).. is needed for the SPF2 hack (to pick up patched SPF2
++# headers locally)
++
++CC=$(CSW_CC)
++CFLAGS=-DHAVE_NS_TYPE -I$(CSW_WORKSRC) -I/opt/csw/include $(CSW_OPT)
++LDFLAGS=-R/opt/csw/mysql5/lib/mysql -R/opt/csw/postgresql/lib
++
+ ##################################################
+ #          The Exim mail transport agent         #
+ ##################################################
+-- 
+1.7.3.2
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list