Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (29 sloc) 0.98 kb
# $NetBSD: options.mk,v 1.5 2010/11/07 15:27:26 shattered Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.lame
PKG_SUPPORTED_OPTIONS= gtk sndfile unicode
.include "../../mk/bsd.options.mk"
PLIST_VARS+= gtk
.if !empty(PKG_OPTIONS:Mgtk)
CONFIGURE_ENV+= GTK_CONFIG=${BUILDLINK_PREFIX.gtk}/bin/gtk-config
CONFIGURE_ARGS+= --enable-mp3x
PLIST.gtk= yes
. include "../../x11/gtk/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Msndfile)
CONFIGURE_ARGS+= --with-fileio=sndfile
CONFIGURE_ARGS+= --with-sndfile-prefix=${BUILDLINK_PREFIX.libsndfile}
USE_TOOLS+= pkg-config
. include "../../audio/libsndfile/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Municode)
CFLAGS+= -DHAVE_ICONV
. include "../../converters/libiconv/buildlink3.mk"
.endif
# doesn't work
#.if !empty(PKG_OPTIONS:Mvorbis)
#CONFIGURE_ARGS+= --with-vorbis
#CONFIGURE_ARGS+= --with-vorbis-prefix=${BUILDLINK_PREFIX.libvorbis}
#. include "../../audio/libvorbis/buildlink3.mk"
#.else
#CONFIGURE_ARGS+= --without-vorbis
#.endif
Jump to Line
Something went wrong with that request. Please try again.