From 7561227a140dae858d47dc644831506ef1d73793 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Fri, 29 Aug 2014 06:25:47 +0000 Subject: [PATCH] Allow staging as a regular user and simplify --- math/linpack/Makefile | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/math/linpack/Makefile b/math/linpack/Makefile index 8a2b97ceadc7..473401431fa2 100644 --- a/math/linpack/Makefile +++ b/math/linpack/Makefile @@ -12,15 +12,18 @@ MAINTAINER= bf@FreeBSD.org COMMENT= Linear Algebra package LIB_DEPENDS= libblas.so:${PORTSDIR}/math/blas + MAKE_ENV= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null +MAKEFILE= ${FILESDIR}/Makefile.lib -USES= fortran - -.include +USES= fortran uidfix USE_LDCONFIG= yes DIST_SUBDIR= ${PORTNAME} NO_WRKSUBDIR= yes +EXTRACT_CMD= ${CP} +EXTRACT_BEFORE_ARGS= +EXTRACT_AFTER_ARGS= ${WRKSRC} SRCS= cchdc.f cchdd.f cchex.f cchud.f cgbco.f cgbdi.f cgbfa.f cgbsl.f \ cgeco.f cgedi.f cgefa.f cgesl.f cgtsl.f chico.f chidi.f chifa.f \ @@ -46,16 +49,4 @@ SRCS= cchdc.f cchdd.f cchex.f cchud.f cgbco.f cgbdi.f cgbfa.f cgbsl.f \ zsico.f zsidi.f zsifa.f zsisl.f zspco.f zspdi.f zspfa.f zspsl.f \ zsvdc.f ztrco.f ztrdi.f ztrsl.f -do-extract: - @${MKDIR} ${WRKDIR} -.for file in ${SRCS} - @${CP} ${_DISTDIR}/${file} ${WRKSRC}/${file} -.endfor - -do-build: - cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE} - -pre-build: - ${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile - -.include +.include