[oe-commits] org.oe.dev libsdl-net: fix building with libtool2

woglinde2 commit oe at amethyst.openembedded.net
Thu Jul 24 13:54:16 UTC 2008


libsdl-net: fix building with libtool2

Author: woglinde2 at openembedded.org
Branch: org.openembedded.dev
Revision: c678660c5669b1cb022901d2b1119673d9404eb4
ViewMTN: http://monotone.openembedded.org/revision/info/c678660c5669b1cb022901d2b1119673d9404eb4
Files:
1
packages/libsdl/libsdl-net-1.2.7
packages/libsdl/libsdl-net-1.2.7/libtool2.patch
packages/libsdl/libsdl-net_1.2.7.bb
Diffs:

#
# mt diff -r3cc0283afc67abb1d757286eef70aa7bc71637b6 -rc678660c5669b1cb022901d2b1119673d9404eb4
#
#
#
# add_dir "packages/libsdl/libsdl-net-1.2.7"
# 
# add_file "packages/libsdl/libsdl-net-1.2.7/libtool2.patch"
#  content [7f670962471074322af84e6361c3955b49a102f3]
# 
# patch "packages/libsdl/libsdl-net_1.2.7.bb"
#  from [3ef6b382d1473344c9d55d2ebbd844d176758bd6]
#    to [3fdc54c4a3e7db07f2c72d7d3d7f4348320a6357]
#
============================================================
--- packages/libsdl/libsdl-net-1.2.7/libtool2.patch	7f670962471074322af84e6361c3955b49a102f3
+++ packages/libsdl/libsdl-net-1.2.7/libtool2.patch	7f670962471074322af84e6361c3955b49a102f3
@@ -0,0 +1,13 @@
+Index: SDL_net-1.2.7/configure.in
+===================================================================
+--- SDL_net-1.2.7.orig/configure.in	2007-07-20 14:40:02.000000000 +0200
++++ SDL_net-1.2.7/configure.in	2008-07-24 00:41:04.282718579 +0200
+@@ -42,6 +42,8 @@
+ dnl Setup for automake
+ AM_INIT_AUTOMAKE(SDL_net, $VERSION)
+ 
++dnl got macros
++AC_CONFIG_MACRO_DIR([acinclude])
+ dnl Check for tools
+ 
+ AC_LIBTOOL_WIN32_DLL
============================================================
--- packages/libsdl/libsdl-net_1.2.7.bb	3ef6b382d1473344c9d55d2ebbd844d176758bd6
+++ packages/libsdl/libsdl-net_1.2.7.bb	3fdc54c4a3e7db07f2c72d7d3d7f4348320a6357
@@ -3,16 +3,19 @@ LICENSE = "LGPL"
 PRIORITY = "optional"
 DEPENDS = "virtual/libsdl"
 LICENSE = "LGPL"
+PR = "r1"
 
-SRC_URI = "http://www.libsdl.org/projects/SDL_net/release/SDL_net-${PV}.tar.gz"
+SRC_URI = "http://www.libsdl.org/projects/SDL_net/release/SDL_net-${PV}.tar.gz \
+	   file://libtool2.patch;patch=1 \
+	  "
+
 S = "${WORKDIR}/SDL_net-${PV}"
 
 inherit autotools
+
 EXTRA_OECONF += "SDL_CONFIG=${STAGING_BINDIR_CROSS}/sdl-config"
 
 do_stage() {
-	oe_libinstall -so libSDL_net ${STAGING_LIBDIR}
-	ln -sf libSDL_net.so ${STAGING_LIBDIR}/libSDL_net-1.2.so
-	install -m 0644 SDL_net.h ${STAGING_INCDIR}/SDL/SDL_net.h
+	autotools_stage_all
 }
 






More information about the Openembedded-commits mailing list