OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 05-Jul-2007 15:00:11
Branch: HEAD Handle: 2007070514000802
Added files:
openpkg-src/swig swig.patch
Modified files:
openpkg-src/swig swig.spec
Log:
cruel hack to workaround Bourne-Shell parsing problems
Summary:
Revision Changes Path
1.5 +12 -0 openpkg-src/swig/swig.patch
1.55 +2 -0 openpkg-src/swig/swig.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/swig/swig.patch
============================================================================
$ cvs diff -u -r0 -r1.5 swig.patch
--- /dev/null 2007-07-05 15:00:06 +0200
+++ swig.patch 2007-07-05 15:00:11 +0200
@@ -0,0 +1,12 @@
+Index: configure
+--- configure.orig 2006-11-20 23:31:44 +0100
++++ configure 2007-07-05 14:56:39 +0200
+@@ -7405,7 +7405,7 @@
+ if test -n "$MZSCHEME"; then
+ echo "$as_me:$LINENO: checking for MzScheme dynext object" >&5
+ echo $ECHO_N "checking for MzScheme dynext object... $ECHO_C" >&6
+-MZDYNOBJ=`$MZSCHEME --mute-banner --version --eval '(begin (require (lib
"link.ss" "dynext")) (with-handlers (((lambda args #t) (lambda args #f)))
(for-each (lambda (x) (display x) (display " "))
((current-make-standard-link-libraries)))) (with-handlers (((lambda args #t)
(lambda args #f))) (for-each (lambda (x) (display x) (display " "))
(expand-for-link-variant (current-standard-link-libraries)))))'`
++MZDYNOBJ=""
+ echo "$as_me:$LINENO: result: $MZDYNOBJ" >&5
+ echo "${ECHO_T}$MZDYNOBJ" >&6
+ fi
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/swig/swig.spec
============================================================================
$ cvs diff -u -r1.54 -r1.55 swig.spec
--- openpkg-src/swig/swig.spec 5 Jul 2007 10:50:02 -0000 1.54
+++ openpkg-src/swig/swig.spec 5 Jul 2007 13:00:10 -0000 1.55
@@ -37,6 +37,7 @@
# list of sources
Source0:
http://switch.dl.sourceforge.net/sourceforge/swig/swig-%{version}.tar.gz
+Patch0: swig.patch
# build information
Prefix: %{l_prefix}
@@ -63,6 +64,7 @@
%prep
%setup -q
+ %patch -p0
%build
CC="%{l_cc}" \
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]