summaryrefslogtreecommitdiff
path: root/mail/vqadmin/files/patch-configure
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2003-05-15 13:47:22 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2003-05-15 13:47:22 +0000
commit52c517532fd0d92edbfdf352845eddbe3c42c09a (patch)
tree29b7cad90d322399bdc75c3e79e9f9c073824321 /mail/vqadmin/files/patch-configure
parentNew port. (diff)
Update vqadmin to 2.3.5 take maintainership
PR: 48534 Approved by: nbm, alex (mentor)
Diffstat (limited to '')
-rw-r--r--mail/vqadmin/files/patch-configure31
1 files changed, 31 insertions, 0 deletions
diff --git a/mail/vqadmin/files/patch-configure b/mail/vqadmin/files/patch-configure
new file mode 100644
index 000000000000..d2d4f823f804
--- /dev/null
+++ b/mail/vqadmin/files/patch-configure
@@ -0,0 +1,31 @@
+--- 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.