Index: head/emulators/hatari/Makefile =================================================================== --- head/emulators/hatari/Makefile (revision 465136) +++ head/emulators/hatari/Makefile (revision 465137) @@ -1,65 +1,65 @@ # Created by: Michael Neumann # $FreeBSD$ PORTNAME= hatari PORTVERSION= 2.0.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= emulators MASTER_SITES= http://download.tuxfamily.org/hatari/${PORTVERSION}/ MAINTAINER= ports@FreeBSD.org COMMENT= Atari ST emulator LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/gpl.txt LIB_DEPENDS= libportaudio.so:audio/portaudio \ libpng.so:graphics/png USES= cmake desktop-file-utils python:2.7 readline shared-mime-info \ shebangfix tar:bzip2 SHEBANG_FILES= python-ui/*.py tools/atari-convert-dir.py \ tools/debugger/hatari_profile.py tools/hconsole/*.py USE_GNOME= pygtk2 CMAKE_ARGS= -DETCDIR:PATH="${PREFIX}/etc" \ -DMANDIR:PATH="man/man1" \ -DREADLINE_FOUND:BOOL=ON INSTALLS_ICONS= yes BROKEN_aarch64= fails to configure: error: unrecognized CPU type BROKEN_armv6= fails to configure: CMake Error: Generator: execution of make failed BROKEN_powerpc64= fails to compile: sysdeps.h: redefinition of typedef 'uae_u8' OPTIONS_DEFINE= DEBUG DOCS SDL2 WINUAE DEBUG_CFLAGS_OFF= -DNDEBUG SDL2_DESC= Use SDL2 libraries instead of SDL 1.2 SDL2_USES= iconv SDL2_USE= sdl=sdl2 SDL2_USE_OFF= sdl=sdl SDL2_CMAKE_ON= -DENABLE_SDL2:BOOL=ON SDL2_CFLAGS= -I${ICONV_INCLUDE_PATH} WINUAE_DESC= Build with WinUAE CPU core (experimental) WINUAE_CMAKE_ON= -DENABLE_WINUAE_CPU:BOOL=ON post-patch: .for i in doc/hatari.1 doc/fr/hatari.1 tools/hconsole/hconsole.1 @${REINPLACE_CMD} -e \ 's|^/etc/hatari.cfg .*|${PREFIX}/etc/hatari.cfg| ; \ s|/usr/share|${PREFIX}/share|' ${WRKSRC}/${i} .endfor @${REINPLACE_CMD} -e \ 's|-Wno-maybe-uninitialized||' ${WRKSRC}/src/cpu/CMakeLists.txt @${REINPLACE_CMD} -e \ 's|%%PYTHON_CMD%%|${PYTHON_CMD}| ; \ s|%%PYTHON_VERSION%%|${PYTHON_VERSION}|' ${WRKSRC}/tools/atari-hd-image.sh post-install: @${MKDIR} ${STAGEDIR}${MANPREFIX}/man/fr/man1 ${INSTALL_MAN} ${WRKSRC}/doc/fr/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/fr/man1 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/fr ${INSTALL_DATA} ${WRKSRC}/doc/fr/*.txt ${STAGEDIR}${DOCSDIR}/fr .include Index: head/emulators/hatari/files/patch-CMakeLists.txt =================================================================== --- head/emulators/hatari/files/patch-CMakeLists.txt (nonexistent) +++ head/emulators/hatari/files/patch-CMakeLists.txt (revision 465137) @@ -0,0 +1,20 @@ +${SDL_INCLUDE_DIR} can contain more than one directory, +so using it here as if it is a single directory can confuse +check_include_files. Instead, iterate over it. + +--- CMakeLists.txt.orig 2018-03-20 22:30:14.014771000 +0000 ++++ CMakeLists.txt 2018-03-20 22:31:23.332802000 +0000 +@@ -187,7 +187,12 @@ + check_include_files(termios.h HAVE_TERMIOS_H) + check_include_files(strings.h HAVE_STRINGS_H) + check_include_files(malloc.h HAVE_MALLOC_H) +-check_include_files(${SDL_INCLUDE_DIR}/SDL_config.h HAVE_SDL_CONFIG_H) ++foreach(_sid ${SDL_INCLUDE_DIR}) ++ check_include_files(${_sid}/SDL_config.h HAVE_SDL_CONFIG_H) ++ if(HAVE_SDL_CONFIG_H) ++ break() ++ endif() ++endforeach() + check_include_files(sys/time.h HAVE_SYS_TIME_H) + check_include_files(sys/times.h HAVE_SYS_TIMES_H) + check_include_files(utime.h HAVE_UTIME_H) Property changes on: head/emulators/hatari/files/patch-CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property