[Midnightbsd-cvs] mports [15997] trunk/deskutils/libstreamanalyzer/Makefile: fix build

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Mar 1 18:14:38 EST 2014


Revision: 15997
          http://svnweb.midnightbsd.org/mports/?rev=15997
Author:   laffer1
Date:     2014-03-01 18:14:35 -0500 (Sat, 01 Mar 2014)
Log Message:
-----------
fix build

Modified Paths:
--------------
    trunk/deskutils/libstreamanalyzer/Makefile

Modified: trunk/deskutils/libstreamanalyzer/Makefile
===================================================================
--- trunk/deskutils/libstreamanalyzer/Makefile	2014-03-01 21:26:06 UTC (rev 15996)
+++ trunk/deskutils/libstreamanalyzer/Makefile	2014-03-01 23:14:35 UTC (rev 15997)
@@ -2,7 +2,7 @@
 
 PORTNAME=	libstreamanalyzer
 PORTVERSION=	${STRIGI_VERSION}
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	deskutils
 MASTER_SITES=	${STRIGI_MASTER_SITES}
 
@@ -22,7 +22,7 @@
 
 # supported versions: ffmpeg, ffmpeg1, ffmpeg-devel
 # corresponding FFMPEG_SUFFIX: '', '1', '-devel'
-FFMPEG_SUFFIX?=	
+FFMPEG_SUFFIX?=
 CMAKE_ARGS+=	-DFFMPEG_SUFFIX:STRING="${FFMPEG_SUFFIX}"
 
 .if !empty(FFMPEG_SUFFIX)
@@ -38,4 +38,10 @@
 		${WRKSRC}/libstreamanalyzer/CMakeLists.txt
 
 .include <${.CURDIR}/../strigi/Makefile.common>
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if empty(ICONV_LIB)
+CMAKE_ARGS+=	-DICONV_LIBRARIES:STRING="/usr/lib/libc.so"
+.endif
+
+.include <bsd.port.post.mk>



More information about the Midnightbsd-cvs mailing list