-
Type: Bug
-
Resolution: Fixed
-
Priority: Trivial - P5
-
Affects Version/s: 1.13.0
-
Component/s: Build
-
None
-
Minor Change
In MacPorts, libbson and mongo-c-driver are separately-built and separately-installed packages, dating from when they were distributed as separate source code packages.
Now that they are in the same source code package, I have to configure the source with -DENABLE_BSON=ON -DENABLE_MONGOC=OFF to build libbson and with -DENABLE_BSON=SYSTEM -DENABLE_MONGOC=ON to build mongo-c-driver.
But in either case, the file $prefix/share/mongo-c-driver/uninstall.sh is installed. This makes libbson and mongo-c-driver conflict with each other.
It might be good if the file were instead installed as $prefix/share/libbson/uninstall.sh, if the build has been configured for libbson only.
In MacPorts, I don't want an uninstall script to be installed at all, so I would also be happy if there were a way to turn off the installation of the uninstall script. For now, I'll patch the cmake files to do that.
- is related to
-
CDRIVER-2682 Add an uninstall target
- Closed