···11+diff -ruN postfix-2.11.0-orig/makedefs postfix-2.11.0/makedefs
22+--- postfix-2.11.0-orig/makedefs 2014-01-05 18:18:56.000000000 +0100
33++++ postfix-2.11.0/makedefs 2014-04-24 09:27:58.193869491 +0200
44+@@ -290,36 +290,6 @@
55+ esac
66+ ;;
77+ Linux.2*) SYSTYPE=LINUX2
88+- case "$CCARGS" in
99+- *-DNO_DB*) ;;
1010+- *-DHAS_DB*) ;;
1111+- *) if [ -f /usr/include/db.h ]
1212+- then
1313+- : we are all set
1414+- elif [ -f /usr/include/db/db.h ]
1515+- then
1616+- CCARGS="$CCARGS -I/usr/include/db"
1717+- else
1818+- # No, we're not going to try db1 db2 db3 etc.
1919+- # On a properly installed system, Postfix builds
2020+- # by including <db.h> and by linking with -ldb
2121+- echo "No <db.h> include file found." 1>&2
2222+- echo "Install the appropriate db*-devel package first." 1>&2
2323+- exit 1
2424+- fi
2525+- SYSLIBS="-ldb"
2626+- ;;
2727+- esac
2828+- for name in nsl resolv $GDBM_LIBS
2929+- do
3030+- for lib in /usr/lib64 /lib64 /usr/lib /lib
3131+- do
3232+- test -e $lib/lib$name.a -o -e $lib/lib$name.so && {
3333+- SYSLIBS="$SYSLIBS -l$name"
3434+- break
3535+- }
3636+- done
3737+- done
3838+ # Kernel 2.4 added IPv6
3939+ case "$RELEASE" in
4040+ 2.[0-3].*) CCARGS="$CCARGS -DNO_IPV6";;
4141+@@ -363,35 +333,6 @@
4242+ esac
4343+ ;;
4444+ Linux.3*) SYSTYPE=LINUX3
4545+- case "$CCARGS" in
4646+- *-DNO_DB*) ;;
4747+- *-DHAS_DB*) ;;
4848+- *) if [ -f /usr/include/db.h ]
4949+- then
5050+- : we are all set
5151+- elif [ -f /usr/include/db/db.h ]
5252+- then
5353+- CCARGS="$CCARGS -I/usr/include/db"
5454+- else
5555+- # On a properly installed system, Postfix builds
5656+- # by including <db.h> and by linking with -ldb
5757+- echo "No <db.h> include file found." 1>&2
5858+- echo "Install the appropriate db*-devel package first." 1>&2
5959+- exit 1
6060+- fi
6161+- SYSLIBS="-ldb"
6262+- ;;
6363+- esac
6464+- for name in nsl resolv
6565+- do
6666+- for lib in /usr/lib64 /lib64 /usr/lib /usr/lib/* /lib /lib/*
6767+- do
6868+- test -e $lib/lib$name.a -o -e $lib/lib$name.so && {
6969+- SYSLIBS="$SYSLIBS -l$name"
7070+- break
7171+- }
7272+- done
7373+- done
7474+ ;;
7575+ GNU.0*|GNU/kFreeBSD.[567]*)
7676+ SYSTYPE=GNU0
+2
pkgs/top-level/all-packages.nix
···6530653065316531 postfix = callPackage ../servers/mail/postfix { };
6532653265336533+ postfix211 = callPackage ../servers/mail/postfix/2.11.nix { };
65346534+65336535 pulseaudio = callPackage ../servers/pulseaudio {
65346536 gconf = gnome.GConf;
65356537 # The following are disabled in the default build, because if this