From owner-svn-ports-all@freebsd.org Thu Aug 2 05:57:26 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C3A631059315; Thu, 2 Aug 2018 05:57:26 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 79F0874C87; Thu, 2 Aug 2018 05:57:26 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 40EF25A5A; Thu, 2 Aug 2018 05:57:26 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w725vQ7a067047; Thu, 2 Aug 2018 05:57:26 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w725vQVj067046; Thu, 2 Aug 2018 05:57:26 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201808020557.w725vQVj067046@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Thu, 2 Aug 2018 05:57:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r476220 - head/games/searchandrescue X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/games/searchandrescue X-SVN-Commit-Revision: 476220 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2018 05:57:27 -0000 Author: tobik Date: Thu Aug 2 05:57:25 2018 New Revision: 476220 URL: https://svnweb.freebsd.org/changeset/ports/476220 Log: games/searchandrescue: Fix build on 12.0-CURRENT Respect CPPFLAGS and stop doing weird things like defining __cplusplus in the build itself. In file included from :388: :8:9: warning: '__cplusplus' macro redefined [-Wmacro-redefined] #define __cplusplus 1 ^ :384:9: note: previous definition is here #define __cplusplus 201402L ^ In file included from disk.cpp:1: In file included from /usr/include/c++/v1/stdio.h:102: /usr/include/c++/v1/__config:327:20: error: cannot combine with previous 'char16_t' declaration specifier typedef __char16_t char16_t; ^ /usr/include/c++/v1/__config:328:20: error: cannot combine with previous 'char32_t' declaration specifier typedef __char32_t char32_t; ^ http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475478_s336801/logs/errors/SearchAndRescue-1.4.0_6.log While here - Add license - Add missing dependencies Modified: head/games/searchandrescue/Makefile Modified: head/games/searchandrescue/Makefile ============================================================================== --- head/games/searchandrescue/Makefile Thu Aug 2 05:48:38 2018 (r476219) +++ head/games/searchandrescue/Makefile Thu Aug 2 05:57:25 2018 (r476220) @@ -3,18 +3,21 @@ PORTNAME= SearchAndRescue PORTVERSION= 1.4.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= games MASTER_SITES= SF/${PORTNAME:tl}/Program/ MAINTAINER= jessefrgsmith@yahoo.ca COMMENT= Flight simulator in which the player rescues people +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + RUN_DEPENDS= ${LOCALBASE}/share/searchandrescue/human.ini:games/searchandrescue-data USE_SDL= mixer -USE_XORG= x11 xau xdmcp xext xmu xpm xxf86vm -USE_GL= glu +USE_XORG= ice sm x11 xau xdmcp xext xmu xpm xxf86vm +USE_GL= gl glu WRKSRC= ${WRKDIR}/${PORTNAME:tl}_${PORTVERSION} PLIST_FILES= bin/${PORTNAME} \ @@ -30,6 +33,7 @@ post-patch: -e 's,/usr/local,${LOCALBASE},g' \ -e 's,/usr/X11R6,${LOCALBASE},g' \ -e '/^CFLAGS = /s,=,= ${CFLAGS},g' \ + -e '/^CPPFLAGS = /s, = .*, = ${CPPFLAGS},g' \ -e '/^CC = /s, = .*, = ${CC},' \ -e '/^CPP = /s, = .*, = ${CXX},' \ -e 's,-O6,,' \