1 |
grobian 11/05/08 09:30:49 |
2 |
|
3 |
Added: exim-4.75-makefile-freebsd.patch |
4 |
Log: |
5 |
Fix compilation of Exim on FreeBSD, bug #235785 |
6 |
|
7 |
(Portage version: 2.2.01.18252-prefix/cvs/Darwin powerpc) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 mail-mta/exim/files/exim-4.75-makefile-freebsd.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/exim/files/exim-4.75-makefile-freebsd.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/exim/files/exim-4.75-makefile-freebsd.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: exim-4.75-makefile-freebsd.patch |
16 |
=================================================================== |
17 |
--- OS/Makefile-FreeBSD |
18 |
+++ OS/Makefile-FreeBSD |
19 |
@@ -1,14 +1,12 @@ |
20 |
# $Cambridge: exim/src/OS/Makefile-FreeBSD,v 1.6 2009/11/19 18:58:44 nm4 Exp $ |
21 |
|
22 |
-# Exim: OS-specific make file for FreeBSD |
23 |
-# There's no setting of CFLAGS here, to allow the system default |
24 |
-# for "make" to be the default. |
25 |
- |
26 |
-PORTOBJFORMAT!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout |
27 |
- |
28 |
-CHOWN_COMMAND=/usr/sbin/chown |
29 |
-STRIP_COMMAND=/usr/bin/strip |
30 |
-CHMOD_COMMAND=/bin/chmod |
31 |
+# Exim: OS-specific FreeBSD make file, modified for Gentoo Prefix |
32 |
+ |
33 |
+ |
34 |
+BASENAME_COMMAND=look_for_it |
35 |
+CHOWN_COMMAND=look_for_it |
36 |
+CHGRP_COMMAND=look_for_it |
37 |
+CHMOD_COMMAND=look_for_it |
38 |
|
39 |
HAVE_SA_LEN=YES |
40 |
|
41 |
@@ -18,23 +16,12 @@ |
42 |
# Dynamicly loaded modules need to be built with -fPIC |
43 |
CFLAGS_DYNAMIC=-shared -rdynamic -fPIC |
44 |
|
45 |
-# FreeBSD always ships with Berkeley DB |
46 |
+DBMLIB = -ldb |
47 |
USE_DB=yes |
48 |
|
49 |
-# This code for building outside ports suggested by Richard Clayton |
50 |
-.ifdef X11BASE |
51 |
-X11=${X11BASE} |
52 |
-.elifdef LOCALBASE |
53 |
-X11=$(LOCALBASE) |
54 |
-.else |
55 |
-X11=/usr/local |
56 |
-.endif |
57 |
- |
58 |
+X11=/usr/X11R6 |
59 |
XINCLUDE=-I$(X11)/include |
60 |
XLFLAGS=-L$(X11)/lib |
61 |
-.if ${PORTOBJFORMAT} == "elf" |
62 |
-XLFLAGS+=-Wl,-rpath,${X11}/lib |
63 |
-.endif |
64 |
X11_LD_LIB=$(X11)/lib |
65 |
|
66 |
EXIWHAT_PS_ARG=-ax |