diff options
Diffstat (limited to 'games/bsnes/bsnes-0.076-toolkit.patch')
-rw-r--r-- | games/bsnes/bsnes-0.076-toolkit.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/games/bsnes/bsnes-0.076-toolkit.patch b/games/bsnes/bsnes-0.076-toolkit.patch new file mode 100644 index 0000000000..079a864dd0 --- /dev/null +++ b/games/bsnes/bsnes-0.076-toolkit.patch @@ -0,0 +1,23 @@ +diff --git a/bsnes/ui/Makefile b/bsnes/ui/Makefile +index d5f72eb..604a0f7 100755 +--- a/bsnes/ui/Makefile ++++ b/bsnes/ui/Makefile +@@ -7,11 +7,13 @@ ui_objects += $(if $(call streq,$(platform),win),resource) + + # platform + ifeq ($(platform),x) +-# phoenix_compile = $(call compile,-DPHOENIX_GTK `pkg-config --cflags gtk+-2.0`) +-# link += `pkg-config --libs gtk+-2.0` +- +- phoenix_compile = $(call compile,-DPHOENIX_QT `pkg-config --cflags QtCore QtGui`) +- link += `pkg-config --libs QtCore QtGui` ++ ifeq ($(toolkit),gtk) ++ phoenix_compile = $(call compile,-DPHOENIX_GTK `pkg-config --cflags gtk+-2.0`) ++ link += `pkg-config --libs gtk+-2.0` ++ else ifeq ($(toolkit),qt) ++ phoenix_compile = $(call compile,-DPHOENIX_QT `pkg-config --cflags QtCore QtGui`) ++ link += `pkg-config --libs QtCore QtGui` ++ endif + + ruby := video.glx video.xv video.sdl + ruby += audio.alsa audio.openal audio.oss audio.pulseaudio audio.pulseaudiosimple audio.ao |