aboutsummaryrefslogtreecommitdiff
path: root/mail/libvmime
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-07-24 18:59:07 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-07-24 18:59:07 +0000
commit5629a30f2a498817f9433616955ad1793bf26b35 (patch)
treeae4f2cbf578da55656b8399acd8f5adf68206690 /mail/libvmime
parent4c1506f1264b21909d3db5a5ecac96e642bcde77 (diff)
downloadports-5629a30f2a498817f9433616955ad1793bf26b35.tar.gz
ports-5629a30f2a498817f9433616955ad1793bf26b35.zip
Notes
Diffstat (limited to 'mail/libvmime')
-rw-r--r--mail/libvmime/Makefile3
-rw-r--r--mail/libvmime/files/patch-CMakeLists.txt9
2 files changed, 9 insertions, 3 deletions
diff --git a/mail/libvmime/Makefile b/mail/libvmime/Makefile
index a0270f740b79..c5fc59771a9b 100644
--- a/mail/libvmime/Makefile
+++ b/mail/libvmime/Makefile
@@ -27,7 +27,4 @@ USE_GITHUB= yes
GH_ACCOUNT= kisli
GH_PROJECT= vmime
-post-patch:
- @${REINPLACE_CMD} 's|$${VMIME_INSTALL_LIBDIR}/pkgconfig|${PREFIX}/libdata/pkgconfig|' ${WRKSRC}/CMakeLists.txt
-
.include <bsd.port.mk>
diff --git a/mail/libvmime/files/patch-CMakeLists.txt b/mail/libvmime/files/patch-CMakeLists.txt
index 2c15a000422a..3fc560d90cfa 100644
--- a/mail/libvmime/files/patch-CMakeLists.txt
+++ b/mail/libvmime/files/patch-CMakeLists.txt
@@ -15,3 +15,12 @@
SET(VMIME_CHARSETCONV_LIB_DETECTED "iconv")
ELSEIF(WIN32)
SET(VMIME_CHARSETCONV_LIB_DETECTED "win")
+@@ -1120,7 +1115,7 @@ CONFIGURE_FILE(cmake/config.hpp.cmake ${CMAKE_BINARY_D
+
+ # PkgConfig post-configuration
+ CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/vmime.pc.in ${CMAKE_BINARY_DIR}/vmime.pc @ONLY)
+-INSTALL(FILES ${CMAKE_BINARY_DIR}/vmime.pc DESTINATION "${VMIME_INSTALL_LIBDIR}/pkgconfig" COMPONENT headers)
++INSTALL(FILES ${CMAKE_BINARY_DIR}/vmime.pc DESTINATION "${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig" COMPONENT headers)
+
+ INCLUDE(CPack)
+