Date: Sun, 21 Jul 2013 13:03:48 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r323382 - head/devel/gps Message-ID: <201307211303.r6LD3mPF022760@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Sun Jul 21 13:03:48 2013 New Revision: 323382 URL: http://svnweb.freebsd.org/changeset/ports/323382 Log: devel/gps: Add multijob support This is a big port that takes a lot of time to build, so enabling multijob support is a big win. As with other Ada programs, the "-j" configuration argument cannot be passed to the Makefile. The multijob support is enabled through the PROCESSORS environment variable. These requirement necessitate a custom do-build target. Some minor portlint cleanup is done as well. Approved by: bapt (mentor) Modified: head/devel/gps/Makefile Modified: head/devel/gps/Makefile ============================================================================== --- head/devel/gps/Makefile Sun Jul 21 13:02:08 2013 (r323381) +++ head/devel/gps/Makefile Sun Jul 21 13:03:48 2013 (r323382) @@ -29,7 +29,8 @@ WRKSRC= ${WRKDIR}/gps-release-ide-${PO CONFIGURE_ENV+= AWK=/usr/bin/awk DESTINY= ${WRKDIR}/destino -MAKE_ENV+= DESTDIR=${DESTINY} +MAKE_ENV+= DESTDIR=${DESTINY} \ + PROCESSORS=${MAKE_JOBS_NUMBER} OPTIONS_DEFINE= SYSLOG SQLITE PGSQL PYTHON READLINE OPTIONS_DEFAULT= SYSLOG SQLITE PYTHON READLINE @@ -101,6 +102,9 @@ post-patch: @${REINPLACE_CMD} -e "s|@PREFIX@|${PREFIX}|g" \ ${WRKSRC}/gnatlib/src/gnatcoll_readline.gpr.in +do-build: + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} default + pre-install: .if ${PORT_OPTIONS:MPYTHON} ${PYTHON_CMD} ${PYCOMPILE} ${WRKSRC}/share/plug-ins @@ -110,7 +114,7 @@ pre-install: post-install: ${RM} -rf ${DESTINY}${PREFIX}/share/doc/gps/html/users_guide/_sources ${RM} -rf ${DESTINY}${PREFIX}/share/doc/gps/html/tutorial/_sources - cd ${DESTINY}${PREFIX}; ${FIND} * -type d -empty -print | xargs rmdir + cd ${DESTINY}${PREFIX}; ${FIND} * -type d -empty -print | ${XARGS} ${RMDIR} ${CP} -pR ${DESTINY}${PREFIX}/ ${PREFIX}/ @cd ${DESTINY}${PREFIX}; ${FIND} * \( -type f -or -type l \) | \ ${SORT} > ${WRKDIR}/PLIST.all
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307211303.r6LD3mPF022760>