aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-11-05 04:17:14 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-11-05 04:17:14 +0800
commit7a514b77ce0a0151f0852a90cfc912dd14cc7cd4 (patch)
tree52c57b4c0fae2a060e156e629748ea0d0d0903c1 /science
parentaac51a2e4314d61598b0a572e15e507270fda40b (diff)
downloadfreebsd-ports-gnome-7a514b77ce0a0151f0852a90cfc912dd14cc7cd4.tar.gz
freebsd-ports-gnome-7a514b77ce0a0151f0852a90cfc912dd14cc7cd4.tar.zst
freebsd-ports-gnome-7a514b77ce0a0151f0852a90cfc912dd14cc7cd4.zip
- Update BUILD_DEPENDS: remove redundant LOCALBASE/bin
- Use USES=localbase
Diffstat (limited to 'science')
-rw-r--r--science/libkml/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/science/libkml/Makefile b/science/libkml/Makefile
index ddb6c405a792..a1345e3007a8 100644
--- a/science/libkml/Makefile
+++ b/science/libkml/Makefile
@@ -12,24 +12,22 @@ COMMENT= Library for parse, generate, and operate on KML
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: