diff options
| -rw-r--r-- | ports/libharu/CONTROL | 2 | ||||
| -rw-r--r-- | ports/libharu/portfile.cmake | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/ports/libharu/CONTROL b/ports/libharu/CONTROL index 5919acef0..623628ab8 100644 --- a/ports/libharu/CONTROL +++ b/ports/libharu/CONTROL @@ -1,4 +1,4 @@ Source: libharu -Version: 2017-08-15-d84867ebf9f-3 +Version: 2017-08-15-d84867ebf9f-4 Description: libharu - free PDF library Build-Depends: zlib, libpng diff --git a/ports/libharu/portfile.cmake b/ports/libharu/portfile.cmake index 7896d7659..c8e9250b9 100644 --- a/ports/libharu/portfile.cmake +++ b/ports/libharu/portfile.cmake @@ -37,17 +37,17 @@ file(REMOVE_RECURSE file(READ "${CURRENT_PACKAGES_DIR}/include/hpdf.h" _contents) if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic") - string(REPLACE "#ifdef HPDF_DLL" "#if 1" _contents "${_contents}") + string(REPLACE "#ifdef HPDF_DLL\n" "#if 1\n" _contents "${_contents}") else() - string(REPLACE "#ifdef HPDF_DLL" "#if 0" _contents "${_contents}") + string(REPLACE "#ifdef HPDF_DLL\n" "#if 0\n" _contents "${_contents}") endif() file(WRITE "${CURRENT_PACKAGES_DIR}/include/hpdf.h" "${_contents}") file(READ "${CURRENT_PACKAGES_DIR}/include/hpdf_types.h" _contents) if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic") - string(REPLACE "#ifdef HPDF_DLL" "#if 1" _contents "${_contents}") + string(REPLACE "#ifdef HPDF_DLL\n" "#if 1\n" _contents "${_contents}") else() - string(REPLACE "#ifdef HPDF_DLL" "#if 0" _contents "${_contents}") + string(REPLACE "#ifdef HPDF_DLL\n" "#if 0\n" _contents "${_contents}") endif() file(WRITE "${CURRENT_PACKAGES_DIR}/include/hpdf_types.h" "${_contents}") |
