All subpackages ave a RDEP on python, so explicitness for -python is
redundant.

More importantly, this uncovers how the devel/gtest RDEP has been
clobbered by it;  I cannot yet say what inside LLVM actually requires
gtest(1) at runtime and the dependency was added in 2017 for the 4.0.1
update, but we can fix this in a different commit.

Eventually, I want to use Python 3 inside LLVM - this diff is a first
step, but it already showed side effects, so let's go one by one.


Feedback? OK?


Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/llvm/Makefile,v
retrieving revision 1.244
diff -u -p -r1.244 Makefile
--- Makefile    6 Mar 2020 22:22:03 -0000       1.244
+++ Makefile    15 Mar 2020 18:47:04 -0000
@@ -19,7 +19,7 @@ PKGNAME-main =        llvm-${LLVM_V}
 PKGNAME-python =       py-llvm-${LLVM_V}
 PKGNAME-lldb = lldb-${LLVM_V}
 REVISION-main =        8
-REVISION-python = 0
+REVISION-python = 1
 REVISION-lldb =        1
 
 CATEGORIES =   devel
@@ -71,7 +71,6 @@ LIB_DEPENDS-main =    ${LIB_DEPENDS}
 
 # clang python module loads libclang.so dynamically with cdll.LoadLibrary()
 WANTLIB-python =       clang
-RUN_DEPENDS-python =   ${MODPY_RUN_DEPENDS}
 LIB_DEPENDS-python =   ${BUILD_PKGPATH},-main
 
 WANTLIB-lldb =         ${WANTLIB} ${MODPY_WANTLIB}

Reply via email to