svn commit: r400815 - head/science/libkml

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Wed Nov 4 20:17:15 UTC 2015


Author: sunpoet
Date: Wed Nov  4 20:17:14 2015
New Revision: 400815
URL: https://svnweb.freebsd.org/changeset/ports/400815

Log:
  - Update BUILD_DEPENDS: remove redundant LOCALBASE/bin
  - Use USES=localbase

Modified:
  head/science/libkml/Makefile

Modified: head/science/libkml/Makefile
==============================================================================
--- head/science/libkml/Makefile	Wed Nov  4 20:15:35 2015	(r400814)
+++ head/science/libkml/Makefile	Wed Nov  4 20:17:14 2015	(r400815)
@@ -12,24 +12,22 @@ COMMENT=	Library for parse, generate, an
 
 LICENSE=	BSD3CLAUSE
 
-BUILD_DEPENDS=	${LOCALBASE}/bin/curl-config:${PORTSDIR}/ftp/curl \
+BUILD_DEPENDS=	curl-config:${PORTSDIR}/ftp/curl \
 		${LOCALBASE}/include/expat.h:${PORTSDIR}/textproc/expat2
 LIB_DEPENDS=	liburiparser.so:${PORTSDIR}/net/uriparser
 
 OPTIONS_DEFINE=	SWIG
 
-CONFIGURE_ARGS=	--disable-java --disable-python \
-		--with-expat-include-dir=${LOCALBASE}/include \
-		--with-expat-lib-dir=${LOCALBASE}/lib
+CONFIGURE_ARGS=	--disable-java --disable-python
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
-USES=		autoreconf gmake libtool
+USES=		autoreconf gmake libtool localbase
 
 GH_ACCOUNT=	google
 USE_GITHUB=	yes
 
-SWIG_BUILD_DEPENDS=	${LOCALBASE}/bin/swig:${PORTSDIR}/devel/swig13
+SWIG_BUILD_DEPENDS=	swig:${PORTSDIR}/devel/swig13
 SWIG_CONFIGURE_OFF=	--disable-swig
 
 post-patch:


More information about the svn-ports-all mailing list