From owner-freebsd-ports@FreeBSD.ORG Mon Jan 31 18:07:23 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E8D31065673 for ; Mon, 31 Jan 2011 18:07:23 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id B467B8FC19 for ; Mon, 31 Jan 2011 18:07:22 +0000 (UTC) Received: by bwz12 with SMTP id 12so5576040bwz.13 for ; Mon, 31 Jan 2011 10:07:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:from:date:message-id :subject:to:content-type; bh=vG/12M7gz3CIa628/SW1352L9jtYwU0CXnROBSfzsmo=; b=rtoowJU8tNmHO9qxohTHEGe+ELTsN8r66MDUreWveexrnhBJXmQ2fgMWp1PHHw22Qm DRV/luVLZzDGGH6EyPo/bSvv51jLPEK7bKnvKHIRYJ+ecYnM5PH/P41pOmORLN2celUz 75E4hxvtHDkeMA3VdjQBbgOcp8P0zU75VrDag= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:from:date:message-id:subject:to:content-type; b=ioKguY5k78Q/gLDuU3VsRDU+oTFCozay5V4/uW206272j1fLQQq408adTFjTxefxll C6UzYxiohYmDPpxIbMLOeTAj7EDqRxtidQJm/tk87gaHbVqDAvBqxbxLKfatkVlrhGEE i2SfCicNfLqKL31YUgeBB7yQjxr67eEt96yKM= Received: by 10.204.67.204 with SMTP id s12mr5701040bki.196.1296497241304; Mon, 31 Jan 2011 10:07:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.14.195 with HTTP; Mon, 31 Jan 2011 10:06:50 -0800 (PST) From: Chris Rees Date: Mon, 31 Jan 2011 18:06:50 +0000 Message-ID: To: ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: cmake and Freetype strangeness X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jan 2011 18:07:23 -0000 Hi all, I'm trying (still) to make a port for projectM. The one I've made works fine on my production system, but when I put it on my test system which has no ports installed, it throws a tantrum. I've added the depends: LIB_DEPENDS= ftgl:${PORTSDIR}/graphics/ftgl \ GLEW:${PORTSDIR}/graphics/glew \ freetype:${PORTSDIR}/print/freetype2 which should be enough, according to the cmake error, but it still happens! Why can't cmake find Freetype??? # make ===> projectM-2.0.1 depends on file: /usr/local/bin/cmake - found ===> projectM-2.0.1 depends on shared library: ftgl - found ===> projectM-2.0.1 depends on shared library: GLEW - found ===> projectM-2.0.1 depends on shared library: freetype - found ===> projectM-2.0.1 depends on shared library: ttf - found ===> Configuring for projectM-2.0.1 /bin/mkdir -p /tmp/portwork/usr/home/chris/projectm/work/projectM-2.0.1-Source ************************************ Necessary libfreetype2 files not found FREETYPE2_INCLUDE_DIR = FREETYPE2_INCLUDE_DIR-NOTFOUND FREETYPE2_FT_CONFIG = /usr/local FREETYPE2_LIBRARIES = FREETYPE2_LIBRARIES-NOTFOUND libfreetype will be build locally ************************************ CMake Error at cmake/FindFreetype2.cmake:148 (EXECUTE_PROCESS): execute_process called with no value for WORKING_DIRECTORY. Call Stack (most recent call first): CMakeLists.txt:97 (find_package) ERROR freetype library not found on the system and could not be build Using FREETYPE2_INCLUDE_DIR = FREETYPE2_INCLUDE_DIR-NOTFOUND Using FREETYPE2_FT_CONFIG = /usr/local Using FREETYPE2_LIBRARIES = FREETYPE2_LIBRARIES-NOTFOUND -- [projectM] FTGL font support was detected and enabled. CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: FREETYPE2_INCLUDE_DIR used as include directory in directory /tmp/portwork/usr/home/chris/projectm/work/projectM-2.0.1-Source used as include directory in directory /tmp/portwork/usr/home/chris/projectm/work/projectM-2.0.1-Source/Renderer -- Configuring incomplete, errors occurred! You have changed variables that require your cache to be deleted. Configure will be re-run and you may have to reset some variables. The following variables have changed: CMAKE_C_COMPILER= cc CMAKE_CXX_COMPILER= c++ -- Generating done -- Build files have been written to: /tmp/portwork/usr/home/chris/projectm/work/projectM-2.0.1-Source *** Error code 1 Stop in /usr/home/chris/projectm. testing#