aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--math/sdpa/Makefile7
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}