diff options
author | miwi <miwi@FreeBSD.org> | 2007-07-24 16:49:24 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-07-24 16:49:24 +0800 |
commit | afd865c51e93cb0702088e85cb62834e5aef8401 (patch) | |
tree | 1af6bdfadd690915fe5b858183b505590c127c5d /www | |
parent | 7cb91ecd7b5c20e225bcb9c23131534e6e5095d4 (diff) | |
download | freebsd-ports-gnome-afd865c51e93cb0702088e85cb62834e5aef8401.tar.gz freebsd-ports-gnome-afd865c51e93cb0702088e85cb62834e5aef8401.tar.zst freebsd-ports-gnome-afd865c51e93cb0702088e85cb62834e5aef8401.zip |
- Little Fixes ( s/CASHE/CACHE)
PR: 114653
Submitted by: Denis Barov <dindin@dindin.ru> (maintainer)
Diffstat (limited to 'www')
-rw-r--r-- | www/sams/Makefile | 1 | ||||
-rw-r--r-- | www/sams/files/patch-configure | 8 |
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 |