Create symlinks for _pic versions of the libraries. They're already

built PIC but libtool only recognizes the _pic named libraries as
being PIC.
This is required for live555 support in vlc.

from Brad
This commit is contained in:
ajacoutot 2012-05-27 09:04:11 +00:00
parent d3ce0ab2e6
commit 38195679c7
2 changed files with 15 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.10 2012/02/28 17:55:47 stsp Exp $ # $OpenBSD: Makefile,v 1.11 2012/05/27 09:04:11 ajacoutot Exp $
SHARED_ONLY= Yes SHARED_ONLY= Yes
@ -6,6 +6,7 @@ COMMENT= LIVE555 streaming media library
DISTNAME= live.2012.02.04 DISTNAME= live.2012.02.04
PKGNAME= liveMedia-20120204 PKGNAME= liveMedia-20120204
REVISION= 0
CATEGORIES= net devel CATEGORIES= net devel
MASTER_SITES= http://comstyle.com/source/ MASTER_SITES= http://comstyle.com/source/
@ -47,12 +48,20 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/testProgs/sapWatch ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/testProgs/sapWatch ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/BasicUsageEnvironment/libBasicUsageEnvironment.a \ ${INSTALL_DATA} ${WRKSRC}/BasicUsageEnvironment/libBasicUsageEnvironment.a \
${PREFIX}/live/BasicUsageEnvironment/ ${PREFIX}/live/BasicUsageEnvironment/
ln -sf libBasicUsageEnvironment.a \
${PREFIX}/live/BasicUsageEnvironment/libBasicUsageEnvironment_pic.a
${INSTALL_DATA} ${WRKSRC}/UsageEnvironment/libUsageEnvironment.a \ ${INSTALL_DATA} ${WRKSRC}/UsageEnvironment/libUsageEnvironment.a \
${PREFIX}/live/UsageEnvironment/ ${PREFIX}/live/UsageEnvironment/
ln -sf libUsageEnvironment.a \
${PREFIX}/live/UsageEnvironment/libUsageEnvironment_pic.a
${INSTALL_DATA} ${WRKSRC}/groupsock/libgroupsock.a \ ${INSTALL_DATA} ${WRKSRC}/groupsock/libgroupsock.a \
${PREFIX}/live/groupsock/ ${PREFIX}/live/groupsock/
ln -sf libgroupsock.a \
${PREFIX}/live/groupsock/libgroupsock_pic.a
${INSTALL_DATA} ${WRKSRC}/liveMedia/libliveMedia.a \ ${INSTALL_DATA} ${WRKSRC}/liveMedia/libliveMedia.a \
${PREFIX}/live/liveMedia/ ${PREFIX}/live/liveMedia/
ln -sf libliveMedia.a \
${PREFIX}/live/liveMedia/libliveMedia_pic.a
cd ${WRKSRC}/BasicUsageEnvironment/include && \ cd ${WRKSRC}/BasicUsageEnvironment/include && \
${INSTALL_DATA} *.hh ${PREFIX}/live/BasicUsageEnvironment/include/ ${INSTALL_DATA} *.hh ${PREFIX}/live/BasicUsageEnvironment/include/
cd ${WRKSRC}/UsageEnvironment/include && \ cd ${WRKSRC}/UsageEnvironment/include && \

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.4 2012/02/28 17:55:47 stsp Exp $ @comment $OpenBSD: PLIST,v 1.5 2012/05/27 09:04:11 ajacoutot Exp $
@bin bin/openRTSP @bin bin/openRTSP
@bin bin/playSIP @bin bin/playSIP
@bin bin/sapWatch @bin bin/sapWatch
@ -12,6 +12,7 @@ live/BasicUsageEnvironment/include/BasicUsageEnvironment_version.hh
live/BasicUsageEnvironment/include/DelayQueue.hh live/BasicUsageEnvironment/include/DelayQueue.hh
live/BasicUsageEnvironment/include/HandlerSet.hh live/BasicUsageEnvironment/include/HandlerSet.hh
live/BasicUsageEnvironment/libBasicUsageEnvironment.a live/BasicUsageEnvironment/libBasicUsageEnvironment.a
live/BasicUsageEnvironment/libBasicUsageEnvironment_pic.a
live/UsageEnvironment/ live/UsageEnvironment/
live/UsageEnvironment/include/ live/UsageEnvironment/include/
live/UsageEnvironment/include/Boolean.hh live/UsageEnvironment/include/Boolean.hh
@ -20,6 +21,7 @@ live/UsageEnvironment/include/UsageEnvironment.hh
live/UsageEnvironment/include/UsageEnvironment_version.hh live/UsageEnvironment/include/UsageEnvironment_version.hh
live/UsageEnvironment/include/strDup.hh live/UsageEnvironment/include/strDup.hh
live/UsageEnvironment/libUsageEnvironment.a live/UsageEnvironment/libUsageEnvironment.a
live/UsageEnvironment/libUsageEnvironment_pic.a
live/groupsock/ live/groupsock/
live/groupsock/include/ live/groupsock/include/
live/groupsock/include/GroupEId.hh live/groupsock/include/GroupEId.hh
@ -32,6 +34,7 @@ live/groupsock/include/NetInterface.hh
live/groupsock/include/TunnelEncaps.hh live/groupsock/include/TunnelEncaps.hh
live/groupsock/include/groupsock_version.hh live/groupsock/include/groupsock_version.hh
live/groupsock/libgroupsock.a live/groupsock/libgroupsock.a
live/groupsock/libgroupsock_pic.a
live/liveMedia/ live/liveMedia/
live/liveMedia/include/ live/liveMedia/include/
live/liveMedia/include/AC3AudioFileServerMediaSubsession.hh live/liveMedia/include/AC3AudioFileServerMediaSubsession.hh
@ -165,3 +168,4 @@ live/liveMedia/include/liveMedia.hh
live/liveMedia/include/liveMedia_version.hh live/liveMedia/include/liveMedia_version.hh
live/liveMedia/include/uLawAudioFilter.hh live/liveMedia/include/uLawAudioFilter.hh
live/liveMedia/libliveMedia.a live/liveMedia/libliveMedia.a
live/liveMedia/libliveMedia_pic.a