diff options
author | Michael Weber <xmw@gentoo.org> | 2013-02-27 08:00:55 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2013-02-27 08:00:55 +0000 |
commit | 1363e6e40334647f9b6a90b88756f55525bf813f (patch) | |
tree | 274eb978bd03dddc7c52618f1a1458feaf34df47 /dev-libs/libnsfb/files | |
parent | Add arm lovin. (diff) | |
download | gentoo-2-1363e6e40334647f9b6a90b88756f55525bf813f.tar.gz gentoo-2-1363e6e40334647f9b6a90b88756f55525bf813f.tar.bz2 gentoo-2-1363e6e40334647f9b6a90b88756f55525bf813f.zip |
Add use flags sdl, vnx, xcb (thanks a.m@freemail.hu, bug 458978). Restore cross-compile functionality (thanks James Le Cuirot, bug 431884)
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'dev-libs/libnsfb/files')
-rw-r--r-- | dev-libs/libnsfb/files/libnsfb-0.0.2-autodetect.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-libs/libnsfb/files/libnsfb-0.0.2-autodetect.patch b/dev-libs/libnsfb/files/libnsfb-0.0.2-autodetect.patch new file mode 100644 index 000000000000..86b1d032529e --- /dev/null +++ b/dev-libs/libnsfb/files/libnsfb-0.0.2-autodetect.patch @@ -0,0 +1,33 @@ +Michael Weber https://bugs.gentoo.org/458978 + +--- libnsfb-0.0.2/Makefile ++++ libnsfb-0.0.2/Makefile +@@ -20,9 +20,17 @@ + + NSFB_XCB_PKG_NAMES := xcb xcb-icccm xcb-image xcb-keysyms + ++ifndef NSFB_VNC_AVAILABLE + $(eval $(call pkg_config_package_available,NSFB_VNC_AVAILABLE,libvncserver)) ++endif ++ ++ifndef NSFB_SDL_AVAILABLE + $(eval $(call pkg_config_package_available,NSFB_SDL_AVAILABLE,sdl)) ++endif ++ ++ifndef NSFB_XCB_AVAILABLE + $(eval $(call pkg_config_package_available,NSFB_XCB_AVAILABLE,$(NSFB_XCB_PKG_NAMES))) ++endif + + ifeq ($(NSFB_SDL_AVAILABLE),yes) + $(eval $(call pkg_config_package_add_flags,sdl,CFLAGS)) +@@ -63,7 +71,10 @@ + + REQUIRED_PKGS := $(REQUIRED_PKGS) $(NSFB_XCB_PKG_NAMES) + ++ ifndef NSFB_XCB_UTIL_AVAILABLE + $(eval $(call pkg_config_package_available,NSFB_XCB_UTIL_AVAILABLE,xcb-util)) ++ endif ++ + ifeq ($(NSFB_XCB_UTIL_AVAILABLE),yes) + REQUIRED_PKGS := $(REQUIRED_PKGS) xcb-util + endif |