summaryrefslogtreecommitdiff
path: root/emulators/dynamips-community/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
authorOlivier Cochard <olivier@FreeBSD.org>2017-04-27 09:43:41 +0000
committerOlivier Cochard <olivier@FreeBSD.org>2017-04-27 09:43:41 +0000
commit6d7cdc135f27cec1ff013936d53bc7df7b5b8aee (patch)
treee980af7be644bfda3ae5a7c00bde4b90ee211d9f /emulators/dynamips-community/files/patch-CMakeLists.txt
parentwww/py-django-redis: update to 4.8.0 (diff)
Update to 0.2.16 and fix tap interface usage.
PR: 218893 Submitted by: olivier Approved by: pavelivolkov@gmail.com (maintainer) Sponsored by: Orange
Diffstat (limited to 'emulators/dynamips-community/files/patch-CMakeLists.txt')
-rw-r--r--emulators/dynamips-community/files/patch-CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/dynamips-community/files/patch-CMakeLists.txt b/emulators/dynamips-community/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..3ace96c86f93
--- /dev/null
+++ b/emulators/dynamips-community/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2016-03-16 09:05:47 UTC
++++ CMakeLists.txt
+@@ -32,7 +32,7 @@ include ( utils )
+ include ( dependencies )
+ include ( configure )
+
+-if(APPLE)
++if( APPLE OR (CMAKE_SYSTEM_NAME MATCHES "FreeBSD") )
+ include_directories(include /usr/local/include/)
+ include_directories(include /opt/local/include/)
+ endif()