Date: 18 May 2006 16:33:44 -0000 From: Sergei Kolobov <sergei@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: ahze@FreeBSD.org Subject: ports/97464: [PATCH] audio/speex: fix packaging when LOCALBASE != /usr/local Message-ID: <20060518163344.39096.qmail@anarion.elendil.ru> Resent-Message-ID: <200605181640.k4IGeIM6098746@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 97464 >Category: ports >Synopsis: [PATCH] audio/speex: fix packaging when LOCALBASE != /usr/local >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu May 18 16:40:18 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Sergei Kolobov >Release: FreeBSD 7.0-CURRENT i386 >Organization: Elendil LLC >Environment: System: FreeBSD anarion.elendil.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Apr 20 03:19:04 MSD 2006 >Description: - Use configure script --with-ogg-dir argument to specify devel/libogg dependency location instead of explicitly passing modified CPPFLAGS and LDFLAGS variables. This gives configure script a chance to do the right thing when detecting libogg if ${LOCALBASE} != "/usr/local" Port maintainer (ahze@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- speex-1.0.5_1,1.patch begins here --- Index: Makefile =================================================================== RCS file: /data/cvs/FreeBSD/ports/audio/speex/Makefile,v retrieving revision 1.41 diff -u -u -r1.41 Makefile --- Makefile 3 May 2006 05:14:28 -0000 1.41 +++ Makefile 18 May 2006 16:29:17 -0000 @@ -27,14 +27,11 @@ USE_GETOPT_LONG=yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +CONFIGURE_ARGS= --with-ogg-dir=${LOCALBASE} INSTALLS_SHLIB= yes MAN1= speexdec.1 speexenc.1 -CPPFLAGS= -I${LOCALBASE}/include -LDFLAGS= -L${LOCALBASE}/lib - post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|doc win32|win32|g ; \ --- speex-1.0.5_1,1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060518163344.39096.qmail>