aboutsummaryrefslogtreecommitdiffstats
path: root/www/sams
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-07-27 19:39:15 +0800
committerrafan <rafan@FreeBSD.org>2007-07-27 19:39:15 +0800
commit19d47db3c663d8a4cc8a68946176c023e4ecc1c6 (patch)
treedb4c98b66cb71f18930f4239465a9f429fdc7fe5 /www/sams
parent615b8ec9a545162fcfa6145266c269d3cf6d4ae5 (diff)
downloadfreebsd-ports-gnome-19d47db3c663d8a4cc8a68946176c023e4ecc1c6.tar.gz
freebsd-ports-gnome-19d47db3c663d8a4cc8a68946176c023e4ecc1c6.tar.zst
freebsd-ports-gnome-19d47db3c663d8a4cc8a68946176c023e4ecc1c6.zip
- Correctly fix configure script and setup.sh breakage
PR: ports/114961 Submitted by: Denis Barov <dindin at dindin.ru> (maintainer)
Diffstat (limited to 'www/sams')
-rw-r--r--www/sams/Makefile2
-rw-r--r--www/sams/files/patch-configure4
-rw-r--r--www/sams/files/setup.sh2
3 files changed, 4 insertions, 4 deletions
diff --git a/www/sams/Makefile b/www/sams/Makefile
index 2b97e59ca236..542620dc79e5 100644
--- a/www/sams/Makefile
+++ b/www/sams/Makefile
@@ -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/
diff --git a/www/sams/files/patch-configure b/www/sams/files/patch-configure
index 3c3cb74bb209..0efbaa7f9077 100644
--- a/www/sams/files/patch-configure
+++ b/www/sams/files/patch-configure
@@ -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
diff --git a/www/sams/files/setup.sh b/www/sams/files/setup.sh
index 7edfa1b3dd06..9498246eb7f8 100644
--- a/www/sams/files/setup.sh
+++ b/www/sams/files/setup.sh
@@ -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