Mailinglist Archive: opensuse-commit (1070 mails)

< Previous Next >
commit mined
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Wed, 19 Sep 2007 18:47:33 +0200
  • Message-id: <20070919164733.986F06781B8@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package mined
checked in at Wed Sep 19 18:47:33 CEST 2007.

--------
--- mined/mined.changes 2007-07-19 12:49:30.000000000 +0200
+++ /mounts/work_src_done/STABLE/mined/mined.changes    2007-09-19 00:25:08.918183000 +0200
@@ -1,0 +2,5 @@
+Wed Sep 19 00:24:55 CEST 2007 - ro@xxxxxxx
+
+- fix build on lib64 platforms 
+
+-------------------------------------------------------------------

New:
----
  mined-lib64.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mined.spec ++++++
--- /var/tmp/diff_new_pack.Gg8702/_old  2007-09-19 18:47:16.000000000 +0200
+++ /var/tmp/diff_new_pack.Gg8702/_new  2007-09-19 18:47:16.000000000 +0200
@@ -14,13 +14,14 @@
 BuildRequires:  update-desktop-files
 License:        GPL v2 or later
 Group:          Productivity/Editors/Other
-Autoreqprov:    on
+AutoReqProv:    on
 Version:        2000.14
-Release:        1
-URL:            http://towo.net/mined/
+Release:        16
+Url:            http://towo.net/mined/
 Source0:        http://towo.net/mined/mined-2000.14.tar.bz2
 Patch1:         mined.desktop.patch
 Patch2:         build.patch
+Patch3:         mined-lib64.patch
 Patch10:        mined2000-termio.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Summary:        Powerful Text Editor with Extensive Unicode and CJK Support
@@ -145,9 +146,10 @@
 %setup0 -q -n mined-2000.14
 %patch1 -p1
 %patch2 -p1
+%patch3
 
 %build
-make OPT="$RPM_OPT_FLAGS -fno-strict-aliasing" -C src -f makefile.linux LIBDIR=%{_libdir}
+make OPT="$RPM_OPT_FLAGS -fno-strict-aliasing" -C src -f makefile.linux LIBDIR=%{_libdir} RLIBDIR=/%{_lib}
 
 %install
 [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
@@ -173,6 +175,8 @@
 /usr/share/applications/%name.desktop
 
 %changelog
+* Wed Sep 19 2007 - ro@xxxxxxx
+- fix build on lib64 platforms
 * Thu Jul 19 2007 - mfabian@xxxxxxx
 - update to mined 2000.14.
   Major enhancements in this release:

++++++ mined-lib64.patch ++++++
--- src/makefile.linux
+++ src/makefile.linux
@@ -41,6 +41,7 @@
 # system environment adaption
 
 # select library directory
+RLIBDIR        = /lib${LIB}
 LIBDIR = /usr/lib${LIB}
 # prefer linking with self-installed ncurses library
 ncursesdevel = $(shell echo ${LDFLAGS} | sed -e "s,-L\([^ ]*\),ls \1/libncurses.a; ,g" -e "s,-[^ ]*,,g" )
@@ -50,12 +51,12 @@
 # this may yield a more portable program in a heterogeneous network
 liblist        = \
        $(ncursesdevel) \
-       ls /lib/libncurses.a    $(LIBDIR)/libncurses.a; \
-       ls /lib/libtermcap.a    $(LIBDIR)/libtermcap.a; \
+       ls $(RLIBDIR)/libncurses.a      $(LIBDIR)/libncurses.a; \
+       ls $(RLIBDIR)/libtermcap.a      $(LIBDIR)/libtermcap.a; \
        ls                      $(LIBDIR)/termcap/libtermcap.a; \
-       ls /lib/libncursesw.so* $(LIBDIR)/libncursesw.so*; \
-       ls /lib/libncurses.so*  $(LIBDIR)/libncurses.so*; \
-       ls /lib/libtermcap.so*  $(LIBDIR)/libtermcap.so*; \
+       ls $(RLIBDIR)/libncursesw.so*   $(LIBDIR)/libncursesw.so*; \
+       ls $(RLIBDIR)/libncurses.so*    $(LIBDIR)/libncurses.so*; \
+       ls $(RLIBDIR)/libtermcap.so*    $(LIBDIR)/libtermcap.so*; \
        ls                      $(LIBDIR)/termcap/libtermcap.so*; \
 
 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages