From owner-svn-ports-all@FreeBSD.ORG Fri May 1 01:01:29 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 62C9C9DA; Fri, 1 May 2015 01:01:29 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 36994163F; Fri, 1 May 2015 01:01:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4111TXv075866; Fri, 1 May 2015 01:01:29 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4111Tfn075865; Fri, 1 May 2015 01:01:29 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201505010101.t4111Tfn075865@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Fri, 1 May 2015 01:01:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r385078 - head/math/hfst X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 May 2015 01:01:29 -0000 Author: jbeich Date: Fri May 1 01:01:28 2015 New Revision: 385078 URL: https://svnweb.freebsd.org/changeset/ports/385078 Log: math/hfst: unbreak build on DragonFly and fix libxml2 usage lang/gcc* by default search for includes and libraries under PREFIX/LOCALBASE unlike compilers from base. DragonFly has gcc 5.0 *in base*, so... checking for main in -lxml2... no checking for main in -lglib-2.0... no checking for library containing readline... no configure: error: readline test failed (--without-readline to disable) libxml2 while linked in isn't actually used due to the code being guarded by #if HAVE_LIBXML_TREE_H while checking for main in -lxml2... yes checking libxml/tree.h usability... no checking libxml/tree.h presence... no checking for libxml/tree.h... no Also, properly track readline dependency on 11.0C which was disabled since base r268461. Reported by: DPorts (bustage) Reported by: pkg-fallout (detection quirks) Approved by: portmgr blanket Modified: head/math/hfst/Makefile Modified: head/math/hfst/Makefile ============================================================================== --- head/math/hfst/Makefile Fri May 1 00:03:27 2015 (r385077) +++ head/math/hfst/Makefile Fri May 1 01:01:28 2015 (r385078) @@ -3,7 +3,7 @@ PORTNAME= hfst PORTVERSION= 3.7.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR=${PORTNAME}/${PORTNAME} @@ -11,11 +11,13 @@ MASTER_SITE_SUBDIR=${PORTNAME}/${PORTNAM MAINTAINER= demon@FreeBSD.org COMMENT= A toolkit for for processing natural language morphologies -USES= pkgconfig shebangfix libtool python:2 +USES= libtool pkgconfig python:2 readline shebangfix USE_GNOME= glib20 libxml2 USE_GCC= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-readline --with-unicode-handler=glib --enable-proc --enable-tagger --enable-xfst --enable-shuffle --enable-traverse +CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libxml2 +LDFLAGS+= -L${LOCALBASE}/lib SHEBANG_FILES= tools/src/hfst-tagger/src/hfst_tagger_compute_data_statistics.py USE_LDCONFIG= yes