aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/allegro/allegro.SlackBuild3
-rw-r--r--libraries/allegro/allegro_make382.patch50
-rw-r--r--libraries/allegro/slack-desc2
3 files changed, 54 insertions, 1 deletions
diff --git a/libraries/allegro/allegro.SlackBuild b/libraries/allegro/allegro.SlackBuild
index 50638fbc13094..af24bfec4d978 100644
--- a/libraries/allegro/allegro.SlackBuild
+++ b/libraries/allegro/allegro.SlackBuild
@@ -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} \
diff --git a/libraries/allegro/allegro_make382.patch b/libraries/allegro/allegro_make382.patch
new file mode 100644
index 0000000000000..2eb20bcaff7b5
--- /dev/null
+++ b/libraries/allegro/allegro_make382.patch
@@ -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
+
diff --git a/libraries/allegro/slack-desc b/libraries/allegro/slack-desc
index 55f22f9928f94..37b5930175aa2 100644
--- a/libraries/allegro/slack-desc
+++ b/libraries/allegro/slack-desc
@@ -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.