Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Oct 2013 21:12:23 +0000 (UTC)
From:      Grzegorz Blach <gblach@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r329505 - head/net/ecore-con
Message-ID:  <201310052112.r95LCNqh046792@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gblach
Date: Sat Oct  5 21:12:23 2013
New Revision: 329505
URL: http://svnweb.freebsd.org/changeset/ports/329505

Log:
  - Convert USE_GMAKE=yes to USES=gmake
  - Convert to new LIB_DEPENDS syntax
  - Support staging
  
  Approved by:	crees, tabthorpe (mentors, implicit)

Modified:
  head/net/ecore-con/Makefile

Modified: head/net/ecore-con/Makefile
==============================================================================
--- head/net/ecore-con/Makefile	Sat Oct  5 21:04:40 2013	(r329504)
+++ head/net/ecore-con/Makefile	Sat Oct  5 21:12:23 2013	(r329505)
@@ -17,14 +17,12 @@ LICENSE=	BSD
 DIST_SUBDIR=	e17
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
 USE_EFL=	ecore libtool_hack
-USES=		pkgconfig
+USES=		gmake pkgconfig
 USE_LDCONFIG=	yes
 BUILD_WRKSRC=	${WRKSRC}/src/lib/ecore_con
 INSTALL_WRKSRC=	${BUILD_WRKSRC}
 
-NO_STAGE=	yes
 .include "../../devel/ecore-main/Makefile.inc"
 
 CONFIGURE_ARGS+=	--enable-ecore-con
@@ -36,14 +34,14 @@ OPTIONS_DEFAULT=CARES CURL SSL
 
 .if ${PORT_OPTIONS:MCARES}
 CONFIGURE_ARGS+=	--enable-cares
-LIB_DEPENDS+=		cares:${PORTSDIR}/dns/c-ares
+LIB_DEPENDS+=		libcares.so:${PORTSDIR}/dns/c-ares
 .else
 CONFIGURE_ARGS+=	--disable-cares
 .endif
 
 .if ${PORT_OPTIONS:MCURL}
 CONFIGURE_ARGS+=	--enable-curl
-LIB_DEPENDS+=		curl:${PORTSDIR}/ftp/curl
+LIB_DEPENDS+=		libcurl.so:${PORTSDIR}/ftp/curl
 .else
 CONFIGURE_ARGS+=	--disable-curl
 .endif
@@ -64,6 +62,6 @@ post-patch:
 post-install:
 	@${REINPLACE_CMD} 's/ openssl//' ${WRKSRC}/ecore-con.pc
 	${INSTALL_DATA} ${WRKSRC}/ecore-con.pc \
-		${PREFIX}/libdata/pkgconfig/
+		${STAGEDIR}${PREFIX}/libdata/pkgconfig/
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310052112.r95LCNqh046792>