aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/libdlna/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/libdlna/Makefile b/devel/libdlna/Makefile
index e4128f4f81ea..4022ddf098a8 100644
--- a/devel/libdlna/Makefile
+++ b/devel/libdlna/Makefile
@@ -15,8 +15,7 @@ MASTER_SITES= http://libdlna.geexbox.org/releases/ \
MAINTAINER= malus.x@gmail.com
COMMENT= Reference DLNA open-source implementation
-LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg \
- avformat:${PORTSDIR}/multimedia/ffmpeg
+LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg
HAS_CONFIGURE= yes
USE_BZIP2= yes
@@ -24,10 +23,13 @@ USE_GMAKE= yes
USE_GNOME= pkgconfig
USE_LDCONFIG= yes
-CONFIGURE_ARGS+= --prefix="${PREFIX}" --disable-optimize
-CONFIGURE_ENV+= LDFLAGS=-L${LOCALBASE}/lib
+CONFIGURE_ARGS+= --prefix="${PREFIX}" --disable-optimize \
+ --includedir=${LOCALBASE}/include \
+ --libdir=${LOCALBASE}/lib
+CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}"
CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
post-patch:
@${REINPLACE_CMD} -e \