svn commit: r336527 - head/games/pykawari

Marcus von Appen mva at FreeBSD.org
Sun Dec 15 13:21:14 UTC 2013


Author: mva
Date: Sun Dec 15 13:21:13 2013
New Revision: 336527
URL: http://svnweb.freebsd.org/changeset/ports/336527

Log:
  - Fix the usage of 'python' to get rid of the implicit lang/python
    dependency
  
  Reported by:	exp-run (PR 184591)
  Approved by:	portmgr (blanket)

Modified:
  head/games/pykawari/Makefile   (contents, props changed)

Modified: head/games/pykawari/Makefile
==============================================================================
--- head/games/pykawari/Makefile	Sun Dec 15 13:20:00 2013	(r336526)
+++ head/games/pykawari/Makefile	Sun Dec 15 13:21:13 2013	(r336527)
@@ -34,6 +34,10 @@ NO_STAGE=	yes
 CFLAGS+=	-fPIC
 .endif
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|shell python|shell ${PYTHON_CMD}|' \
+		${WRKSRC}/build/src/gcc.mak
+
 do-build:
 	(cd ${WRKSRC}/build/src; CFLAGS="${CFLAGS}" ${GMAKE} -f gcc.mak PYTHONBASE=${PYTHONBASE} PYTHON_VERSION=${PYTHON_VERSION} PTHREAD_LIBS=${PTHREAD_LIBS} CXX=${CXX})
 


More information about the svn-ports-head mailing list