aboutsummaryrefslogtreecommitdiff
path: root/science/vmd
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-03-24 22:17:41 +0000
committerJohn Marino <marino@FreeBSD.org>2015-03-24 22:17:41 +0000
commit312461b6fa77f1cca68731482cf7519092085f56 (patch)
tree60ad4767380537b433ea1dfdfc2e72ae71751873 /science/vmd
parentd8a73366f4042a17f0426e917e4a6ec3c42f67f5 (diff)
3 ports categories: Remove $PTHREAD_LIBS
Categories: print, science, emulators approved by: PTHREAD blanket
Notes
Notes: svn path=/head/; revision=382185
Diffstat (limited to 'science/vmd')
-rw-r--r--science/vmd/Makefile23
1 files changed, 13 insertions, 10 deletions
diff --git a/science/vmd/Makefile b/science/vmd/Makefile
index 102407ccef72..8024bf887c95 100644
--- a/science/vmd/Makefile
+++ b/science/vmd/Makefile
@@ -65,17 +65,20 @@ do-extract:
${TAR} -xzf ${DISTDIR}/${STRIDE_DIST} -C ${WRKSRC}/lib/stride
post-patch:
- ${REINPLACE_CMD} "s/-lpthread/${PTHREAD_LIBS}/" ${WRKSRC}/configure
- ${REINPLACE_CMD} "s/-ltk8.5/-ltk85/" ${WRKSRC}/configure
- ${REINPLACE_CMD} "s/-ltcl8.5/-ltcl85/" ${WRKSRC}/configure
- ${REINPLACE_CMD} "s%\$$python_dir/lib_\$$config_arch%${PREFIX}%" ${WRKSRC}/configure
- ${REINPLACE_CMD} "s/python2.5/${PYTHON_VERSION}/" ${WRKSRC}/configure
- ${REINPLACE_CMD} "s/.SILENT:/#.SILENT:/" ${WRKDIR}/plugins/Makefile
+ ${REINPLACE_CMD} \
+ -e "s|-ltk8.5|-ltk85|" \
+ -e "s|-ltcl8.5|-ltcl85|" \
+ -e "s%\$$python_dir/lib_\$$config_arch%${PREFIX}%" \
+ -e "s|python2.5|${PYTHON_VERSION}|" \
+ -e "s|%%PREFIX%%|${PREFIX}|g" \
+ -e "s|/usr/local|${LOCALBASE}|g" \
+ ${WRKSRC}/configure
+ ${REINPLACE_CMD} "s/\"gcc\"/\"${CC}\"/;s/\"g++\"/\"${CXX}\"/" \
+ ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e "s/.SILENT:/#.SILENT:/" ${WRKDIR}/plugins/Makefile
${REINPLACE_CMD} "s/.SILENT:/#.SILENT:/" ${WRKDIR}/plugins/*/Makefile
- ${REINPLACE_CMD} "s%log2f(\([^ ,]*\))%logf(\1)/(float)M_LN2%g" ${WRKSRC}/src/Orbital.C
- ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \
- -e "s|/usr/local|${LOCALBASE}|g" ${WRKSRC}/configure
- ${REINPLACE_CMD} "s/\"gcc\"/\"${CC}\"/;s/\"g++\"/\"${CXX}\"/" ${WRKSRC}/configure
+ ${REINPLACE_CMD} "s%log2f(\([^ ,]*\))%logf(\1)/(float)M_LN2%g" \
+ ${WRKSRC}/src/Orbital.C
${REINPLACE_CMD} -E "s/(SHLD[[:space:]]*=[[:space:]]*)gcc/\1${CC}/" \
${WRKDIR}/plugins/Make-arch
${REINPLACE_CMD} -E "s/(CC[[:space:]]*=[[:space:]]*)(gcc|cc)/\1${CC}/" \