From owner-svn-ports-head@FreeBSD.ORG Mon Mar 11 14:38:11 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 849432AE; Mon, 11 Mar 2013 14:38:11 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 76D5680E; Mon, 11 Mar 2013 14:38:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r2BEcBR1070812; Mon, 11 Mar 2013 14:38:11 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r2BEcB90070811; Mon, 11 Mar 2013 14:38:11 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201303111438.r2BEcB90070811@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Mon, 11 Mar 2013 14:38:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r313912 - head/graphics/ruby-gdal 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.14 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: Mon, 11 Mar 2013 14:38:11 -0000 Author: sunpoet Date: Mon Mar 11 14:38:10 2013 New Revision: 313912 URL: http://svnweb.freebsd.org/changeset/ports/313912 Log: - Use pre-configure: instead of pre-build: - Cleanup Makefile Modified: head/graphics/ruby-gdal/Makefile Modified: head/graphics/ruby-gdal/Makefile ============================================================================== --- head/graphics/ruby-gdal/Makefile Mon Mar 11 14:37:20 2013 (r313911) +++ head/graphics/ruby-gdal/Makefile Mon Mar 11 14:38:10 2013 (r313912) @@ -14,7 +14,6 @@ COMMENT= Ruby binding for GDAL LICENSE= MIT -#BUILD_DEPENDS= ${LOCALBASE}/bin/swig:${PORTSDIR}/devel/swig13 BUILD_DEPENDS= ${LOCALBASE}/bin/swig2.0:${PORTSDIR}/devel/swig20 LIB_DEPENDS= gdal:${PORTSDIR}/graphics/gdal @@ -33,8 +32,8 @@ post-patch: do-configure: @${DO_NADA} -# include/cpl_config.h will exist after build phase -pre-build: +# include/cpl_config.h will only exist after graphics/gdal (build dependency) installed +pre-configure: @${SED} -e '/^GDAL_ROOT/d' ${DATADIR}/GDALmake.opt > ${WRKSRC}/../../GDALmake.opt @${CP} ${LOCALBASE}/include/cpl_config.h ${WRKSRC}/../../port/