openbsd-ports/net/minbif/patches/patch-CMakeLists_txt

26 lines
1.4 KiB
Plaintext

$OpenBSD: patch-CMakeLists_txt,v 1.2 2010/10/23 12:48:29 landry Exp $
--- CMakeLists.txt.orig Sun May 16 09:37:39 2010
+++ CMakeLists.txt Sat Oct 23 14:37:42 2010
@@ -7,10 +7,10 @@ SET(CONF_NAME minbif.conf)
SET(MOTD_NAME minbif.motd)
IF(NOT MAN_PREFIX)
- SET(MAN_PREFIX ${CMAKE_INSTALL_PREFIX}/share/man/man8/)
+ SET(MAN_PREFIX ${CMAKE_INSTALL_PREFIX}/man/man8/)
ENDIF(NOT MAN_PREFIX)
IF(NOT CONF_PREFIX)
- SET(CONF_PREFIX ${CMAKE_INSTALL_PREFIX}/etc/minbif)
+ SET(CONF_PREFIX ${CMAKE_INSTALL_PREFIX}/share/examples/minbif)
ENDIF(NOT CONF_PREFIX)
IF(NOT DOC_PREFIX)
SET(DOC_PREFIX ${CMAKE_INSTALL_PREFIX}/share/doc/minbif)
@@ -99,7 +99,7 @@ ENDIF (ENABLE_TLS)
INCLUDE_DIRECTORIES(${PURPLE_INCLUDE_DIRS} ${GTHREAD_INCLUDE_DIRS} ${CACA_INCLUDE_DIRS} ${IMLIB_INCLUDE_DIRS} ${GSTREAMER_INCLUDE_DIRS} ${FARSIGHT_INCLUDE_DIRS} ${LIBXML_INCLUDE_DIRS} ${PAM_INCLUDE_DIRS} ${GNUTLS_INCLUDE_DIRS} "src/")
LINK_DIRECTORIES(${PURPLE_LIBRARY_DIRS} ${GTHREAD_LIBRARY_DIRS} ${CACA_LIBRARY_DIRS} ${IMLIB_LIBRARY_DIRS} ${GSTREAMER_LIBRARY_DIRS} ${FARSIGHT_LIBRARY_DIRS} ${LIBXML_LIBRARY_DIRS} ${GNUTLS_LIBRARY_DIRS})
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wno-unused-parameter")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wall -Wno-unused-parameter")
SET(CMAKE_CXX_FLAGS ${CMAKE_C_FLAGS})
IF(ENABLE_MINBIF)