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

Context Navigation

  • Back to Ticket #436

Ticket #436: wings-1.3.0.1.patch

File wings-1.3.0.1.patch, 1.2 KB (added by scottmc, 5 years ago)
  • wings-1.3.0.1/unix/make_installer

    diff --git a/unix/make_installer b/unix/make_installer
    index 4daa8ee..5168f0a 100755
     
    1 #!/usr/bin/env bash 
     1#!/bin/env bash 
    22# 
    33# Script for creating a self-contained Wings package for Unix systems. 
    44# 
    55 
    66# Configurable stuff. 
    7 INSTALL=/usr/bin/install 
     7INSTALL=/bin/install 
    88if [ -z "$ESDL_PATH" ]; then 
    99    echo "The environment variable ESDL_PATH must be set to " \ 
    1010         "the top of the ESDL installation." >&2 
    … … $INSTALL -c "$ESDL_PATH"/priv/sdl_driver.so "$dest/priv" 
    9191rm -rf "$dest/ebin/sdl_audio.beam" "$dest/ebin/sdl_joystick.beam" 
    9292strip --strip-debug --strip-unneeded "$dest/priv/sdl_driver.so" 
    9393 
    94 # Copy the SDL so. 
    95 sdl_lib=`ldd "$dest/priv/sdl_driver.so" | awk '$1 ~ /^libSDL/ { print $3}'` 
    96 sdl_lib_name=`basename $sdl_lib` 
    97 if [ ! -L $sdl_lib ]; then 
    98     echo `basename $0`: "$sdl_lib expected to be a symlink" 
    99     $INSTALL -c $sdl_lib "$dest/priv" 
    100 else 
    101     lib_dir=`dirname $sdl_lib` 
    102     linkname=`readlink $sdl_lib` 
    103     $INSTALL -c $lib_dir/$linkname "$dest/priv" 
    104     rm -f $dest/priv/$sdl_lib_name 
    105     (cd $dest/priv; ln -s $linkname $sdl_lib_name) 
    106 fi 
    107  
    10894# 
    10995# Remove files from OTP not needed. 
    11096# 

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/