diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-06-08 20:14:25 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-06-08 20:14:25 -0700 |
| commit | fbf406083ea34a8b090d7bc0e94180ff091b52de (patch) | |
| tree | 0af0f01a5eed5f5b0f0c105bdac2f34297ef5065 | |
| parent | 28ace17363c1e6e24d6b4ee71b36ec98e1936294 (diff) | |
| download | vcpkg-fbf406083ea34a8b090d7bc0e94180ff091b52de.tar.gz vcpkg-fbf406083ea34a8b090d7bc0e94180ff091b52de.zip | |
[openblas] Fix error in patching cblas.h which removes semicolons
| -rw-r--r-- | ports/openblas/CONTROL | 2 | ||||
| -rw-r--r-- | ports/openblas/portfile.cmake | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ports/openblas/CONTROL b/ports/openblas/CONTROL index 29c2cea0e..a816dec6a 100644 --- a/ports/openblas/CONTROL +++ b/ports/openblas/CONTROL @@ -1,3 +1,3 @@ Source: openblas -Version: v0.2.19-1 +Version: v0.2.19-2 Description: OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version. diff --git a/ports/openblas/portfile.cmake b/ports/openblas/portfile.cmake index f4bf66d15..d00a4f67c 100644 --- a/ports/openblas/portfile.cmake +++ b/ports/openblas/portfile.cmake @@ -61,8 +61,8 @@ file(COPY ${SOURCE_PATH}/config.h DESTINATION ${CURRENT_PACKAGES_DIR}/include) file(RENAME ${CURRENT_PACKAGES_DIR}/include/config.h ${CURRENT_PACKAGES_DIR}/include/openblas_config.h) file(READ ${SOURCE_PATH}/cblas.h CBLAS_H) -string(REPLACE "#include \"common.h\"" "#include \"openblas_common.h\"" CBLAS_H ${CBLAS_H}) -file(WRITE ${CURRENT_PACKAGES_DIR}/include/cblas.h ${CBLAS_H}) +string(REPLACE "#include \"common.h\"" "#include \"openblas_common.h\"" CBLAS_H "${CBLAS_H}") +file(WRITE ${CURRENT_PACKAGES_DIR}/include/cblas.h "${CBLAS_H}") # openblas is BSD file(COPY ${CURRENT_BUILDTREES_DIR}/src/OpenBLAS-0.2.19/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/openblas) |
