Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Aug 2012 12:44:50 +0000 (UTC)
From:      Martin Matuska <mm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302177 - head/multimedia/ffmpeg
Message-ID:  <201208061244.q76CioDj037754@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208061244.q76CioDj037754>