From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 27 06:50:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3211F29D for ; Fri, 27 Sep 2013 06:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1324225B3 for ; Fri, 27 Sep 2013 06:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r8R6o0P6082481 for ; Fri, 27 Sep 2013 06:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8R6o0Wt082480; Fri, 27 Sep 2013 06:50:00 GMT (envelope-from gnats) Resent-Date: Fri, 27 Sep 2013 06:50:00 GMT Resent-Message-Id: <201309270650.r8R6o0Wt082480@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Green Dog Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5BC1213A for ; Fri, 27 Sep 2013 06:42:07 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 301BA257A for ; Fri, 27 Sep 2013 06:42:07 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r8R6g698098825 for ; Fri, 27 Sep 2013 06:42:06 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r8R6g62B098824; Fri, 27 Sep 2013 06:42:06 GMT (envelope-from nobody) Message-Id: <201309270642.r8R6g62B098824@oldred.freebsd.org> Date: Fri, 27 Sep 2013 06:42:06 GMT From: Green Dog To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/182433: [games/py-fife] try fix in 10-CURRENT X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 06:50:01 -0000 >Number: 182433 >Category: ports >Synopsis: [games/py-fife] try fix in 10-CURRENT >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Sep 27 06:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Green Dog >Release: >Organization: >Environment: >Description: [games/py-fife] try fix in 10-CURRENT (no tested) PR 176714 (fix make package) warn about options devel/guichan (in default build no need) >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN py-fife.orig/Makefile py-fife/Makefile --- py-fife.orig/Makefile 2013-09-20 21:36:33.000000000 +0400 +++ py-fife/Makefile 2013-09-27 10:41:53.000000000 +0400 @@ -22,6 +22,8 @@ boost_filesystem:${PORTSDIR}/devel/boost-libs \ png15:${PORTSDIR}/graphics/png +CXXFLAGS+= -std=c++98 + FETCH_ARGS= -Fpr USE_SDL= sdl ttf image @@ -30,7 +32,8 @@ USE_SCONS= yes SCONS_ARGS= --prefix=${PREFIX} --python-prefix=${PYTHON_SITELIBDIR} SCONS_BUILDENV= SWIG=${LOCALBASE}/bin/swig \ - CXX=${CXX} + CXX=${CXX} \ + CXXFLAGS="${CXXFLAGS}" SCONS_TARGET= fife-python SCONS_INSTALL_TARGET= install-python @@ -41,9 +44,13 @@ USES= pkgconfig -NO_STAGE= yes +pre-everything:: + @${ECHO_CMD} + @${ECHO_CMD} " devel/guichan must be build with SDL and OpenGL support" + @sleep 15 + post-patch: - ${REINPLACE_CMD} -e 's/X11R6/local/g; s/libpng/ligpng15/g' ${WRKSRC}/build/openbsd4-config.py && \ + ${REINPLACE_CMD} -e 's/X11R6/local/g; s/libpng/libpng15/g' ${WRKSRC}/build/openbsd4-config.py && \ ${MV} ${WRKSRC}/build/openbsd4-config.py ${WRKSRC}/build/${PYTHON_PLATFORM}-config.py post-install: diff -ruN py-fife.orig/pkg-install py-fife/pkg-install --- py-fife.orig/pkg-install 1970-01-01 03:00:00.000000000 +0300 +++ py-fife/pkg-install 2013-09-27 10:41:53.000000000 +0400 @@ -0,0 +1,11 @@ +#!/bin/sh + +PREFIX=${PKG_PREFIX:-/usr/local} + +[ "x$1" = "x" ] && exit 1 +if [ "x$2" = "xPOST-INSTALL" ]; then + mkdir -p ${PREFIX}/share/fife/demos/rio_de_hola/saves + mkdir -p ${PREFIX}/share/fife/demos/rio_de_hola/imports + mkdir -p ${PREFIX}/share/fife/demos/rio_de_hola/cursors +fi + >Release-Note: >Audit-Trail: >Unformatted: