Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-mta/exim/files: exim-4.82-makefile-freebsd.patch
Date: Mon, 30 Sep 2013 19:33:13
Message-Id: 20130930193308.8769420034@flycatcher.gentoo.org
1 grobian 13/09/30 19:33:08
2
3 Added: exim-4.82-makefile-freebsd.patch
4 Log:
5 First release candidate for Exim 4.82 with DMARC support
6
7 (Portage version: 2.2.6/cvs/Linux x86_64, unsigned Manifest commit)
8
9 Revision Changes Path
10 1.1 mail-mta/exim/files/exim-4.82-makefile-freebsd.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/exim/files/exim-4.82-makefile-freebsd.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/exim/files/exim-4.82-makefile-freebsd.patch?rev=1.1&content-type=text/plain
14
15 Index: exim-4.82-makefile-freebsd.patch
16 ===================================================================
17 --- OS/Makefile-FreeBSD.orig 2013-09-30 19:59:09.000000000 +0200
18 +++ OS/Makefile-FreeBSD 2013-09-30 20:01:22.000000000 +0200
19 @@ -1,10 +1,8 @@
20 -# Exim: OS-specific make file for FreeBSD
21 -# There's no setting of CFLAGS here, to allow the system default
22 -# for "make" to be the default.
23 -
24 -CHOWN_COMMAND=/usr/sbin/chown
25 -STRIP_COMMAND=/usr/bin/strip
26 -CHMOD_COMMAND=/bin/chmod
27 +# Exim: OS-specific FreeBSD make file, modified for Gentoo Prefix
28 +
29 +CHOWN_COMMAND=look_for_it
30 +STRIP_COMMAND=look_for_it
31 +CHMOD_COMMAND=look_for_it
32
33 HAVE_SA_LEN=YES
34
35 @@ -15,17 +13,9 @@
36 CFLAGS_DYNAMIC=-shared -rdynamic -fPIC
37
38 # FreeBSD always ships with Berkeley DB
39 +DBMLIB = -ldb
40 USE_DB=yes
41
42 -# This code for building outside ports suggested by Richard Clayton
43 -.ifdef X11BASE
44 -X11=${X11BASE}
45 -.elifdef LOCALBASE
46 -X11=$(LOCALBASE)
47 -.else
48 -X11=/usr/local
49 -.endif
50 -
51 # nb: FreeBSD is entirely elf; objformat was removed prior to FreeBSD 7
52 # http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/objformat/Attic/objformat.c
53 # deleted Jan 2007.
54 @@ -37,6 +27,7 @@
55 # switch to default to ELF came with FreeBSD 3. elf(5) claims ELF support
56 # introduced in FreeBSD 2.2.6.
57 #
58 +X11=/usr/X11R6
59 XINCLUDE=-I$(X11)/include
60 XLFLAGS=-L$(X11)/lib -Wl,-rpath,${X11}/lib
61 X11_LD_LIB=$(X11)/lib