svn commit: r333044 - head/devel/qscintilla2-designerplugin

Raphael Kubo da Costa rakuco at FreeBSD.org
Wed Nov 6 22:48:03 UTC 2013


Author: rakuco
Date: Wed Nov  6 22:48:02 2013
New Revision: 333044
URL: http://svnweb.freebsd.org/changeset/ports/333044

Log:
  Switch from the manual qmake logic to USES=qmake.
  
  Doing so correctly handles all the PREFIX, DESTDIR and stage directories
  logic that the previous code did not, and should make the package build fine
  on the cluster instead of failing at the "stage" stage.
  
  While here, simplify the bsd.port.{pre,post}.mk includes.

Modified:
  head/devel/qscintilla2-designerplugin/Makefile

Modified: head/devel/qscintilla2-designerplugin/Makefile
==============================================================================
--- head/devel/qscintilla2-designerplugin/Makefile	Wed Nov  6 22:19:18 2013	(r333043)
+++ head/devel/qscintilla2-designerplugin/Makefile	Wed Nov  6 22:48:02 2013	(r333044)
@@ -15,23 +15,17 @@ COMMENT=	Qt4 Designer plugin for QScinti
 LIB_DEPENDS=	qscintilla2:${PORTSDIR}/devel/qscintilla2
 
 DISTINFO_FILE=	${QSCI2_DISTINFO_FILE}
+USES=		qmake
 USE_QT4=	qmake_build moc_build gui xml designer
 HAS_CONFIGURE=	yes
 
-QMAKE_ARGS=	-unix PREFIX=${PREFIX}
-
 WRKSRC=		${WRKDIR}/${DISTNAME}/designer-Qt4Qt5
 
 .include "${.CURDIR}/../py-qt4/bsd.pyqt.mk"
-.include <bsd.port.pre.mk>
 
 pre-configure:
 	${REINPLACE_CMD} -e \
 		's|$$$$\[QT_INSTALL_PLUGINS\]|${PREFIX}/${QT_PLUGINDIR_REL}|' \
 		${WRKSRC}/designer.pro
 
-do-configure:
-	cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
-		${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS} designer.pro
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-head mailing list