Ignore:
Timestamp:
2013-04-29T15:19:14+12:00 (11 years ago)
Author:
davidb
Message:

Patching for 4store added to deal with ncurses and readline lib linking problem on CentOS

Location:
gs2-extensions/afrepo/trunk/src/packages/CASCADE-MAKE
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/afrepo/trunk/src/packages/CASCADE-MAKE/4STORE.sh

    r27269 r27271  
    1010prefix=$GEXT_AFREPO_INSTALLED
    1111
     12
    1213opt_run_untar $force_untar $auto_untar $package $version
     14
     15# Doing "-lreadline -lncurses" OK
     16# But the otherway around "-lncurses -lreadline" (on CentOS) leads to linking errors,
     17#   requiring '-ltermcap' to be explicitly listed
     18# => Only one Makefile.in has it the wrong way around => patch that one
     19
     20if [ "x$1" = "xtarclean" ] ; then
     21  /bin/rm -f .PATCH-DONE.$package
     22elif [ ! -f .PATCH-DONE.$package ] ; then
     23
     24  echo "*******"
     25  echo "* Applying $package patch"
     26  echo "*******"
     27
     28  cd "$package$version" && patch -p0 < ../patches/$package.patch && cd ..
     29
     30  if [ $? = 0 ] ; then
     31    echo "Patch applied" > .PATCH-DONE.$package
     32  fi
     33
     34fi
     35
     36
    1337opt_run_configure $force_config $auto_config $package $version $prefix \
    1438  RAPTOR_CFLAGS=-I$GEXT_AFREPO_INSTALLED/include/raptor2 RAPTOR_LIBS="$GEXT_AFREPO_INSTALLED/lib/libraptor2.so" \
    15   RASQAL_CFLAGS=-I$GEXT_AFREPO_INSTALLED/include/rasqal RASQAL_LIBS="$GEXT_AFREPO_INSTALLED/lib/librasqal.so"
     39  RASQAL_CFLAGS=-I$GEXT_AFREPO_INSTALLED/include/rasqal RASQAL_LIBS="$GEXT_AFREPO_INSTALLED/lib/librasqal.so"
     40
    1641
    1742opt_run_make $compile $package $version
    18 opt_run_make $install $package $version "install"
     43opt_run_make $install $package $version "install" DESTDIR=$prefix
    1944opt_run_make $clean $package $version "clean"
    2045opt_run_make $distclean $package $version "distclean"
  • gs2-extensions/afrepo/trunk/src/packages/CASCADE-MAKE/NCURSES.sh

    r27269 r27271  
    1111
    1212opt_run_untar $force_untar $auto_untar $package $version
    13 opt_run_configure $force_config $auto_config $package $version $prefix
     13opt_run_configure $force_config $auto_config $package $version $prefix 
    1414
    1515opt_run_make $compile $package $version
Note: See TracChangeset for help on using the changeset viewer.