Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Nov 2016 21:58:49 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426871 - head/x11-wm/ccsm
Message-ID:  <201611222158.uAMLwn8Q069570@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Tue Nov 22 21:58:48 2016
New Revision: 426871
URL: https://svnweb.freebsd.org/changeset/ports/426871

Log:
  - Fix build when python symlink is not present
  - Remove dependency on python2 symlink

Modified:
  head/x11-wm/ccsm/Makefile

Modified: head/x11-wm/ccsm/Makefile
==============================================================================
--- head/x11-wm/ccsm/Makefile	Tue Nov 22 21:57:51 2016	(r426870)
+++ head/x11-wm/ccsm/Makefile	Tue Nov 22 21:58:48 2016	(r426871)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ccsm
 PORTVERSION=	0.8.4
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	x11-wm
 MASTER_SITES=	http://releases.compiz.org/${PORTVERSION}/
 
@@ -12,11 +12,14 @@ COMMENT=	Python/GTK based settings manag
 
 RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/compizconfig-python.pc:x11-wm/compizconfig-python
 
-USES=		gettext gmake python:2 tar:bzip2
+USES=		gettext gmake python:2.7 tar:bzip2
 USE_GNOME=	intltool pygtk2
 
 INSTALLS_ICONS=	yes
 
+post-patch:
+	${REINPLACE_CMD} 's,@python ,@${PYTHON_CMD} ,' ${WRKSRC}/Makefile
+
 do-install:
 	@(cd ${WRKSRC}; ${PYTHON_CMD} setup.py install --root=${STAGEDIR} --prefix=${PREFIX})
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611222158.uAMLwn8Q069570>