aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/sams/Makefile1
-rw-r--r--www/sams/files/patch-configure8
2 files changed, 5 insertions, 4 deletions
diff --git a/www/sams/Makefile b/www/sams/Makefile
index 6de8ed8c6e6f..2b97e59ca236 100644
--- a/www/sams/Makefile
+++ b/www/sams/Makefile
@@ -7,6 +7,7 @@
PORTNAME= sams
DISTVERSION= 20070524
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://sams.irc.perm.ru/downloads/ \
http://www.dindin.ru/download/
diff --git a/www/sams/files/patch-configure b/www/sams/files/patch-configure
index e2908b3c7dc9..cb6f5fef9141 100644
--- a/www/sams/files/patch-configure
+++ b/www/sams/files/patch-configure
@@ -5,10 +5,10 @@
echo "#define WEBINTERFACEPATH \"$prefix/share/sams\" " >> config.h
+CASHE_DIR=./tmp
-+CASHE=${CASHE_DIR}/config.cashe
-+[ -d ./tmp ] || mkdir ${CASHE_DIR}
-+[ -f ./tmp/config.cashe ] && truncate ${CASHE}
-+exec 7>> ${CASHE}
++CASHE=${CACHE_DIR}/config.cashe
++[ -d ./tmp ] || mkdir ${CACHE_DIR}
++[ -f ./tmp/config.cashe ] && truncate -s0 ${CACHE}
++exec 7>> ${CACHE}
+
echo "$as_me:$LINENO: result: " >&5
echo "${ECHO_T}" >&6