Date: Wed, 03 Jul 2013 15:39:34 +0200 From: nemysis <nemysis@gmx.ch> To: FreeBSD-gnats-submit@freebsd.org Cc: jpaetzel@FreeBSD.org Subject: ports/180235: [MAINTAINER] audio/alure: Remove unnecessary STATIC LIB Message-ID: <0LpKY5-1UG6qV3D1x-00f8yx@mail.gmx.com> Resent-Message-ID: <201307031340.r63De0Ka051165@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 180235 >Category: ports >Synopsis: [MAINTAINER] audio/alure: Remove unnecessary STATIC LIB >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Jul 03 13:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.1-RELEASE-p8 amd64 >Organization: >Environment: System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p8 FreeBSD 9.1-RELEASE-p8 #0: Tue Jun 18 15:25:28 UTC 2013 >Description: - Bump portrevision - Trim Makefile header - Add DOCS EXAMPLES Option - Trim docs, examples - Remove unnecessary STATIC LIB - Trim typo \* --> . - Trim pkg-plist, remove docs, examples, static library Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports) >How-To-Repeat: Upstream has suggested to disable STATIC LIB and use dynamic libraries. Build log https://redports.org/buildarchive/20130703105100-12374/ >Fix: --- alure-1.2_2.patch begins here --- diff -ruN /usr/ports/audio/alure/Makefile ./Makefile --- /usr/ports/audio/alure/Makefile 2013-06-10 15:04:45.000000000 +0200 +++ ./Makefile 2013-07-03 12:49:12.000000000 +0200 @@ -1,9 +1,9 @@ -# Created by: nemysis@gmx.ch +# Created by: nemysis <nemysis@gmx.ch> # $FreeBSD: head/audio/alure/Makefile 320405 2013-06-09 19:30:58Z naddy $ PORTNAME= alure PORTVERSION= 1.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= http://kcat.strangesoft.net/alure-releases/ @@ -14,13 +14,16 @@ LIB_DEPENDS+= sndfile:${PORTSDIR}/audio/libsndfile +USES= cmake USE_OPENAL= soft USE_LDCONFIG= yes -USES= cmake CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -OPTIONS_DEFINE= VORBIS FLAC MPG123 DUMB MODPLUG FLUIDSYNTH DOCS EXAMPLES +PORTDOCS= * +PORTEXAMPLES= * + +OPTIONS_DEFINE= DOCS EXAMPLES VORBIS FLAC MPG123 DUMB MODPLUG FLUIDSYNTH OPTIONS_DEFAULT= VORBIS FLAC DUMB DUMB_DESC= DUMB audio library decoding support @@ -92,6 +95,7 @@ post-patch: @${REINPLACE_CMD} -e 's|lib$${LIB_SUFFIX}/pkgconfig|$${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|' \ + -e 's|"Build the static version of the library" ON)|"Build the static version of the library" OFF)|' \ -e 's|"ModPlug support (for IT/XM/S3M/MOD)" OFF)|"ModPlug support (for IT/XM/S3M/MOD)" ON)|' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's|/lib/pkgconfig|/libdata/pkgconfig|' \ @@ -110,8 +114,8 @@ post-install: .if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${EXAMPLESDIR} - @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) + @${MKDIR} ${EXAMPLESDIR} + @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) .endif .include <bsd.port.mk> diff -ruN /usr/ports/audio/alure/pkg-plist ./pkg-plist --- /usr/ports/audio/alure/pkg-plist 2013-06-02 19:00:34.000000000 +0200 +++ ./pkg-plist 2013-07-03 12:05:37.000000000 +0200 @@ -2,45 +2,8 @@ bin/alureplay bin/alurestream include/AL/alure.h -lib/libalure-static.a lib/libalure.so lib/libalure.so.1 lib/libalure.so.1.2.0 -libdata/pkgconfig/alure-static.pc libdata/pkgconfig/alure.pc -%%PORTDOCS%%%%DOCSDIR%%/html/files/alure-cpp.html -%%PORTDOCS%%%%DOCSDIR%%/html/files/buffer-cpp.html -%%PORTDOCS%%%%DOCSDIR%%/html/files/istream-cpp.html -%%PORTDOCS%%%%DOCSDIR%%/html/files/stream-cpp.html -%%PORTDOCS%%%%DOCSDIR%%/html/files/streamplay-cpp.html -%%PORTDOCS%%%%DOCSDIR%%/html/index.html -%%PORTDOCS%%%%DOCSDIR%%/html/index/Functions.html -%%PORTDOCS%%%%DOCSDIR%%/html/index/General.html -%%PORTDOCS%%%%DOCSDIR%%/html/javascript/main.js -%%PORTDOCS%%%%DOCSDIR%%/html/javascript/searchdata.js -%%PORTDOCS%%%%DOCSDIR%%/html/search/FunctionsA.html -%%PORTDOCS%%%%DOCSDIR%%/html/search/GeneralA.html -%%PORTDOCS%%%%DOCSDIR%%/html/search/GeneralF.html -%%PORTDOCS%%%%DOCSDIR%%/html/search/GeneralM.html -%%PORTDOCS%%%%DOCSDIR%%/html/search/GeneralS.html -%%PORTDOCS%%%%DOCSDIR%%/html/search/NoResults.html -%%PORTDOCS%%%%DOCSDIR%%/html/styles/1.css -%%PORTDOCS%%%%DOCSDIR%%/html/styles/2.css -%%PORTDOCS%%%%DOCSDIR%%/html/styles/main.css -%%PORTDOCS%%%%DOCSDIR%%/naturaldocs/CustomStyle.css -%%PORTDOCS%%%%DOCSDIR%%/naturaldocs/Languages.txt -%%PORTDOCS%%%%DOCSDIR%%/naturaldocs/Menu.txt -%%PORTDOCS%%%%DOCSDIR%%/naturaldocs/Topics.txt -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/alurecdplay.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/alureplay.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/alurestream.c -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%%/naturaldocs -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/styles -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/search -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/javascript -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/index -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/files -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html -%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrmtry include/AL --- alure-1.2_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: Severity: non-critical
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0LpKY5-1UG6qV3D1x-00f8yx>