$OpenBSD: patch-source_g3d_viewer_CMakeLists_txt,v 1.2 2015/04/06 12:49:52 stsp Exp $
Program fails to start ("unable to init GTK") when help2man runs it.
--- source/g3d_viewer/CMakeLists.txt.orig	Mon Mar  9 00:09:09 2015
+++ source/g3d_viewer/CMakeLists.txt	Mon Apr  6 10:26:10 2015
@@ -166,7 +166,7 @@ IF(BUILD_MEGAGLEST_MODEL_VIEWER)
 	ENDIF()
 	TARGET_LINK_LIBRARIES(${TARGET_NAME} ${EXTERNAL_LIBS})
 
-	IF(EXISTS ${HELP2MAN})
+	IF(FALSE)
 		MESSAGE("***-- Found help2man: ${HELP2MAN} about to build manpage in [${HELP2MAN_OUT_PATH}${TARGET_NAME_MANPAGE}]")
 
                 SET(MG_MANPAGE_DESCRIPTION "G3D Model editor for the popular 3D realtime strategy game")
@@ -191,7 +191,7 @@ IF(BUILD_MEGAGLEST_MODEL_VIEWER)
 		        ${TARGET_NAME} 
 		        DESTINATION ${MEGAGLEST_BIN_INSTALL_PATH})
 
-	        IF(EXISTS ${HELP2MAN})
+	        IF(FALSE)
          		MESSAGE(STATUS "**NOTE: Will Install manpage [${TARGET_NAME_MANPAGE}] to [${MEGAGLEST_MANPAGE_INSTALL_PATH}]")	
 
 		        # Installation of the program manpage file
