aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2012-08-06 20:44:50 +0800
committermm <mm@FreeBSD.org>2012-08-06 20:44:50 +0800
commitaebe63a8e5d01dbb0ac365cf505ce5a2616b246c (patch)
treed2cda7523a0ea5d743106ac52f104aa7faac48c7 /multimedia
parent328e987ee990b6d65bccdd374fcac6af4af68fd4 (diff)
downloadfreebsd-ports-graphics-aebe63a8e5d01dbb0ac365cf505ce5a2616b246c.tar.gz
freebsd-ports-graphics-aebe63a8e5d01dbb0ac365cf505ce5a2616b246c.tar.zst
freebsd-ports-graphics-aebe63a8e5d01dbb0ac365cf505ce5a2616b246c.zip
Link ffmpeg compat headers instead of copying
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ffmpeg/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index c9ad74d8476..c75022653fc 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -6,7 +6,7 @@
PORTNAME= ffmpeg
PORTVERSION= 0.7.13
-PORTREVISION= 5
+PORTREVISION= 6
PORTEPOCH= 1
CATEGORIES= multimedia audio ipv6 net
MASTER_SITES= http://ffmpeg.org/releases/
@@ -442,10 +442,10 @@ post-install:
.endif
${MKDIR} ${PREFIX}/include/ffmpeg
.for FILE in ${COMPAT_HEADERS}
- ${CP} -f ${PREFIX}/include/${FILE} ${PREFIX}/include/ffmpeg/${FILE:C,^[^/]+/([^/]+).*,\1,}
+ ${LN} -sf ../${FILE} ${PREFIX}/include/ffmpeg/${FILE:C,^[^/]+/([^/]+).*,\1,}
.endfor
${MKDIR} ${PREFIX}/include/postproc
- ${CP} -f ${PREFIX}/include/libpostproc/postprocess.h \
- ${PREFIX}/include/postproc/
+ ${LN} -sf ../libpostproc/postprocess.h \
+ ${PREFIX}/include/postproc/postprocess.h
.include <bsd.port.post.mk>