Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Nov 2016 23:56:32 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426681 - head/devel/libzookeeper
Message-ID:  <201611202356.uAKNuWki042917@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Nov 20 23:56:32 2016
New Revision: 426681
URL: https://svnweb.freebsd.org/changeset/ports/426681

Log:
  - Do not use absolute pathname
  - Bump PORTREVISION for package change
  
  ====> Running Q/A tests (stage-qa)
  Warning: Bad symlink '/usr/local/lib/libzookeeper_mt.so' pointing to an absolute pathname '/usr/local/lib/libzookeeper_mt.so.2'
  Warning: Bad symlink '/usr/local/lib/libzookeeper_st.so' pointing to an absolute pathname '/usr/local/lib/libzookeeper_st.so.2'
  
  Approved by:	portmgr (blanket)

Modified:
  head/devel/libzookeeper/Makefile

Modified: head/devel/libzookeeper/Makefile
==============================================================================
--- head/devel/libzookeeper/Makefile	Sun Nov 20 23:56:27 2016	(r426680)
+++ head/devel/libzookeeper/Makefile	Sun Nov 20 23:56:32 2016	(r426681)
@@ -3,6 +3,7 @@
 
 PORTNAME=	zookeeper
 PORTVERSION=	3.4.9
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	APACHE/${PORTNAME}/current
 PKGNAMEPREFIX=	lib
@@ -25,11 +26,8 @@ USE_LDCONFIG=	yes
 WRKSRC=		${WRKDIR}/${DISTNAME}/src/c
 
 post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
-	(cd ${STAGEDIR}${PREFIX}/lib; \
-		${STRIP_CMD} libzookeeper_mt.so.2; \
-		${LN} -nsf ${PREFIX}/lib/libzookeeper_mt.so.2 libzookeeper_mt.so; \
-		${STRIP_CMD} libzookeeper_st.so.2; \
-		${LN} -nsf ${PREFIX}/lib/libzookeeper_st.so.2 libzookeeper_st.so )
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STAGEDIR}${PREFIX}/lib/*.so
+	${LN} -sf libzookeeper_mt.so.2 ${STAGEDIR}${PREFIX}/lib/libzookeeper_mt.so
+	${LN} -sf libzookeeper_st.so.2 ${STAGEDIR}${PREFIX}/lib/libzookeeper_st.so
 
 .include <bsd.port.mk>



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