aboutsummaryrefslogtreecommitdiff
path: root/net/openradius/scripts
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-04-14 14:30:21 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-04-14 14:30:21 +0000
commit01cb9704e1510f164e587b6c00900255c20a486a (patch)
treea268cf7ec8c64d48ee49d979dae87f1fac4b647a /net/openradius/scripts
parent4c2b5b1756761bba334742e2998c1a534bdf02f8 (diff)
downloadports-01cb9704e1510f164e587b6c00900255c20a486a.tar.gz
ports-01cb9704e1510f164e587b6c00900255c20a486a.zip
Notes
Diffstat (limited to 'net/openradius/scripts')
-rw-r--r--net/openradius/scripts/configure15
1 files changed, 13 insertions, 2 deletions
diff --git a/net/openradius/scripts/configure b/net/openradius/scripts/configure
index 9ea7457d1dd9..60526cb87bc4 100644
--- a/net/openradius/scripts/configure
+++ b/net/openradius/scripts/configure
@@ -10,7 +10,19 @@ DIR_BIN = $PREFIX/bin
DIR_SBIN = $PREFIX/sbin
DIR_ETC = $PREFIX/etc/openradius
DIR_LIB = $PREFIX/lib/openradius
-FILE_LOG = $PREFIX/var/log/openradius.log
+END
+
+if [ x$LOGFILE != x ]; then
+cat >> Makefile << END
+FILE_LOG = $LOGFILE
+END
+else
+cat >> Makefile << END
+FILE_LOG = /var/log/openradius.log
+END
+fi
+
+cat >> Makefile << END
### Modules that will be built and installed
#
@@ -51,7 +63,6 @@ LL_RADLDAP = -lldap -llber
### Build tools
#
-# The C compiler named here must output full (header) dependencies in $(@).d.
# It may be necessary to create a script similar to ccd-gcc for your compiler.
#
CMPLR = ./build/ccd-gcc