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

Context Navigation

  • Back to Ticket #464

Ticket #464: freedroidrpg-0.14.1.patch

File freedroidrpg-0.14.1.patch, 1.4 KB (added by michaelvoliveira, 5 years ago)

Patch to drop lm and lopengl32

  • freedroidrpg-0.14.

    diff -Naur freedroidrpg-0.14.1/configure freedroidrpg-0.14.1-haiku/configure
    old new  
    44044404fi 
    44054405 
    44064406# Checks for libraries. 
    4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 
    4408 $as_echo_n "checking for sin in -lm... " >&6; } 
     4407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lroot" >&5 
     4408$as_echo_n "checking for sin in -lroot... " >&6; } 
    44094409if test "${ac_cv_lib_m_sin+set}" = set; then : 
    44104410  $as_echo_n "(cached) " >&6 
    44114411else 
    44124412  ac_check_lib_save_LIBS=$LIBS 
    4413 LIBS="-lm  $LIBS" 
     4413LIBS="$LIBS" 
    44144414cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
    44154415/* end confdefs.h.  */ 
    44164416 
    … …  
    44454445#define HAVE_LIBM 1 
    44464446_ACEOF 
    44474447 
    4448   LIBS="-lm $LIBS" 
     4448  LIBS="$LIBS" 
    44494449 
    44504450else 
    44514451  as_fn_error "libm not found!! 
    … …  
    63736373$as_echo "$ax_cv_c_compiler_ms" >&6; } 
    63746374  if test X$ax_compiler_ms = Xno; then 
    63756375    GL_CFLAGS="${PTHREAD_CFLAGS}" 
    6376     GL_LIBS="${PTHREAD_LIBS} -lm" 
     6376    GL_LIBS="${PTHREAD_LIBS}" 
    63776377  fi 
    63786378 
    63796379  # 
    … …  
    64126412  CPPFLAGS="${GL_CFLAGS} ${CPPFLAGS}" 
    64136413  ax_save_LIBS="${LIBS}" 
    64146414  LIBS="" 
    6415   ax_check_libs="-lopengl32 -lGL" 
     6415  ax_check_libs="-lGL" 
    64166416  for ax_lib in ${ax_check_libs}; do 
    64176417    if test X$ax_compiler_ms = Xyes; then 
    64186418      ax_try_lib=`echo $ax_lib | sed -e 's/^-l//' -e 's/$/.lib/'` 

Download in other formats:

  • Original Format

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

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