Bug 114961 - [MAINTAINER] www/sams fix configure breakage
Summary: [MAINTAINER] www/sams fix configure breakage
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-27 10:40 UTC by Denis Barov
Modified: 2007-07-27 12:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Barov 2007-07-27 10:40:01 UTC
	[MAINTAINER]  www/sams fix configure breakage  (bad patch  www/sams/files/patch-configure)

Fix: 

echo "#define WEBINTERFACEPATH \"$prefix/share/sams\" " >> config.h

-+CASHE_DIR=./tmp
-+CASHE=${CACHE_DIR}/config.cashe
++CACHE_DIR=./tmp
++CACHE=${CACHE_DIR}/config.cache
 +[ -d ./tmp ] || mkdir ${CACHE_DIR}
 +[ -f ./tmp/config.cashe ] && truncate -s0 ${CACHE}
 +exec 7>> ${CACHE}--VmzvIJn8zlR8toUD8LX0FkMhNqK9E1g0LoeTMzEd2zCjJNMs
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

diff -urN sams/files/patch-configure sams-fixed/files/patch-configure
--- sams/files/patch-configure  Tue Jul 24 12:49:24 2007
+++ sams-fixed/files/patch-configure    Fri Jul 27 13:15:46 2007
@@ -4,8 +4,8 @@
Comment 1 dfilter service freebsd_committer freebsd_triage 2007-07-27 10:56:37 UTC
rafan       2007-07-27 09:56:32 UTC

  FreeBSD ports repository

  Modified files:
    www/sams/files       patch-configure 
  Log:
  - Fix configure breakage
  
  PR:             ports/114961
  Submitted by:   Denis Barov <dindin at dindin.ru> (maintainer)
  
  Revision  Changes    Path
  1.4       +2 -2      ports/www/sams/files/patch-configure
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 2 Rong-En Fan freebsd_committer freebsd_triage 2007-07-27 10:56:41 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 Denis Barov 2007-07-27 11:02:00 UTC
I'm very inattentive today.

This is correct patch.

diff -urN ../sams/files/patch-configure ./files/patch-configure
--- ../sams/files/patch-configure	Tue Jul 24 12:49:24 2007
+++ ./files/patch-configure	Fri Jul 27 13:58:35 2007
@@ -4,10 +4,10 @@
  
  echo "#define WEBINTERFACEPATH \"$prefix/share/sams\" " >> config.h
  
-+CASHE_DIR=./tmp
-+CASHE=${CACHE_DIR}/config.cashe
++CACHE_DIR=./tmp
++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 -urN ../sams/files/setup.sh ./files/setup.sh
--- ../sams/files/setup.sh	Fri Dec 29 23:18:35 2006
+++ ./files/setup.sh	Fri Jul 27 13:56:17 2007
@@ -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
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-07-27 12:39:20 UTC
rafan       2007-07-27 11:39:16 UTC

  FreeBSD ports repository

  Modified files:
    www/sams             Makefile 
    www/sams/files       patch-configure setup.sh 
  Log:
  - Correctly fix configure script and setup.sh breakage
  
  PR:             ports/114961
  Submitted by:   Denis Barov <dindin at dindin.ru> (maintainer)
  
  Revision  Changes    Path
  1.5       +1 -1      ports/www/sams/Makefile
  1.5       +2 -2      ports/www/sams/files/patch-configure
  1.2       +2 -2      ports/www/sams/files/setup.sh
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"