1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-23 13:40:34 -04:00
ports/mail/vqadmin/files/patch-configure
Oliver Lehmann 52c517532f Update vqadmin to 2.3.5 take maintainership
PR:		48534
Approved by:	nbm, alex (mentor)
2003-05-15 13:47:22 +00:00

31 lines
756 B
Text

--- configure.orig Fri Feb 21 18:40:17 2003
+++ configure Fri Feb 21 18:43:08 2003
@@ -1389,19 +1389,17 @@
cgibindir=""
wwwroot=""
-for f in /home/httpd /usr/local/apache /usr/local/www /var/lib/httpd /var/www /usr/local/www /var/www
-do
- if test -d $f/html
- then
- wwwroot=$f/html
- fi
+if test "${enable_htmldir+set}" = set; then
+ enableval="$enable_htmldir"
+ wwwroot="$enableval"
+else
- if test -d $f/cgi-bin
- then
- cgibindir=$f/cgi-bin
- fi
-done
+ if test "$wwwroot" = ""
+ then
+ { echo "configure: error: Unable to find your html directory, specify --enable-htmldir." 1>&2; exit 1; }
+ fi
+fi
# Check whether --enable-cgibindir or --disable-cgibindir was given.