[Lunar-commits] <moonbase> SDL_net: Fixing the BUILD.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Wed Feb 15 03:23:09 CET 2012


commit e8098e6196a0eeebe451e2340b2d1c21d53256e5
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Tue Feb 14 21:23:09 2012 -0500

    SDL_net: Fixing the BUILD.
---
 net/SDL_net/BUILD |   15 +++------------
 1 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/net/SDL_net/BUILD b/net/SDL_net/BUILD
index a8d6b9d..3725f83 100644
--- a/net/SDL_net/BUILD
+++ b/net/SDL_net/BUILD
@@ -1,18 +1,9 @@
 (
 
   OPTS+=" --disable-static" &&
+  sed -i "29i #include <cstring>" chat.cpp &&
+  sed -i  "21i /*" chat.cpp &&
 
-   GUI_TEST=$(echo "$OPTS" | grep "\--enable-gui")
-   if [ -n "$GUI_TEST" ]; then
-     cat $SOURCE_CACHE/$SOURCE2 | patch >/dev/null && echo "sucessful patch!!"
-     SED=sed
-     libtoolize --force
-     aclocal
-     automake -i --foreign
-     autoconf
-   fi
-  default_config &&
-  sedit 's/SHELL=\"\/bin\/sh\"/SHELL=\"\/bin\/sh\"\nSED=\"\/bin\/sed\"/' $SOURCE_DIRECTORY/libtool &&
-  default_make
+  default_build
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list