1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

- Correctly fix configure script and setup.sh breakage

PR:		ports/114961
Submitted by:	Denis Barov <dindin at dindin.ru> (maintainer)
This commit is contained in:
Rong-En Fan 2007-07-27 11:39:15 +00:00
parent 77027e2a4c
commit 2c2183c15e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196383
3 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= sams
DISTVERSION= 20070524
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://sams.irc.perm.ru/downloads/ \
http://www.dindin.ru/download/

View File

@ -5,9 +5,9 @@
echo "#define WEBINTERFACEPATH \"$prefix/share/sams\" " >> config.h
+CACHE_DIR=./tmp
+CACHE=${CACHE_DIR}/config.cashe
+CACHE=${CACHE_DIR}/config.cache
+[ -d ./tmp ] || mkdir ${CACHE_DIR}
+[ -f ./tmp/config.cashe ] && truncate -s0 ${CACHE}
+[ -f ./tmp/config.cache ] && truncate -s0 ${CACHE}
+exec 7>> ${CACHE}
+
echo "$as_me:$LINENO: result: " >&5

View File

@ -3,7 +3,7 @@
#SAMS database setup script
TMP=./tmp
. ${TMP}/config.cashe
. ${TMP}/config.cache
CONFIGFILEPATH="${CONFIG_FILE}"
if [ ! -f ${CONFIG_FILE} -a -f ${CONFIG_FILE}.sample ]; then