summaryrefslogtreecommitdiff
path: root/games/retroarch/files/patch-qb_config.libs.sh
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2015-11-14 13:51:27 +0000
committerKurt Jaeger <pi@FreeBSD.org>2015-11-14 13:51:27 +0000
commit5c787d38b87f9680097554fb901998d3db93bae9 (patch)
treef4ef47a7efbede5caa93294e0fbf8d93e554bcde /games/retroarch/files/patch-qb_config.libs.sh
parent- Add LICENSE_FILE (diff)
New port: games/retroarch
RetroArch is the reference frontend for the libretro API. Popular examples of implementations for this API includes videogame system emulators and game engines, but also more generalized 3D programs. These programs are instantiated as dynamic libraries. We refer to these as "libretro cores". WWW: http://github.com/libretro/RetroArch PR: 204347 Submitted by: yuri@rawbw.com
Notes
Notes: svn path=/head/; revision=401567
Diffstat (limited to 'games/retroarch/files/patch-qb_config.libs.sh')
-rw-r--r--games/retroarch/files/patch-qb_config.libs.sh37
1 files changed, 37 insertions, 0 deletions
diff --git a/games/retroarch/files/patch-qb_config.libs.sh b/games/retroarch/files/patch-qb_config.libs.sh
new file mode 100644
index 000000000000..9a8dca53e2ee
--- /dev/null
+++ b/games/retroarch/files/patch-qb_config.libs.sh
@@ -0,0 +1,37 @@
+--- qb/config.libs.sh.orig 2015-07-19 09:50:27 UTC
++++ qb/config.libs.sh
+@@ -31,6 +31,9 @@ fi
+
+ add_define_make DYLIB_LIB "$DYLIB"
+
++add_include_dirs /usr/local/include
++add_library_dirs /usr/local/lib
++
+ [ "$OS" = 'Darwin' ] && HAVE_X11=no # X11 breaks on recent OSXes even if present.
+
+ [ -d /opt/vc/lib ] && add_library_dirs /opt/vc/lib
+@@ -125,11 +128,11 @@ fi
+ add_define_make libretro "$LIBRETRO"
+ }
+
+-if [ "$MAN_DIR" ]; then
++#if [ "$MAN_DIR" ]; then
+ add_define_make MAN_DIR "$MAN_DIR"
+-else
+- add_define_make MAN_DIR "${PREFIX}/share/man/man1"
+-fi
++#else
++ add_define_make MAN_DIR "${PREFIX}/man/man1"
++#fi
+
+ if [ "$OS" = 'Win32' ]; then
+ HAVE_THREADS=yes
+@@ -182,7 +185,7 @@ fi
+ check_pkgconf ALSA alsa
+ check_header OSS sys/soundcard.h
+ check_header OSS_BSD soundcard.h
+-check_lib OSS_LIB -lossaudio
++#check_lib OSS_LIB -lossaudio
+
+ if [ "$OS" = 'Darwin' ]; then
+ check_lib AL "-framework OpenAL" alcOpenDevice