···1+diff -ruN postfix-2.11.0-orig/makedefs postfix-2.11.0/makedefs
2+--- postfix-2.11.0-orig/makedefs 2014-01-05 18:18:56.000000000 +0100
3++++ postfix-2.11.0/makedefs 2014-04-24 09:27:58.193869491 +0200
4+@@ -290,36 +290,6 @@
5+ esac
6+ ;;
7+ Linux.2*) SYSTYPE=LINUX2
8+- case "$CCARGS" in
9+- *-DNO_DB*) ;;
10+- *-DHAS_DB*) ;;
11+- *) if [ -f /usr/include/db.h ]
12+- then
13+- : we are all set
14+- elif [ -f /usr/include/db/db.h ]
15+- then
16+- CCARGS="$CCARGS -I/usr/include/db"
17+- else
18+- # No, we're not going to try db1 db2 db3 etc.
19+- # On a properly installed system, Postfix builds
20+- # by including <db.h> and by linking with -ldb
21+- echo "No <db.h> include file found." 1>&2
22+- echo "Install the appropriate db*-devel package first." 1>&2
23+- exit 1
24+- fi
25+- SYSLIBS="-ldb"
26+- ;;
27+- esac
28+- for name in nsl resolv $GDBM_LIBS
29+- do
30+- for lib in /usr/lib64 /lib64 /usr/lib /lib
31+- do
32+- test -e $lib/lib$name.a -o -e $lib/lib$name.so && {
33+- SYSLIBS="$SYSLIBS -l$name"
34+- break
35+- }
36+- done
37+- done
38+ # Kernel 2.4 added IPv6
39+ case "$RELEASE" in
40+ 2.[0-3].*) CCARGS="$CCARGS -DNO_IPV6";;
41+@@ -363,35 +333,6 @@
42+ esac
43+ ;;
44+ Linux.3*) SYSTYPE=LINUX3
45+- case "$CCARGS" in
46+- *-DNO_DB*) ;;
47+- *-DHAS_DB*) ;;
48+- *) if [ -f /usr/include/db.h ]
49+- then
50+- : we are all set
51+- elif [ -f /usr/include/db/db.h ]
52+- then
53+- CCARGS="$CCARGS -I/usr/include/db"
54+- else
55+- # On a properly installed system, Postfix builds
56+- # by including <db.h> and by linking with -ldb
57+- echo "No <db.h> include file found." 1>&2
58+- echo "Install the appropriate db*-devel package first." 1>&2
59+- exit 1
60+- fi
61+- SYSLIBS="-ldb"
62+- ;;
63+- esac
64+- for name in nsl resolv
65+- do
66+- for lib in /usr/lib64 /lib64 /usr/lib /usr/lib/* /lib /lib/*
67+- do
68+- test -e $lib/lib$name.a -o -e $lib/lib$name.so && {
69+- SYSLIBS="$SYSLIBS -l$name"
70+- break
71+- }
72+- done
73+- done
74+ ;;
75+ GNU.0*|GNU/kFreeBSD.[567]*)
76+ SYSTYPE=GNU0
+2
pkgs/top-level/all-packages.nix
···65306531 postfix = callPackage ../servers/mail/postfix { };
6532006533 pulseaudio = callPackage ../servers/pulseaudio {
6534 gconf = gnome.GConf;
6535 # The following are disabled in the default build, because if this
···65306531 postfix = callPackage ../servers/mail/postfix { };
65326533+ postfix211 = callPackage ../servers/mail/postfix/2.11.nix { };
6534+6535 pulseaudio = callPackage ../servers/pulseaudio {
6536 gconf = gnome.GConf;
6537 # The following are disabled in the default build, because if this