mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
b87912a5c3
PR: ports/164126 Submitted by: Yuri Pankov <yuri.pankov@gmail.com>
20 lines
727 B
Plaintext
20 lines
727 B
Plaintext
--- ./wodim/CMakeLists.txt.orig 2007-05-30 21:55:02.000000000 +0400
|
|
+++ ./wodim/CMakeLists.txt 2012-01-14 20:56:17.754839146 +0400
|
|
@@ -9,16 +9,6 @@
|
|
|
|
INCLUDE(CheckIncludeFiles)
|
|
|
|
-#force libcap usage on Linux
|
|
-CHECK_INCLUDE_FILES("sys/capability.h" HAVE_SYS_CAPABILITY_H)
|
|
-IF(HAVE_SYS_CAPABILITY_H)
|
|
- LIST(APPEND EXTRA_LIBS cap)
|
|
-ELSE(HAVE_SYS_CAPABILITY_H)
|
|
- IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
|
- MESSAGE(FATAL_ERROR "Error: found a Linux system but no libcap header. Install libcap-dev.")
|
|
- ENDIF(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
|
-ENDIF(HAVE_SYS_CAPABILITY_H)
|
|
-
|
|
LINK_DIRECTORIES(../librols ../libusal ../libedc)
|
|
|
|
ADD_DEFINITIONS(-DHAVE_LIB_EDC_ECC -DCLONE_WRITE -DDRV_DVD -DFIFO -DAUINFO -DUSE_LARGEFILES )
|