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: 06-Mar-2005 10:04:49
Branch: HEAD Handle: 2005030609044900
Modified files:
openpkg-src/swig swig.spec
Log:
ok, fix the old SWIG 1.3.21 installation by building and installing
the runtime part (which is no longer existing in SWIG 1.3.22 and
higher)
Summary:
Revision Changes Path
1.36 +3 -4 openpkg-src/swig/swig.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/swig/swig.spec
============================================================================
$ cvs diff -u -r1.35 -r1.36 swig.spec
--- openpkg-src/swig/swig.spec 5 Mar 2005 20:02:29 -0000 1.35
+++ openpkg-src/swig/swig.spec 6 Mar 2005 09:04:49 -0000 1.36
@@ -38,7 +38,7 @@
Group: Development
License: BSD-style
Version: %{V_new}
-Release: 20050305
+Release: 20050306
# list of sources
Source0:
http://osdn.dl.sourceforge.net/sourceforge/swig/swig-%{V_new}.tar.gz
@@ -86,6 +86,7 @@
--without-x
echo "**** EXPECT VARIOUS BUILD FAILURES INSIDE SWIG EXAMPLES! IT IS
OK! ****"
%{l_make} %{l_mflags}
+ %{l_make} %{l_mflags} runtime
) || exit $?
( cd SWIG-%{V_new}
CC="%{l_cc}" \
@@ -103,10 +104,8 @@
%install
rm -rf $RPM_BUILD_ROOT
- %{l_shtool} mkdir -f -p -m 755 \
- $RPM_BUILD_ROOT%{l_prefix}/lib
( cd SWIG-%{V_old}
- %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
+ %{l_make} %{l_mflags} install install-runtime DESTDIR=$RPM_BUILD_ROOT
mv $RPM_BUILD_ROOT%{l_prefix}/bin/swig \
$RPM_BUILD_ROOT%{l_prefix}/bin/swig-old
) || exit $?
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]