- Fix build when python symlink is not present

- Remove dependency on python2 symlink
This commit is contained in:
Antoine Brodin 2016-11-22 21:58:48 +00:00
parent f83e399f8c
commit 1a33d3c094
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=426871

View file

@ -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})