From owner-svn-ports-head@FreeBSD.ORG Sun May 25 18:47:55 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B6EB3845; Sun, 25 May 2014 18:47:55 +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 A3CBA2755; Sun, 25 May 2014 18:47:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4PIltKn004691; Sun, 25 May 2014 18:47:55 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4PIltKm004690; Sun, 25 May 2014 18:47:55 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201405251847.s4PIltKm004690@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Sun, 25 May 2014 18:47:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r355264 - head/science/libkml X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2014 18:47:55 -0000 Author: sunpoet Date: Sun May 25 18:47:55 2014 New Revision: 355264 URL: http://svnweb.freebsd.org/changeset/ports/355264 QAT: https://qat.redports.org/buildarchive/r355264/ Log: - Add SWIG option PR: ports/172660 Submitted by: Rainer Hurling Modified: head/science/libkml/Makefile Modified: head/science/libkml/Makefile ============================================================================== --- head/science/libkml/Makefile Sun May 25 18:45:00 2014 (r355263) +++ head/science/libkml/Makefile Sun May 25 18:47:55 2014 (r355264) @@ -15,13 +15,18 @@ LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${LOCALBASE}/bin/curl-config:${PORTSDIR}/ftp/curl \ ${LOCALBASE}/include/expat.h:${PORTSDIR}/textproc/expat2 -CONFIGURE_ARGS= --disable-java --disable-python --disable-swig \ +OPTIONS_DEFINE= SWIG + +CONFIGURE_ARGS= --disable-java --disable-python \ --with-expat-include-dir=${LOCALBASE}/include \ --with-expat-lib-dir=${LOCALBASE}/lib GNU_CONFIGURE= yes USE_LDCONFIG= yes USES= gmake libtool +SWIG_BUILD_DEPENDS= ${LOCALBASE}/bin/swig:${PORTSDIR}/devel/swig13 +SWIG_CONFIGURE_OFF= --disable-swig + post-patch: @${REINPLACE_CMD} -e '/SWIG_VERSION:4/ s|:4|#*.*.|' ${WRKSRC}/configure @${FIND} ${WRKSRC} -name Makefile.in -exec ${REINPLACE_CMD} 's|-Werror||; s| -ansi -pedantic||' '{}' \;