svn commit: r302177 - head/multimedia/ffmpeg
Martin Matuska
mm at FreeBSD.org
Mon Aug 6 12:44:51 UTC 2012
Author: mm
Date: Mon Aug 6 12:44:50 2012
New Revision: 302177
URL: http://svn.freebsd.org/changeset/ports/302177
Log:
Link ffmpeg compat headers instead of copying
Modified:
head/multimedia/ffmpeg/Makefile
Modified: head/multimedia/ffmpeg/Makefile
==============================================================================
--- head/multimedia/ffmpeg/Makefile Mon Aug 6 12:43:51 2012 (r302176)
+++ head/multimedia/ffmpeg/Makefile Mon Aug 6 12:44:50 2012 (r302177)
@@ -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>
More information about the svn-ports-head
mailing list