mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Fix resindvd has /dev/dvd hardcoded as the default DVD path, thus making programs like KDE Dragon Player (using Phonon-GStreamer) fail.
PR: ports/162278 Submitted by: avilla@ Feature safe: yes
This commit is contained in:
parent
0ce6b6d2a2
commit
58bdabb782
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287111
@ -5,7 +5,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= multimedia
|
||||
|
||||
COMMENT= Gstreamer resindvd plugin
|
||||
|
@ -129,6 +129,9 @@ post-patch:
|
||||
.if ${DIST}=="bad"
|
||||
@${REINPLACE_CMD} -e 's|opencv <= 2.2.0|opencv <= 2.3.9|g' \
|
||||
${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|g' \
|
||||
${WRKSRC}/ext/resindvd/resindvdbin.c \
|
||||
${WRKSRC}/ext/resindvd/resindvdsrc.c
|
||||
.endif
|
||||
@${FIND} ${WRKSRC}/ext -name Makefile.in | \
|
||||
${XARGS} -n 10 ${REINPLACE_CMD} -e \
|
||||
|
Loading…
Reference in New Issue
Block a user