aboutsummaryrefslogtreecommitdiff
path: root/www/sams
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-07-24 08:49:24 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-07-24 08:49:24 +0000
commit561af406100a9877ba8d22570fb16ceeaecc9e7a (patch)
treea99b7b70b8804a4620704f82508585c48ea35e72 /www/sams
parent70e51d4e0ad51d8460617aaf90865d2fdacb5f28 (diff)
downloadports-561af406100a9877ba8d22570fb16ceeaecc9e7a.tar.gz
ports-561af406100a9877ba8d22570fb16ceeaecc9e7a.zip
Notes
Diffstat (limited to 'www/sams')
-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