Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2014 18:39:31 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r340094 - in branches/2014Q1/net-im/gloox: . files
Message-ID:  <201401171839.s0HIdVag019321@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Fri Jan 17 18:39:31 2014
New Revision: 340094
URL: http://svnweb.freebsd.org/changeset/ports/340094
QAT: https://qat.redports.org/buildarchive/r340094/

Log:
  MFH: r340030
  
  - Fix build on head/10
  - Support staging
  - Use new LIB_DEPENDS format
  - Unsilence post-install commands
  
  Approved by:	portmgr (antoine)

Added:
  branches/2014Q1/net-im/gloox/files/
     - copied from r340030, head/net-im/gloox/files/
Modified:
  branches/2014Q1/net-im/gloox/Makefile   (contents, props changed)
Directory Properties:
  branches/2014Q1/   (props changed)

Modified: branches/2014Q1/net-im/gloox/Makefile
==============================================================================
--- branches/2014Q1/net-im/gloox/Makefile	Fri Jan 17 18:21:42 2014	(r340093)
+++ branches/2014Q1/net-im/gloox/Makefile	Fri Jan 17 18:39:31 2014	(r340094)
@@ -10,8 +10,8 @@ MASTER_SITES=	http://camaya.net/download
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Jabber/XMPP client library
 
-LIB_DEPENDS=	idn.17:${PORTSDIR}/dns/libidn \
-		gnutls.26:${PORTSDIR}/security/gnutls
+LIB_DEPENDS=	libidn.so:${PORTSDIR}/dns/libidn \
+		libgnutls.so:${PORTSDIR}/security/gnutls
 
 USE_AUTOTOOLS=	libtool
 USE_BZIP2=	yes
@@ -21,13 +21,13 @@ CPPFLAGS+=	${CXXFLAGS} -I${LOCALBASE}/in
 LDFLAGS+=	-L${LOCALBASE}/lib
 USE_LDCONFIG=	yes
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|libgnutls-config|pkg-config gnutls|' ${WRKSRC}/configure
+
 post-install:
-	@${FIND} ${PREFIX}/include/gloox ! -type d | \
-		${SED} "s,${PREFIX}/,," >> ${TMPPLIST}
-	@${FIND} ${PREFIX}/include/gloox -type d | ${SORT} -r | \
-		${SED} "s,${PREFIX}/,@dirrm ," >> ${TMPPLIST}
+	${FIND} ${STAGEDIR}${PREFIX}/include/gloox ! -type d | \
+		${SED} "s,${STAGEDIR}${PREFIX}/,," >> ${TMPPLIST}
+	${FIND} ${STAGEDIR}${PREFIX}/include/gloox -type d | ${SORT} -r | \
+		${SED} "s,${STAGEDIR}${PREFIX}/,@dirrm ," >> ${TMPPLIST}
 
 .include <bsd.port.mk>



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