aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libdlna
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2008-03-22 18:54:23 +0800
committerehaupt <ehaupt@FreeBSD.org>2008-03-22 18:54:23 +0800
commitf159d8b2f7a8598247a660e2eea0debb779324ac (patch)
tree9ccf6f78dc1c8561243b830512b273e576fad5fc /devel/libdlna
parent0ae52ba389ec23a40645c94dfcbc84ab5b570ced (diff)
downloadfreebsd-ports-gnome-f159d8b2f7a8598247a660e2eea0debb779324ac.tar.gz
freebsd-ports-gnome-f159d8b2f7a8598247a660e2eea0debb779324ac.tar.zst
freebsd-ports-gnome-f159d8b2f7a8598247a660e2eea0debb779324ac.zip
The proprietary configure script wasn't able to find pthread under 6.x,
therefore it failed to build. This patch adds ${PTHREAD_LIBS} to LDFLAGS to fix this port under 6.x. Notified by: pointyhat (via pav)
Diffstat (limited to 'devel/libdlna')
-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 \