pkgsrc/comms/spandsp/options.mk
rodent 45251e3280 Updated to latest pre-release, 0.0.6pre21. No ChangeLog. pkgsrc changes:
Commented 2/3 patches. Added gsed to USE_TOOLS. Buildlink'd pthread. Added
fortran77 to USE_LANGUAGES. Included options.mk file to enable the user to
build with mmx, sse, and "tests" option, which uses pcap, X11, sndfile,
libxml2, fltk, and fftw to run some tests. All of these options are
disabled by default. Some of these changes were already present in
wip/spandsp and were merged into this package after its removal. All
PKG_OPTIONS are disabled by default. There are no noticeable changes to
the package from this update.
2013-06-09 22:36:12 +00:00

25 lines
694 B
Makefile

# $NetBSD: options.mk,v 1.1 2013/06/09 22:36:12 rodent Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.spandsp
PKG_SUPPORTED_OPTIONS= mmx sse tests
PKG_SUGGESTED_OPTIONS+= # blank
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mmmx)
CONFIGURE_ARGS+= --enable-mmx
.endif
.if !empty(PKG_OPTIONS:Msse)
CONFIGURE_ARGS+= --enable-sse
.endif
.if !empty(PKG_OPTIONS:Mtests)
.include "../../textproc/libxml2/buildlink3.mk"
CFLAGS+= -I${BUILDLINK_PREFIX.libxml2}/include/libxml2
.include "../../math/fftw/buildlink3.mk"
.include "../../x11/fltk/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../audio/libsndfile/buildlink3.mk"
.endif