svn commit: r323694 - head/math/sdpa

Alexey Dokuchaev danfe at FreeBSD.org
Fri Jul 26 06:39:00 UTC 2013


Author: danfe
Date: Fri Jul 26 06:38:59 2013
New Revision: 323694
URL: http://svnweb.freebsd.org/changeset/ports/323694

Log:
  - 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

Modified:
  head/math/sdpa/Makefile

Modified: head/math/sdpa/Makefile
==============================================================================
--- head/math/sdpa/Makefile	Fri Jul 26 06:36:28 2013	(r323693)
+++ head/math/sdpa/Makefile	Fri Jul 26 06:38:59 2013	(r323694)
@@ -10,7 +10,7 @@ DISTNAME=	${PORTNAME}.${PORTVERSION}.src
 DIST_SUBDIR=	sdpa
 
 MAINTAINER=	maho at 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${LOCALBA
 
 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}


More information about the svn-ports-all mailing list