HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Change
  • Wiki History
  • Next Change →

Changes between Version 8 and Version 9 of sys-devel/gettext/0.17/5


Ignore:
Timestamp:
09/14/09 08:00:07 (6 years ago)
Author:
adek336
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • sys-devel/gettext/0.17/5

    v8 v9  
    1 Patches referenced in these build instructions:[[br]] 
    2 [http://ports.haiku-files.org/raw-attachment/wiki/sys-devel/gettext/0.17/4/gettext-0.17-haiku.diff gettext-0.17-haiku.diff][[br]] 
     1wget http://ftp.gnu.org/pub/gnu/gettext/gettext-0.17.tar.gz  
    32 
    4 Checked to work on Haiku-hybrid. 
     3tar xf gettext-0.17.tar.gz 
    54 
    6 All the shared libraries reference symbol main. To prevent this, after doing configure and before doing make, each libtool script has to be amended, -nostartfiles must be added to the second (or if there is only one, the first) archive_cmds. 
     5cd gettext-0.17[[br]] 
     6cp /boot/common/share/libtool/config/config.* build-aux/[[br]] 
     7rm ./gettext-tools/gnulib-m4/openmp.m4[[br]] 
     8 
     9  
     10echo "AC_CONFIG_MACRO_DIR([m4])" >> configure.ac; libtoolize --force --copy[[br]] 
     11cd autoconf-lib-link; echo "AC_CONFIG_MACRO_DIR([m4])" >> configure.ac; libtoolize --force --copy; cd ..[[br]] 
     12cd gettext-runtime;   echo "AC_CONFIG_MACRO_DIR([m4])" >> configure.ac; libtoolize --force --copy; cd ..[[br]] 
     13cd gettext-tools;     echo "AC_CONFIG_MACRO_DIR([m4])" >> configure.ac; libtoolize --force --copy; cd ..[[br]] 
     14cd gettext-runtime/libasprintf; libtoolize --force --copy; cd ../..[[br]] 
     15 
     16   
     17export EXTRA_CONF="--disable-java"[[br]] 
     18export LDFLAGS="-lnetwork -liconv"[[br]] 
     19 
     20              
     21wget http://ports.haiku-files.org/raw-attachment/wiki/sys-devel/gettext/0.17/4/gettext-0.17-haiku.diff [[br]] 
     22patch -p1 <gettext-0.17-haiku.diff[[br]] 
     23            
     24 
     25./autogen.sh --quick --skip-gnulib[[br]] 
     26./configure --prefix=/boot/common LDFLAGS="-lnetwork -liconv"[[br]] 
     27make 
     28 
     29 
     30make install 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/