mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 06:40:33 -04:00
PR: 213956 Submitted by: Mahdi Mokhtari <mokhi64@gmail.com> libtuntap is a library for configuring TUN or TAP devices in a portable manner. TUN and TAP are virtual networking devices which allow userland applications to receive packets sent to it. The userland applications can also send their own packets to the devices and they will be forwarded to the kernel. https://github.com/LaKabane/libtuntap
14 lines
486 B
Text
14 lines
486 B
Text
--- CMakeLists.txt.orig 2016-10-29 14:49:34 UTC
|
|
+++ CMakeLists.txt
|
|
@@ -124,6 +124,11 @@ if(UNIX)
|
|
install(TARGETS tuntap DESTINATION lib)
|
|
install(TARGETS tuntap-static DESTINATION lib)
|
|
install(FILES tuntap.h DESTINATION include)
|
|
+ if(ENABLE_CXX)
|
|
+ install(TARGETS tuntap++ DESTINATION lib)
|
|
+ install(TARGETS tuntap++-static DESTINATION lib)
|
|
+ install(FILES bindings/cpp/tuntap++.hh DESTINATION include)
|
|
+ endif(ENABLE_CXX)
|
|
endif(UNIX)
|
|
|
|
include(CMakeLists.txt.local OPTIONAL)
|