On Saturday, October 05, 2013 03:40:02 PM Alonso Schaich wrote:
> SVN commit 9593 by aschai:
> 
> Fix installation and disable staging.

This simple patch fix build with stage
--- Makefile.orig	2013-10-06 11:09:13.414907711 +0200
+++ Makefile	2013-10-06 11:10:12.628922019 +0200
@@ -12,7 +12,7 @@
 MAINTAINER=	k...@freebsd.org
 COMMENT=	Python to C and C++ bindings generator
 
-USE_PYTHON=	2.5+
+USE_PYTHON=	yes
 
 DATADIR=	${PREFIX}/share/py-${PORTNAME}
 DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
@@ -31,17 +31,16 @@
 ARGS+=		-u
 .endif
 
-NO_STAGE=	yes
 do-configure:
 	cd ${WRKSRC} && ${PYTHON_CMD} configure.py ${ARGS}
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR} && cd ${WRKSRC}/doc/html && \
-		${COPYTREE_SHARE} \. ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR} && cd ${WRKSRC}/doc/html && \
+		${COPYTREE_SHARE} \. ${STAGEDIR}${DOCSDIR}
 .endif
-	${MKDIR} ${DATADIR} &&\
-		cd ${PYTHONPREFIX_SITELIBDIR} &&\
+	${MKDIR} ${STAGEDIR}${DATADIR} &&\
+		cd ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} &&\
 		${PYTHON_CMD} -c "import sipconfig" &&\
 		${PYTHON_CMD} -O -c "import sipconfig" &&\
 		${PYTHON_CMD} -c "import sipdistutils" &&\
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to