1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- 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
This commit is contained in:
Alexey Dokuchaev 2013-07-26 06:38:59 +00:00
parent 0c0d53c691
commit b89299d167
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=323694

View File

@ -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}