aboutsummaryrefslogtreecommitdiff
path: root/science/cdf
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2015-09-10 16:31:33 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2015-09-10 16:31:33 +0000
commit9b8239b6a9660aa6ff372f0ee7baf057bdf4f428 (patch)
tree7c6811ddf9410d579010282fc349d31db01962b4 /science/cdf
parent87d2d932eba4664a3908e0b42fca4318526b1bb1 (diff)
Follow-up commit to r396576 since I've forgotten to fix some things:
- Do not patch stuff in `pre-configure' target, do it in `post-patch' - It is our customary practice to mute ${REINPLACE_CMD} invocations - Do not (mis)use ${MAKE} when ${MAKE_CMD} should be used instead
Notes
svn path=/head/; revision=396584
Diffstat (limited to 'science/cdf')
-rw-r--r--science/cdf/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/science/cdf/Makefile b/science/cdf/Makefile
index 64e7ce4d1eae..6bbee78ae9ee 100644
--- a/science/cdf/Makefile
+++ b/science/cdf/Makefile
@@ -29,9 +29,9 @@ PORTDOCS= CDF_copyright.txt CHANGES.txt Release.notes Welcome.txt
OPTIONS_DEFINE= DOCS EXAMPLES
-pre-configure:
+post-patch:
.for def in ${DEFS}
- ${REINPLACE_CMD} -e 's|<path>|${PREFIX}|' \
+ @${REINPLACE_CMD} -e 's|<path>|${PREFIX}|' \
${WRKSRC}/src/definitions/definitions.${def}
.endfor
@@ -46,7 +46,7 @@ post-install:
${SED} -i '' 's,${STAGEDIR},,g' ${STAGEDIR}${PREFIX}/bin/definitions.?
regression-test: build
- @${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \
+ @${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} \
${MAKE_ARGS} test -C ${BUILD_WRKSRC}
.include <bsd.port.mk>