From 18e77541cf77f21404a46e5ac8e27ef6612d4608 Mon Sep 17 00:00:00 2001 From: nork Date: Sat, 9 Dec 2006 14:46:27 +0000 Subject: Respect PTHREAD_LIBS. Approved by: nobutaka (maintainer) --- multimedia/libdvdnav/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'multimedia/libdvdnav') diff --git a/multimedia/libdvdnav/Makefile b/multimedia/libdvdnav/Makefile index e4f4a338ae9d..8835f705b23d 100644 --- a/multimedia/libdvdnav/Makefile +++ b/multimedia/libdvdnav/Makefile @@ -24,12 +24,12 @@ INSTALLS_SHLIB= yes USE_AUTOTOOLS= libtool:15 autoconf:259 post-patch: - @${REINPLACE_CMD} -e \ - 's|THREAD_LIBS=.*$$|THREAD_LIBS="\$$THREAD_LIBS"|g ; \ + ${REINPLACE_CMD} -e \ + 's|THREAD_LIBS="[^"]*"$$|THREAD_LIBS="\$$THREAD_LIBS"|g ; \ s|THREAD_CFLAGS=.*$$|THREAD_CFLAGS="\$$THREAD_CFLAGS"|g ; \ s|-L/usr/local/lib|-L${LOCALBASE}/lib|g ; \ s|-I/usr/local/include|-I${LOCALBASE}/include|g' \ - ${WRKSRC}/configure ${WRKSRC}/missing \ - ${WRKSRC}/aclocal.m4 ${WRKSRC}/autogen.sh + ${WRKSRC}/configure ${WRKSRC}/configure.ac \ + ${WRKSRC}/missing ${WRKSRC}/aclocal.m4 ${WRKSRC}/autogen.sh .include -- cgit