aboutsummaryrefslogtreecommitdiff
path: root/ports/antlr4
diff options
context:
space:
mode:
authorBilly O'Neal <bion@microsoft.com>2020-12-29 16:34:43 -0800
committerGitHub <noreply@github.com>2020-12-29 16:34:43 -0800
commitb12f78c3ed08ca7cddb17110a2bcdcf2cd5f889e (patch)
treefe22d44a7c80df739366b78ee8da5256ba08c2d4 /ports/antlr4
parent1e736c7eb4712037ba95cd93c48b81962914a50d (diff)
downloadvcpkg-b12f78c3ed08ca7cddb17110a2bcdcf2cd5f889e.tar.gz
vcpkg-b12f78c3ed08ca7cddb17110a2bcdcf2cd5f889e.zip
[antlr4,python3] Resolve cross port conflicts (#15378)
* [python3] Add vcpkg's include directories to the end rather than to the beginning. This is safe because vcpkg never hydrates python3's $(PySrcDir)\externals directory, so it wasn't using vendored dependencies at all. * [antlr4] Install antlr headers in antlr4-runtime rather than the root to avoid stomping on common name token.h. This is consistent with the ubuntu packages.
Diffstat (limited to 'ports/antlr4')
-rw-r--r--ports/antlr4/CONTROL3
-rw-r--r--ports/antlr4/portfile.cmake6
2 files changed, 2 insertions, 7 deletions
diff --git a/ports/antlr4/CONTROL b/ports/antlr4/CONTROL
index 31614905a..e48354528 100644
--- a/ports/antlr4/CONTROL
+++ b/ports/antlr4/CONTROL
@@ -1,6 +1,7 @@
Source: antlr4
Version: 4.8
+Port-Version: 1
Homepage: https://www.antlr.org
Description: ANother Tool for Language Recognition
Build-Depends: libuuid (!uwp&!windows&!osx)
-Supports: !uwp \ No newline at end of file
+Supports: !uwp
diff --git a/ports/antlr4/portfile.cmake b/ports/antlr4/portfile.cmake
index 5160648f3..6ceaa3af9 100644
--- a/ports/antlr4/portfile.cmake
+++ b/ports/antlr4/portfile.cmake
@@ -78,12 +78,6 @@ else()
endif()
endif()
-file(GLOB HDRS LIST_DIRECTORIES true ${CURRENT_PACKAGES_DIR}/include/antlr4-runtime/*)
-file(COPY ${HDRS} DESTINATION ${CURRENT_PACKAGES_DIR}/include)
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/antlr4-runtime)
-
vcpkg_copy_pdbs()
file(INSTALL ${LICENSE} DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
-
-message(STATUS "Installing done") \ No newline at end of file