ports/mail/vpopmail/files/patch-configure
Peter Pentchev 88c3bf1dc1 Fix the build of several dependent ports by actually installing
the inc_deps and lib_deps files.  This should fix qmailadmin,
courier-imap and possibly others, after I broke them by my configure
changes to not create and populate ${PREFIX}/vpopmail/etc/ at
configure time.
Add a couple of configuration knobs.
Bump PORTREVISION for the inc_deps/lib_deps fix.

Reported by:	a multitude of innocents :(
Pointy hat:	roam (myself)
2001-11-04 12:05:05 +00:00

54 lines
1.6 KiB
Text

--- configure.old Fri Nov 2 20:50:19 2001
+++ configure Fri Nov 2 20:50:35 2001
@@ -1613,16 +1613,6 @@
rm -f vpopusername
-if test ! -d $vpopmaildir/etc
-then
- mkdir $vpopmaildir/etc
- chown $vpopmailuid "$vpopmaildir"/etc
- chgrp $vpopmailgid "$vpopmaildir"/etc
- chmod 755 "$vpopmaildir"/etc
- echo "configure: warning: making a vpopmail etc directory " 1>&2
-fi
-
-
open_smtp_cur="$vpopmaildir/etc/open-smtp"
open_smtp_tmp="$vpopmaildir/etc/open-smtp.tmp"
open_smtp_lok="$vpopmaildir/etc/open-smtp.lock"
@@ -1658,7 +1648,7 @@
if test "$tcpserver_file" = ""
then
- echo "127.:allow,RELAYCLIENT=\"\"" > "$vpopmaildir"/etc/tcp.smtp
+ echo "127.:allow,RELAYCLIENT=\"\"" > "$VCFGDIR"/tcp.smtp
tcpserver_file="$vpopmaildir"/etc/tcp.smtp
echo "configure: warning: Unable to find your tcpserver relay file." 1>&2
@@ -1873,7 +1863,7 @@
fi
auth_libs="-L$sqllibdir -lmysqlclient -lz"
- echo "-L$vpopmaildir/lib -lvpopmail -L$sqllibdir -lmysqlclient -lz" > $vpopmaildir/etc/lib_deps
+ echo "-L$vpopmaildir/lib -lvpopmail -L$sqllibdir -lmysqlclient -lz" > $VCFGDIR/lib_deps
;;
*)
@@ -2007,14 +1997,14 @@
authlib=
auth_inc="-Icdb"
- echo "-L$vpopmaildir/lib -lvpopmail" > $vpopmaildir/etc/lib_deps
+ echo "-L$vpopmaildir/lib -lvpopmail" > $VCFGDIR/lib_deps
;;
*)
;;
esac
-echo "-I$vpopmaildir/include" > $vpopmaildir/etc/inc_deps
+echo "-I$vpopmaildir/include" > $VCFGDIR/inc_deps
# Check whether --enable-roaming-users or --disable-roaming-users was given.
if test "${enable_roaming_users+set}" = set; then