aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mjpegtools
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-04-18 04:08:57 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-04-18 04:08:57 +0000
commitdb90ac6c588db64fbeeb4b4d17c8b0867b91aafb (patch)
tree3d310d34ec9e1345dd1edd7f07b2ffcac470be1e /multimedia/mjpegtools
parent8177536f1110d09f126ae1c5b51e28a432f124ee (diff)
downloadports-db90ac6c588db64fbeeb4b4d17c8b0867b91aafb.tar.gz
ports-db90ac6c588db64fbeeb4b4d17c8b0867b91aafb.zip
Notes
Diffstat (limited to 'multimedia/mjpegtools')
-rw-r--r--multimedia/mjpegtools/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/mjpegtools/Makefile b/multimedia/mjpegtools/Makefile
index 6373eee4b2bb..e9a111a4365b 100644
--- a/multimedia/mjpegtools/Makefile
+++ b/multimedia/mjpegtools/Makefile
@@ -97,7 +97,7 @@ CONFIGURE_ARGS+= --with-dv=${LOCALBASE}
.endif
#
.ifdef(WITH_LIBGNUGETOPT)
-LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+USE_GETOPT_LONG= yes
.endif
#
.ifdef(WITH_LIBMOVTAR)
@@ -172,6 +172,9 @@ post-patch:
@${REINPLACE_CMD} -E -e 's|(AVIPLAY_LIBS \=.*)|\1 -lgnugetopt|' \
${WRKSRC}/lavtools/Makefile.in
.endif
+# link to pthreads
+ @${REINPLACE_CMD} -E -e 's|(AVIPLAY_LIBS \=.*)|\1 ${PTHREAD_LIBS}|' \
+ ${WRKSRC}/lavtools/Makefile.in
post-configure:
@${CP} -f ${LOCALBASE}/bin/${LIBTOOL} ${WRKSRC}