nixpkgs/pkgs/servers/mail/postfix/postfix-2.2.9-lib.patch
Armijn Hemel 8befb633d6 get postfix to build. Note: install still has to be done, but this will
probably be a bit tricky, due to sendmail "compatibility" (postfix makes
a symlink to "sendmail", so programs will keep on working).

svn path=/nixpkgs/trunk/; revision=5030
2006-03-10 23:48:34 +00:00

13 lines
496 B
Diff

diff -ruN postfix-2.2.9/makedefs postfix-2.2.9.new/makedefs
--- postfix-2.2.9/makedefs 2006-01-03 21:50:25.000000000 +0000
+++ postfix-2.2.9.new/makedefs 2006-03-11 01:40:30.000000000 +0000
@@ -247,7 +247,7 @@
SYSLIBS="-ldb"
for name in nsl resolv $GDBM_LIBS
do
- for lib in /usr/lib64 /lib64 /usr/lib /lib
+ for lib in $glibc/usr/lib64 $glibc/lib64 $glibc/usr/lib $glibc/lib
do
test -e $lib/lib$name.a -o -e $lib/lib$name.so && {
SYSLIBS="$SYSLIBS -l$name"