Fixed bep and patch files for dumb to allow for building of the .so libs as well as the .a ones.

This commit is contained in:
Scott McCreary
2010-09-07 23:47:46 +00:00
parent 9cda145a19
commit 46688eac4c
2 changed files with 43 additions and 7 deletions

View File

@@ -57,3 +57,33 @@ diff -urN dumb-0.9.3/make/unix.inc dumb-0.9.3-haiku/make/unix.inc
LINK_ALLEGRO := `allegro-config --libs`
# PREFIX is set by config.sh.
diff -urN dumb-0.9.3/make/config.sh dumb-0.9.3-haiku/make/config.sh
--- dumb-0.9.3/make/config.sh 2005-08-08 00:18:40.012320768 +0000
+++ dumb-0.9.3-haiku/make/config.sh 2010-09-07 23:23:38.653787136 +0000
@@ -14,24 +14,14 @@
echo 'ALL_TARGETS := core core-examples core-headers' >> make/config.tmp
-if make/dumbask 'Would you like support for Allegro (Y/N)? ' YN; then
- echo 'ALL_TARGETS += allegro allegro-examples allegro-headers' >> make/config.tmp
-fi
+echo 'ALL_TARGETS += allegro allegro-examples allegro-headers' >> make/config.tmp
-
-if [ ! -z $DEFAULT_PREFIX ]; then
-echo "Please specify an installation prefix (default $DEFAULT_PREFIX)."
-echo -n '> '
-read PREFIX
+PREFIX := `/boot/common`
if [ -z $PREFIX ]; then PREFIX=$DEFAULT_PREFIX; fi
echo "PREFIX := `echo "$PREFIX" | \
sed -e 's/\${\([A-Za-z_][A-Za-z0-9_]*\)}/$(\1)/g' \
-e 's/\$\([A-Za-z_][A-Za-z0-9_]*\)/$(\1)/g'`" >> make/config.tmp
-fi
mv -f make/config.tmp make/config.txt
echo 'Configuration complete.'
-echo "Run 'make config' to change it in the future."
-echo -n 'Press Enter to continue ... '
-read dummy