svn commit: r329915 - head/graphics/php5-ffmpeg

William Grzybowski wg at FreeBSD.org
Wed Oct 9 17:35:37 UTC 2013


Author: wg
Date: Wed Oct  9 17:35:36 2013
New Revision: 329915
URL: http://svnweb.freebsd.org/changeset/ports/329915

Log:
  graphics/php5-ffmpeg: fix link with ffmpeg0
  
  - Fix link with ffmpeg0
  
  Approved by:	portmgr (bapt, implicit)

Modified:
  head/graphics/php5-ffmpeg/Makefile

Modified: head/graphics/php5-ffmpeg/Makefile
==============================================================================
--- head/graphics/php5-ffmpeg/Makefile	Wed Oct  9 17:24:33 2013	(r329914)
+++ head/graphics/php5-ffmpeg/Makefile	Wed Oct  9 17:35:36 2013	(r329915)
@@ -16,7 +16,7 @@ COMMENT=	The ffmpeg shared extension for
 LIB_DEPENDS=	libgd.so:${PORTSDIR}/graphics/gd \
 		libavutil0.so:${PORTSDIR}/multimedia/ffmpeg0
 
-CFLAGS+=	-I${LOCALBASE}/include
+CFLAGS+=	-I${LOCALBASE}/include/ffmpeg0
 LDFLAGS+=	-L${LOCALBASE}/lib/ffmpeg0
 USE_BZIP2=	yes
 USE_PHP=	yes
@@ -41,6 +41,8 @@ pre-configure:
 		-e 's,lavformat,lavformat0,g' \
 		-e 's,lavutil,lavutil0,g' \
 		-e 's,lswscale,lswscale0,g' \
+		-e 's,include/libavcodec,include/ffmpeg0/libavcodec,g' \
+		-e 's,/libavcodec.so,/ffmpeg0/libavcodec0.so,g' \
 		${WRKSRC}/configure
 
 post-configure:


More information about the svn-ports-head mailing list