From 1a33d3c0942813f054f94a6fb20bf8319c4ad07a Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Tue, 22 Nov 2016 21:58:48 +0000 Subject: [PATCH] - Fix build when python symlink is not present - Remove dependency on python2 symlink --- x11-wm/ccsm/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/x11-wm/ccsm/Makefile b/x11-wm/ccsm/Makefile index edb40aab043d..e4fe4620882b 100644 --- a/x11-wm/ccsm/Makefile +++ b/x11-wm/ccsm/Makefile @@ -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 manager for CompizConfig 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})