diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-07-26 06:38:59 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2013-07-26 06:38:59 +0000 |
commit | b89299d16790bc73b0b6b7c1206d358553855eaf (patch) | |
tree | 72d5ae8d2389d793f49d9265aa92029518127aa5 /math/sdpa/Makefile | |
parent | 0c0d53c69184b218882bc60be224f36cd7d3c0cd (diff) | |
download | ports-b89299d16790bc73b0b6b7c1206d358553855eaf.tar.gz ports-b89299d16790bc73b0b6b7c1206d358553855eaf.zip |
- Fix parallel build by telling make(1) that binary depends on a library
- Reword COMMENT text while I am here (pkg-descr is still a mess though;
Makefile also needs some love and cleaning)
Reported by: pointyhat-west
Notes
Notes:
svn path=/head/; revision=323694
Diffstat (limited to 'math/sdpa/Makefile')
-rw-r--r-- | math/sdpa/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/math/sdpa/Makefile b/math/sdpa/Makefile index 2d66971d1fab..cc146816559a 100644 --- a/math/sdpa/Makefile +++ b/math/sdpa/Makefile @@ -10,7 +10,7 @@ DISTNAME= ${PORTNAME}.${PORTVERSION}.src-${SRCDATE} DIST_SUBDIR= sdpa MAINTAINER= maho@FreeBSD.org -COMMENT= SDPA(SemiDefinite Programming Algorithm) Very efficient SDP Solver +COMMENT= Very efficient SDP (semidefinite programming) solver USES= gmake @@ -50,6 +50,11 @@ CONFIGURE_ARGS+=--with-blas="-L${LOCALBASE}/lib ${BLAS}" --with-lapack="-L${LOCA PLIST_SUB+= MANUALFILE=${MANUALFILE} +post-patch: +# Register missing target dependency to unbreak parallel builds + @${REINPLACE_CMD} -e 's,^sdpa_DEPENDENCIES =,& $$(lib_LIBRARIES),' \ + ${WRKSRC}/Makefile.in + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sdpa ${PREFIX}/bin @${MKDIR} ${DATADIR} |