diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-10-08 20:07:58 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-10-08 20:07:58 +0000 |
commit | 4c66780e4e58457fc7e78f9946dcf1f69c65272b (patch) | |
tree | 20aef8d448785f03d79396d387b1004b23d9eb46 /textproc/libextractor | |
parent | 47b211d30384f1b5badd65b288da5309bcba4eb4 (diff) | |
download | ports-4c66780e4e58457fc7e78f9946dcf1f69c65272b.tar.gz ports-4c66780e4e58457fc7e78f9946dcf1f69c65272b.zip |
textproc/libextractor: link using ffmpeg0
- Link using ffmpeg0
Approved by: portmgr
Notes
Notes:
svn path=/head/; revision=329833
Diffstat (limited to 'textproc/libextractor')
-rw-r--r-- | textproc/libextractor/Makefile | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/textproc/libextractor/Makefile b/textproc/libextractor/Makefile index 551c52aedc97..e1cf6b16c5ee 100644 --- a/textproc/libextractor/Makefile +++ b/textproc/libextractor/Makefile @@ -3,7 +3,7 @@ PORTNAME= libextractor PORTVERSION= 0.6.2 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -18,8 +18,8 @@ USE_AUTOTOOLS= libltdl GNU_CONFIGURE= yes USE_LDCONFIG= ${PREFIX}/lib/libextractor CONFIGURE_ARGS= --disable-ltdl-install -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +CPPFLAGS+= -I${LOCALBASE}/include/ffmpeg0 -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib/ffmpeg0 -L${LOCALBASE}/lib MAKE_JOBS_UNSAFE= yes EXTRACT_AFTER_ARGS= --exclude libltdl @@ -35,7 +35,12 @@ OPTIONS_DEFAULT= EXIV2 FLAC MPEG2 VORBIS GSF POPPLER RPM QT FFMPEG NO_STAGE= yes post-patch: @${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH} -f - @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \ + @${REINPLACE_CMD} \ + -e 's|-lpthread|${PTHREAD_LIBS}|g' \ + -e 's|-lavcodec|-lavcodec0|g' \ + -e 's|-lavformat|-lavformat0|g' \ + -e 's|-lswscale|-lswscale0|g' \ + -e 's|-lavutil|-lavutil0|g' \ ${WRKSRC}/src/plugins/Makefile.* @${REINPLACE_CMD} -e 's|-lc_r|${PTHREAD_LIBS}|g' \ -e 's|-lstdc++||g' \ @@ -120,10 +125,10 @@ PLIST_SUB+= QT="@comment " # FFMPEG can be disabled .if ${PORT_OPTIONS:MFFMPEG} -LIB_DEPENDS+= avformat:${PORTSDIR}/multimedia/ffmpeg -LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg -LIB_DEPENDS+= swscale:${PORTSDIR}/multimedia/ffmpeg -LIB_DEPENDS+= avutil:${PORTSDIR}/multimedia/ffmpeg +LIB_DEPENDS+= libavformat0.so:${PORTSDIR}/multimedia/ffmpeg0 +LIB_DEPENDS+= libavcodec0.so:${PORTSDIR}/multimedia/ffmpeg0 +LIB_DEPENDS+= libswscale0.so:${PORTSDIR}/multimedia/ffmpeg0 +LIB_DEPENDS+= libavutil0.so:${PORTSDIR}/multimedia/ffmpeg0 CONFIGURE_ARGS+=--enable-ffmpeg PLIST_SUB+= FFMPEG="" .else |