From 38195679c7eceb5d0e9d4f901981da12044c2c1b Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Sun, 27 May 2012 09:04:11 +0000 Subject: [PATCH] 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 --- net/livemedia/Makefile | 11 ++++++++++- net/livemedia/pkg/PLIST | 6 +++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/net/livemedia/Makefile b/net/livemedia/Makefile index 45a028e448a..6da64031b81 100644 --- a/net/livemedia/Makefile +++ b/net/livemedia/Makefile @@ -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 @@ -6,6 +6,7 @@ COMMENT= LIVE555 streaming media library DISTNAME= live.2012.02.04 PKGNAME= liveMedia-20120204 +REVISION= 0 CATEGORIES= net devel MASTER_SITES= http://comstyle.com/source/ @@ -47,12 +48,20 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/testProgs/sapWatch ${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/BasicUsageEnvironment/libBasicUsageEnvironment.a \ ${PREFIX}/live/BasicUsageEnvironment/ + ln -sf libBasicUsageEnvironment.a \ + ${PREFIX}/live/BasicUsageEnvironment/libBasicUsageEnvironment_pic.a ${INSTALL_DATA} ${WRKSRC}/UsageEnvironment/libUsageEnvironment.a \ ${PREFIX}/live/UsageEnvironment/ + ln -sf libUsageEnvironment.a \ + ${PREFIX}/live/UsageEnvironment/libUsageEnvironment_pic.a ${INSTALL_DATA} ${WRKSRC}/groupsock/libgroupsock.a \ ${PREFIX}/live/groupsock/ + ln -sf libgroupsock.a \ + ${PREFIX}/live/groupsock/libgroupsock_pic.a ${INSTALL_DATA} ${WRKSRC}/liveMedia/libliveMedia.a \ ${PREFIX}/live/liveMedia/ + ln -sf libliveMedia.a \ + ${PREFIX}/live/liveMedia/libliveMedia_pic.a cd ${WRKSRC}/BasicUsageEnvironment/include && \ ${INSTALL_DATA} *.hh ${PREFIX}/live/BasicUsageEnvironment/include/ cd ${WRKSRC}/UsageEnvironment/include && \ diff --git a/net/livemedia/pkg/PLIST b/net/livemedia/pkg/PLIST index c8b9490bc7b..b82a8104e4a 100644 --- a/net/livemedia/pkg/PLIST +++ b/net/livemedia/pkg/PLIST @@ -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/playSIP @bin bin/sapWatch @@ -12,6 +12,7 @@ live/BasicUsageEnvironment/include/BasicUsageEnvironment_version.hh live/BasicUsageEnvironment/include/DelayQueue.hh live/BasicUsageEnvironment/include/HandlerSet.hh live/BasicUsageEnvironment/libBasicUsageEnvironment.a +live/BasicUsageEnvironment/libBasicUsageEnvironment_pic.a live/UsageEnvironment/ live/UsageEnvironment/include/ live/UsageEnvironment/include/Boolean.hh @@ -20,6 +21,7 @@ live/UsageEnvironment/include/UsageEnvironment.hh live/UsageEnvironment/include/UsageEnvironment_version.hh live/UsageEnvironment/include/strDup.hh live/UsageEnvironment/libUsageEnvironment.a +live/UsageEnvironment/libUsageEnvironment_pic.a live/groupsock/ live/groupsock/include/ live/groupsock/include/GroupEId.hh @@ -32,6 +34,7 @@ live/groupsock/include/NetInterface.hh live/groupsock/include/TunnelEncaps.hh live/groupsock/include/groupsock_version.hh live/groupsock/libgroupsock.a +live/groupsock/libgroupsock_pic.a live/liveMedia/ live/liveMedia/include/ live/liveMedia/include/AC3AudioFileServerMediaSubsession.hh @@ -165,3 +168,4 @@ live/liveMedia/include/liveMedia.hh live/liveMedia/include/liveMedia_version.hh live/liveMedia/include/uLawAudioFilter.hh live/liveMedia/libliveMedia.a +live/liveMedia/libliveMedia_pic.a