Date: Fri, 27 Sep 2013 06:42:06 GMT From: Green Dog <fiziologus@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/182433: [games/py-fife] try fix in 10-CURRENT Message-ID: <201309270642.r8R6g62B098824@oldred.freebsd.org> Resent-Message-ID: <201309270650.r8R6o0Wt082480@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309270642.r8R6g62B098824>