[master] 15bfb54 Allow a custom DST

Nils Goroll nils.goroll at uplex.de
Fri Nov 18 17:01:05 CET 2016


commit 15bfb54aa349122f5785e8444d96173c86c25acd
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Fri Nov 18 16:58:23 2016 +0100

    Allow a custom DST
    
    The hardcoded paths are the one thing which has kept me from sing autogen.des regularly

diff --git a/autogen.des b/autogen.des
index 42b1508..d98980d 100755
--- a/autogen.des
+++ b/autogen.des
@@ -12,7 +12,9 @@ if [ -f /usr/bin/clang -a "x${CC}" = "x" ] ; then
 	export CC
 fi
 
-if [ "x`uname -o`" = "xFreeBSD" ] ; then
+if [ "x$DST" != "x" ] ; then
+	:
+elif [ "x`uname -o`" = "xFreeBSD" ] ; then
 	DST="--prefix=/usr/local --mandir=/usr/local/man"
 else
 	DST="--prefix=/opt/varnish --mandir=/opt/varnish/man"



More information about the varnish-commit mailing list