Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2013 17:35:36 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r329915 - head/graphics/php5-ffmpeg
Message-ID:  <201310091735.r99HZaZ2017089@svn.freebsd.org>

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



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