libraries/allegro: Patched for make-3.82.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Niels Horn 2011-04-03 20:57:02 -03:00
parent 4948167f92
commit 7578ff3bcf
3 changed files with 54 additions and 1 deletions

View file

@ -56,6 +56,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
# Patch makefile.in for make-3.82
patch -p1 < $CWD/allegro_make382.patch
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \

View file

@ -0,0 +1,50 @@
--- allegro-4.2.2/makefile.in 2007-07-22 02:55:54.000000000 -0300
+++ allegro-4.2.2_patched/makefile.in 2011-04-03 20:38:48.000000000 -0300
@@ -398,37 +398,32 @@
# -------- rules for deleting the generated files --------
-clean:
-
define RM_OBJ_CLEAN_FILES
- $(foreach file, $(OBJ_CLEAN_FILES), rm -f $(file)
- )
+ $(foreach file, $(OBJ_CLEAN_FILES), rm -f $(file))
endef
define RM_OTHER_CLEAN_FILES
- $(foreach file, $(OTHER_CLEAN_FILES), rm -f $(file)
- )
+ $(foreach file, $(OTHER_CLEAN_FILES), rm -f $(file))
endef
- $(RM_OBJ_CLEAN_FILES)
- $(RM_OTHER_CLEAN_FILES)
-
-distclean: clean
-
define RM_DISTCLEAN_FILES
$(foreach file, $(DISTCLEAN_FILES) $(ALLEGRO_LIB_X_EXES), rm -f $(file)
)
endef
- $(RM_DISTCLEAN_FILES)
-
-veryclean: distclean
-
define RM_VERYCLEAN_FILES
$(foreach file, $(VERYCLEAN_FILES), rm -f $(file)
)
endef
+clean:
+ $(RM_OBJ_CLEAN_FILES)
+ $(RM_OTHER_CLEAN_FILES)
+
+distclean: clean
+ $(RM_DISTCLEAN_FILES)
+
+veryclean: distclean
$(RM_VERYCLEAN_FILES)
rm -f makefile

View file

@ -7,7 +7,7 @@
|-----handy-ruler------------------------------------------------------|
allegro: Allegro (The Allegro Gaming Library)
allegro:
allegro:
allegro: The Allegro library provides C/C++ programmers low level routines
allegro: commonly needed in game programing, such as input, graphics, midi,
allegro: sound effects, and timing.