summaryrefslogtreecommitdiff
path: root/package/games
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-02-14 14:20:45 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-02-19 00:35:24 +0100
commit3df93063da925eb9787be0a98ce88d079173f762 (patch)
tree05a664d026d173c2ccd2d56290226fedbe3c7614 /package/games
parentac8329cff0a969bec23be7871bfaf394e369be7c (diff)
Add libxpm as a dependency of ace_of_penguins
ace_of_penguins fails to build when xlib_libXpm is not selected. Add it has a dependency. However, contrary to normal dependencies to libraries (where we use 'select') we use 'depends on' here, otherwise the X.org server will be get selected automatically without the user noticing. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/games')
-rw-r--r--package/games/ace_of_penguins/Config.in1
-rw-r--r--package/games/ace_of_penguins/ace_of_penguins.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/package/games/ace_of_penguins/Config.in b/package/games/ace_of_penguins/Config.in
index edbaf26ce..1d5a36774 100644
--- a/package/games/ace_of_penguins/Config.in
+++ b/package/games/ace_of_penguins/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_ACE_OF_PENGUINS
bool "ace_of_penguins"
select BR2_PACKAGE_LIBPNG
depends on BR2_PACKAGE_XORG7
+ depends on BR2_PACKAGE_XLIB_LIBXPM
help
The Ace of Penguins is a set of Unix/X solitaire games based
on the ones available for Windows but with a number of
diff --git a/package/games/ace_of_penguins/ace_of_penguins.mk b/package/games/ace_of_penguins/ace_of_penguins.mk
index 65a2667af..fe3e20481 100644
--- a/package/games/ace_of_penguins/ace_of_penguins.mk
+++ b/package/games/ace_of_penguins/ace_of_penguins.mk
@@ -10,6 +10,6 @@ ACE_OF_PENGUINS_AUTORECONF = YES
ACE_OF_PENGUINS_STAGING = NO
ACE_OF_PENGUINS_TARGET = YES
-ACE_OF_PENGUINS_DEPENDENCIES = libpng xserver_xorg-server
+ACE_OF_PENGUINS_DEPENDENCIES = libpng xserver_xorg-server xlib_libXpm
$(eval $(call AUTOTARGETS,package/games,ace_of_penguins))