ports/97464: [PATCH] audio/speex: fix packaging when LOCALBASE != /usr/local
Sergei Kolobov
sergei at FreeBSD.org
Thu May 18 16:40:32 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list