- 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)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2016-11-20 23:56:32 +00:00
parent f45777776d
commit ed69deab30
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=426681

View file

@ -3,6 +3,7 @@
PORTNAME= zookeeper PORTNAME= zookeeper
PORTVERSION= 3.4.9 PORTVERSION= 3.4.9
PORTREVISION= 1
CATEGORIES= devel CATEGORIES= devel
MASTER_SITES= APACHE/${PORTNAME}/current MASTER_SITES= APACHE/${PORTNAME}/current
PKGNAMEPREFIX= lib PKGNAMEPREFIX= lib
@ -25,11 +26,8 @@ USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/src/c WRKSRC= ${WRKDIR}/${DISTNAME}/src/c
post-install: post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STAGEDIR}${PREFIX}/lib/*.so
(cd ${STAGEDIR}${PREFIX}/lib; \ ${LN} -sf libzookeeper_mt.so.2 ${STAGEDIR}${PREFIX}/lib/libzookeeper_mt.so
${STRIP_CMD} libzookeeper_mt.so.2; \ ${LN} -sf libzookeeper_st.so.2 ${STAGEDIR}${PREFIX}/lib/libzookeeper_st.so
${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 )
.include <bsd.port.mk> .include <bsd.port.mk>