aboutsummaryrefslogtreecommitdiffstats
path: root/audio/speex
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2006-05-19 00:42:31 +0800
committersergei <sergei@FreeBSD.org>2006-05-19 00:42:31 +0800
commit28449dc4951fb9ee658a774d0479e720637997d7 (patch)
tree95a2f91352a821b2aec18035bed0b902799d9ce4 /audio/speex
parent295d28df55fc21d1e76d9aaae4fa75c692b74f3e (diff)
downloadfreebsd-ports-gnome-28449dc4951fb9ee658a774d0479e720637997d7.tar.gz
freebsd-ports-gnome-28449dc4951fb9ee658a774d0479e720637997d7.tar.zst
freebsd-ports-gnome-28449dc4951fb9ee658a774d0479e720637997d7.zip
- 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" PR: ports/97464 Submitted by: sergei Approved by: ahze (maintainer)
Diffstat (limited to 'audio/speex')
-rw-r--r--audio/speex/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/audio/speex/Makefile b/audio/speex/Makefile
index 66fa57987e6c..f786ce816d7e 100644
--- a/audio/speex/Makefile
+++ b/audio/speex/Makefile
@@ -27,14 +27,11 @@ USE_GNOME= gnomehack
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 ; \