mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/allegro: Patched for make-3.82.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
4948167f92
commit
7578ff3bcf
3 changed files with 54 additions and 1 deletions
|
@ -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} \
|
||||
|
|
50
libraries/allegro/allegro_make382.patch
Normal file
50
libraries/allegro/allegro_make382.patch
Normal 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
|
||||
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue