Browse Source

Daniel Jahre:


			
			
				rocklinux
			
			
		
Daniel Jahre 20 years ago
parent
commit
e5506cb3af
2 changed files with 125 additions and 0 deletions
  1. +119
    -0
      package/kasc/pingus/fix-ld-library-path-detection-in-configure.patch
  2. +6
    -0
      package/kasc/pingus/pingus.conf

+ 119
- 0
package/kasc/pingus/fix-ld-library-path-detection-in-configure.patch

@ -0,0 +1,119 @@
--- ./configure.vanilla 2005-03-02 18:18:51.723372440 +0100
+++ ./configure 2005-03-02 18:47:02.916272040 +0100
@@ -4635,7 +4635,7 @@
if test "${ac_cv_lib_cposix_strerror+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- ac_check_lib_save_LIBS=$LIBS
+ ac_check_lib_save_LIBS="$LIBS -L$LD_LIBRARY_PATH"
LIBS="-lcposix $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
@@ -8179,7 +8179,7 @@
if test "${ac_cv_lib_pthread_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- ac_check_lib_save_LIBS=$LIBS
+ ac_check_lib_save_LIBS="$LIBS -L$LD_LIBRARY_PATH"
LIBS="-lpthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
@@ -8342,7 +8342,7 @@
if test "${ac_cv_lib_Hermes_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- ac_check_lib_save_LIBS=$LIBS
+ ac_check_lib_save_LIBS="$LIBS -L$LD_LIBRARY_PATH"
LIBS="-lHermes $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
@@ -8401,7 +8401,7 @@
if test "${ac_cv_lib_clanCore_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- ac_check_lib_save_LIBS=$LIBS
+ ac_check_lib_save_LIBS="$LIBS -L$LD_LIBRARY_PATH"
LIBS="-lclanCore $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
@@ -8467,7 +8467,7 @@
if test "${ac_cv_lib_clanApp_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- ac_check_lib_save_LIBS=$LIBS
+ ac_check_lib_save_LIBS="$LIBS -L$LD_LIBRARY_PATH"
LIBS="-lclanApp $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
@@ -8525,7 +8525,7 @@
if test "${ac_cv_lib_clanDisplay_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- ac_check_lib_save_LIBS=$LIBS
+ ac_check_lib_save_LIBS="$LIBS -L$LD_LIBRARY_PATH"
LIBS="-lclanDisplay $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
@@ -8583,7 +8583,7 @@
if test "${ac_cv_lib_clanSound_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- ac_check_lib_save_LIBS=$LIBS
+ ac_check_lib_save_LIBS="$LIBS -L$LD_LIBRARY_PATH"
LIBS="-lclanSound $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
@@ -8642,7 +8642,7 @@
if test "${ac_cv_lib_clanMikMod_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- ac_check_lib_save_LIBS=$LIBS
+ ac_check_lib_save_LIBS="$LIBS -L$LD_LIBRARY_PATH"
LIBS="-lclanMikMod $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
@@ -8700,7 +8700,7 @@
if test "${ac_cv_lib_clanVorbis_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- ac_check_lib_save_LIBS=$LIBS
+ ac_check_lib_save_LIBS="$LIBS -L$LD_LIBRARY_PATH"
LIBS="-lclanVorbis $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
@@ -8761,7 +8761,7 @@
if test "${ac_cv_lib_clanGL_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- ac_check_lib_save_LIBS=$LIBS
+ ac_check_lib_save_LIBS="$LIBS -L$LD_LIBRARY_PATH"
LIBS="-lclanGL $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
@@ -8872,7 +8872,7 @@
if test "${ac_cv_lib_clanJPEG_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- ac_check_lib_save_LIBS=$LIBS
+ ac_check_lib_save_LIBS="$LIBS -L$LD_LIBRARY_PATH"
LIBS="-lclanJPEG $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
@@ -8940,7 +8940,7 @@
if test "${ac_cv_lib_clanPNG_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- ac_check_lib_save_LIBS=$LIBS
+ ac_check_lib_save_LIBS="$LIBS -L$LD_LIBRARY_PATH"
LIBS="-lclanPNG $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
@@ -9008,7 +9008,7 @@
if test "${ac_cv_lib_clanGUI_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- ac_check_lib_save_LIBS=$LIBS
+ ac_check_lib_save_LIBS="$LIBS -L$LD_LIBRARY_PATH"
LIBS="-lclanGUI $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"

+ 6
- 0
package/kasc/pingus/pingus.conf

@ -23,6 +23,9 @@
bindir=$root/$ROCKCFG_PKG_GAMES_BINDIR bindir=$root/$ROCKCFG_PKG_GAMES_BINDIR
datadir=$root/$ROCKCFG_PKG_GAMES_DATADIR datadir=$root/$ROCKCFG_PKG_GAMES_DATADIR
export LD_LIBRARY_PATH="$root/opt/clanlib06/lib"
[ "$ROCKCFG_DISABLE_NLS" == "1" ] && \ [ "$ROCKCFG_DISABLE_NLS" == "1" ] && \
var_append extraconfopt " " "--disable-nls" var_append extraconfopt " " "--disable-nls"
[ "$ROCKCFG_PKG_PINGUS_NOGETTEXT" == "1" ] && \ [ "$ROCKCFG_PKG_PINGUS_NOGETTEXT" == "1" ] && \
@ -30,5 +33,8 @@ datadir=$root/$ROCKCFG_PKG_GAMES_DATADIR
[ "$ROCKCFG_PKG_PINGUS_OPENGL" == "1" ] && \ [ "$ROCKCFG_PKG_PINGUS_OPENGL" == "1" ] && \
var_append extraconfopt " " "--with-clanGL" var_append extraconfopt " " "--with-clanGL"
var_append confopt " " "--with-extra-includes=$root/opt/clanlib06/include"
var_append confopt " " "--with-extra-libs=$root/opt/clanlib06/lib"
# --disable-rpath do not hardcode runtime library paths # --disable-rpath do not hardcode runtime library paths

Loading…
Cancel
Save