summaryrefslogtreecommitdiff
path: root/net/gnu-radius/scripts/configure
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-07-17 14:26:59 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-07-17 14:26:59 +0000
commitb501cd1817d95290704cf79da857ee835fa54fab (patch)
tree5b0deef1f42b598f0380866b21ab1b8efea618a6 /net/gnu-radius/scripts/configure
parent(forced commit) (diff)
update to GNU Radius 1.0
PR: 53668 Submitted by: Andrey Pavlenko <lance@merlin.net.ua>
Notes
Notes: svn path=/head/; revision=85056
Diffstat (limited to 'net/gnu-radius/scripts/configure')
-rw-r--r--net/gnu-radius/scripts/configure15
1 files changed, 9 insertions, 6 deletions
diff --git a/net/gnu-radius/scripts/configure b/net/gnu-radius/scripts/configure
index 80526d02ebb5..b981006c651f 100644
--- a/net/gnu-radius/scripts/configure
+++ b/net/gnu-radius/scripts/configure
@@ -18,14 +18,14 @@ MySQL "Enable MySQL support" ON \
PostgreSQL "Enable PostgreSQL support" OFF \
SNMP "Enable SNMP support" ON \
Notify "Enable TTL notification" OFF \
-2> /tmp/checklist.tmp.$$
+2> $tempfile
retval=$?
- if [ -s /tmp/checklist.tmp.$$ ]; then
- set `cat /tmp/checklist.tmp.$$`
+ if [ -s $tempfile ]; then
+ set `cat $tempfile`
fi
- rm -f /tmp/checklist.tmp.$$
+ rm -f $tempfile
case $retval in
0) if [ -z "$*" ]; then
@@ -59,7 +59,7 @@ while [ "$1" ]; do
;;
\"PostgreSQL\")
echo "POSTGRESQL_PORT?= databases/postgresql7"
- echo "LIB_DEPENDS+= pq.3:\${PORTSDIR}/${POSTGRESQL_PORT}:install"
+ echo "LIB_DEPENDS+= pq.3:\${PORTSDIR}/\${POSTGRESQL_PORT}:install"
echo "CONFIGURE_ARGS+= --with-postgres"
INCLUDE_PATH="$INCLUDE_PATH:${LOCALBASE}/include/pgsql/"
;;
@@ -83,8 +83,11 @@ echo "CONFIGURE_ARGS+= --with-lib-path=\"$LIB_PATH\""
if [ -z $GUILE ]; then
echo "CONFIGURE_ARGS+= --without-guile"
-echo ${PLIST}
+ echo "GUILE= \"@comment \""
else
echo "BUILD_DEPENDS+= guile:${PORTSDIR}/lang/guile"
+ echo "GUILE= \"\""
unset GUILE
fi
+
+echo "PLIST_SUB+= GUILE=\${GUILE}"