svn commit: r352010 - head/net/openh323
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu Apr 24 15:11:01 UTC 2014
Author: amdmi3
Date: Thu Apr 24 15:11:01 2014
New Revision: 352010
URL: http://svnweb.freebsd.org/changeset/ports/352010
QAT: https://qat.redports.org/buildarchive/r352010/
Log:
- Optionize
Modified:
head/net/openh323/Makefile
Modified: head/net/openh323/Makefile
==============================================================================
--- head/net/openh323/Makefile Thu Apr 24 15:01:05 2014 (r352009)
+++ head/net/openh323/Makefile Thu Apr 24 15:11:01 2014 (r352010)
@@ -29,19 +29,15 @@ CPPFLAGS+= -I${LOCALBASE}/include -I${WR
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV= BUILDTIME="YES"
-.include <bsd.port.pre.mk>
-
-.ifdef (WITH_FFMPEG)
-LIB_DEPENDS+= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg
-CONFIGURE_ARGS+= --enable-rfc2190avcodec=${LOCALBASE}/include/ffmpeg
-.endif
+OPTIONS_DEFINE= FFMPEG SPEEX
+FFMPEG_LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg
+FFMPEG_CONFIGURE_ON= --enable-rfc2190avcodec=${LOCALBASE}/include/ffmpeg
+
+SPEEX_LIB_DEPENDS= libspeex.so:${PORTSDIR}/audio/speex
+SPEEX_CONFIGURE_ON= --enable-localspeex=no
+SPEEX_CONFIGURE_OFF= --enable-localspeex=yes
-.ifdef (WITH_SPEEX)
-LIB_DEPENDS+= libspeex.so:${PORTSDIR}/audio/speex
-CONFIGURE_ARGS+= --enable-localspeex=no
-.else
-CONFIGURE_ARGS+= --enable-localspeex=yes
-.endif
+.include <bsd.port.pre.mk>
.if (${ARCH} == "amd64") || (${ARCH} == "ia64") || (${ARCH} == "powerpc") || (${ARCH} == "sparc64")
CFLAGS+= -fPIC
More information about the svn-ports-head
mailing list