From owner-svn-ports-head@FreeBSD.ORG Sat Aug 23 17:41:19 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6CFEA697; Sat, 23 Aug 2014 17:41:19 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CA7B3A72; Sat, 23 Aug 2014 17:41:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7NHfJYA044205; Sat, 23 Aug 2014 17:41:19 GMT (envelope-from thierry@FreeBSD.org) Received: (from thierry@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7NHfJOa044204; Sat, 23 Aug 2014 17:41:19 GMT (envelope-from thierry@FreeBSD.org) Message-Id: <201408231741.s7NHfJOa044204@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: thierry set sender to thierry@FreeBSD.org using -f From: Thierry Thomas Date: Sat, 23 Aug 2014 17:41:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r365762 - head/math/lapack95 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Aug 2014 17:41:19 -0000 Author: thierry Date: Sat Aug 23 17:41:18 2014 New Revision: 365762 URL: http://svnweb.freebsd.org/changeset/ports/365762 QAT: https://qat.redports.org/buildarchive/r365762/ Log: Stagify. Modified: head/math/lapack95/Makefile Modified: head/math/lapack95/Makefile ============================================================================== --- head/math/lapack95/Makefile Sat Aug 23 17:30:43 2014 (r365761) +++ head/math/lapack95/Makefile Sat Aug 23 17:41:18 2014 (r365762) @@ -18,7 +18,6 @@ WRKSRC= ${WRKDIR}/LAPACK95 MAKE_JOBS_UNSAFE=yes -NO_STAGE= yes .include .if ${ARCH} == "sparc64" @@ -44,11 +43,11 @@ BLAS= -lblas LAPACK= -llapack .endif -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} PORTEXAMPLES= make.inc EXAMPLES1 EXAMPLES2 .endif -post-patch: +pre-configure: ${REINPLACE_CMD} -e 's|%%BLAS%%|${BLAS}|g ; \ s|%%FC%%|${FC}|g ; \ s|%%FFLAGS%%|${FFLAGS} $${PICFLAG}|g ; \ @@ -57,30 +56,30 @@ post-patch: s|%%LOCALBASE%%|${LOCALBASE}|g ; \ s|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/make.inc - @${REINPLACE_CMD} -e 's|ranlib|${RANLIB}|g ; \ + ${REINPLACE_CMD} -e 's|ranlib|${RANLIB}|g ; \ s|ar cr|${AR} cr|g' \ ${WRKSRC}/SRC/makefile \ ${WRKSRC}/TESTING/makefile \ ${WRKSRC}/EXAMPLES1/makefile* - @${CP} -r ${WRKSRC} ${WRKSRC}_SHARED + ${CP} -r ${WRKSRC} ${WRKSRC}_SHARED do-build: - @cd ${WRKSRC}/SRC; ${SETENV} ${MAKE_ENV} PICFLAG= \ + cd ${WRKSRC}/SRC; ${SETENV} ${MAKE_ENV} PICFLAG= \ ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} single_double_complex_dcomplex - @cd ${WRKSRC}_SHARED/SRC; ${SETENV} ${MAKE_ENV} PICFLAG=${PICFLAG} \ + cd ${WRKSRC}_SHARED/SRC; ${SETENV} ${MAKE_ENV} PICFLAG=${PICFLAG} \ ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} single_double_complex_dcomplex - @cd ${WRKSRC}_SHARED ; ${LD} -Bshareable -o liblapack95.so.1 -x -soname \ + cd ${WRKSRC}_SHARED ; ${LD} -Bshareable -o liblapack95.so.1 -x -soname \ liblapack95.so.1 --whole-archive lapack95.a do-install: - @${INSTALL_DATA} ${WRKSRC}/lapack95.a ${PREFIX}/lib/liblapack95.a - @${INSTALL_DATA} ${WRKSRC}_SHARED/liblapack95.so.1 ${PREFIX}/lib - @${LN} -sf liblapack95.so.1 ${PREFIX}/lib/liblapack95.so - @${MKDIR} ${PREFIX}/lib/lapack95_modules - @${INSTALL_DATA} ${WRKSRC}_SHARED/lapack95_modules/*.mod ${PREFIX}/lib/lapack95_modules -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - @cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTEXAMPLES}" ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/lapack95.a ${STAGEDIR}${PREFIX}/lib/liblapack95.a + ${INSTALL_DATA} ${WRKSRC}_SHARED/liblapack95.so.1 ${STAGEDIR}${PREFIX}/lib + ${LN} -sf liblapack95.so.1 ${STAGEDIR}${PREFIX}/lib/liblapack95.so + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/lapack95_modules + ${INSTALL_DATA} ${WRKSRC}_SHARED/lapack95_modules/*.mod ${STAGEDIR}${PREFIX}/lib/lapack95_modules +.if ${PORT_OPTIONS:MEXAMPLES} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTEXAMPLES}" ${STAGEDIR}${EXAMPLESDIR} .endif .include