diff options
Diffstat (limited to 'devel/allegro/files/patch-configure.in')
-rw-r--r-- | devel/allegro/files/patch-configure.in | 44 |
1 files changed, 11 insertions, 33 deletions
diff --git a/devel/allegro/files/patch-configure.in b/devel/allegro/files/patch-configure.in index 2d5542e78287..a3f5c3c6a025 100644 --- a/devel/allegro/files/patch-configure.in +++ b/devel/allegro/files/patch-configure.in @@ -1,8 +1,8 @@ ---- configure.in.orig Sun Nov 9 19:43:06 2003 -+++ configure.in Thu Dec 11 22:22:35 2003 -@@ -256,8 +256,8 @@ - LINK_WITH_STATIC_LIBS=yes +--- configure.in.orig Sun Jun 12 04:53:19 2005 ++++ configure.in Fri Aug 5 15:09:10 2005 +@@ -297,8 +297,8 @@ allegro_static_libraries=yes + _programs="statically linked $_programs" else - LIBALLEG="lib/unix/lib${LIB_TO_LINK}-\$(shared_version).so lib/unix/lib${LIB_TO_LINK}_unsharable.a" - LINK_LIBALLEG="-Llib/unix -l${LIB_TO_LINK}-\$(shared_version) -l${LIB_TO_LINK}_unsharable -lm" @@ -10,45 +10,23 @@ + LINK_LIBALLEG="-Llib/unix -l${LIB_TO_LINK} -l${LIB_TO_LINK}_unsharable -lm" LINK_WITH_STATIC_LIBS=no allegro_shared_libraries=yes - fi -@@ -286,13 +286,13 @@ - fi - if test "X$allegro_shared_libraries" = "Xyes"; then + _programs="dynamically linked $_programs" +@@ -337,15 +337,15 @@ + + _libraries="$_libraries shared" if test "X$allegro_build_normal_library" = "Xyes"; then - ALLEGRO_LIB_TARGETS="$ALLEGRO_LIB_TARGETS lib/unix/liballeg-\$(shared_version).so lib/unix/liballeg_unsharable.a" + ALLEGRO_LIB_TARGETS="$ALLEGRO_LIB_TARGETS lib/unix/liballeg.so.\$(shared_version) lib/unix/liballeg_unsharable.a" + _libraries="$_libraries release" fi if test "X$allegro_build_debugging_library" = "Xyes"; then - ALLEGRO_LIB_TARGETS="$ALLEGRO_LIB_TARGETS lib/unix/liballd-\$(shared_version).so lib/unix/liballd_unsharable.a" + ALLEGRO_LIB_TARGETS="$ALLEGRO_LIB_TARGETS lib/unix/liballd.so.\$(shared_version) lib/unix/liballd_unsharable.a" + _libraries="$_libraries debug" fi if test "X$allegro_build_profiling_library" = "Xyes"; then - ALLEGRO_LIB_TARGETS="$ALLEGRO_LIB_TARGETS lib/unix/liballp-\$(shared_version).so lib/unix/liballp_unsharable.a" + ALLEGRO_LIB_TARGETS="$ALLEGRO_LIB_TARGETS lib/unix/liballp.so.\$(shared_version) lib/unix/liballp_unsharable.a" + _libraries="$_libraries profile" fi fi - AC_SUBST(ALLEGRO_LIB_TARGETS) -@@ -647,11 +647,11 @@ - if test "X$allegro_debug_with_fortify" = "Xyes"; then - ALLEGRO_DEBUG_CFLAGS="$ALLEGRO_DEBUG_CFLAGS -DFORTIFY" - fi -- ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS" -+ ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $TARGET_ARCH -funroll-loops -ffast-math $WFLAGS" - if test "X$allegro_cv_support_fomit_frame_pointer" = "Xyes"; then -- CFLAGS="$CFLAGS $TARGET_ARCH -O2 -funroll-loops -ffast-math -fomit-frame-pointer $WFLAGS" -+ CFLAGS="$CFLAGS $TARGET_ARCH $CFLAGS -funroll-loops -ffast-math -fomit-frame-pointer $WFLAGS" - else -- CFLAGS="$CFLAGS $TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS" -+ CFLAGS="$CFLAGS $TARGET_ARCH $CFLAGS -funroll-loops -ffast-math $WFLAGS" - fi - ALLEGRO_SFLAGS="-x assembler-with-cpp" - ALLEGRO_SHAREDLIB_CFLAGS="-fPIC -DALLEGRO_SHARED" -@@ -740,7 +740,7 @@ - ${MAKE-make} depend - else - AC_MSG_WARN([Non-GNU make detected, trying gmake to build dependencies.]) -- gmake depend -+ ${MAKE-make} depend - fi - fi - |