summaryrefslogtreecommitdiffstats
path: root/math/coinmp
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-10-21 15:21:13 +0000
committermat <mat@FreeBSD.org>2016-10-21 15:21:13 +0000
commit60e51bda11dcc0742419f2a459990d0d81cb07d8 (patch)
treea5029ff30555b3a7ee0621f4dd5aacb832fde1d8 /math/coinmp
parent3432585b4743642027fc2b3af5eac2780fc2c4cd (diff)
downloadFreeBSD-ports-60e51bda11dcc0742419f2a459990d0d81cb07d8.zip
FreeBSD-ports-60e51bda11dcc0742419f2a459990d0d81cb07d8.tar.gz
Use USES=pathfix where applicable.
PR: 213195 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D8093
Diffstat (limited to 'math/coinmp')
-rw-r--r--math/coinmp/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/math/coinmp/Makefile b/math/coinmp/Makefile
index 5b1cae6..fb64d26 100644
--- a/math/coinmp/Makefile
+++ b/math/coinmp/Makefile
@@ -18,7 +18,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
CONFLICTS= clp-[0-9]* ogdf-[0-9]*
GNU_CONFIGURE= yes
-USES= libtool pkgconfig tar:tgz
+USES= libtool pathfix pkgconfig tar:tgz
USE_LDCONFIG= yes
CONFIGURE_ARGS+= PKG_CONFIG_PATH=${STAGEDIR}${PREFIX}/libdata/pkgconfig
CXXFLAGS+= -ffast-math
@@ -40,8 +40,7 @@ STRIP_FILES= libCoinUtils libOsi libOsiClp libOsiCommonTests libClp libClpSolver
libCgl libCbc libCbcSolver libOsiCbc libCoinMP
post-patch::
- @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
- 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
+ @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \
-e 's|$$(DESTDIR)$$(addlibsdir)|$$(addlibsdir)|g' \
-e 's|addlibs_DATA = examples/Makefile examples/example.c||g' \
-e 's|DocInstallDir = $$(datadir)/coin/doc/$$(PACKAGE_NAME)|DocInstallDir = $$(datadir)/doc/CoinMP/$$(PACKAGE_NAME)|' \
OpenPOWER on IntegriCloud