diff options
author | Chris Rees <crees@FreeBSD.org> | 2013-06-27 05:14:56 +0800 |
---|---|---|
committer | Chris Rees <crees@FreeBSD.org> | 2013-06-27 05:14:56 +0800 |
commit | 22ecc41fd727245ab810b94acfd1562e809ce2e3 (patch) | |
tree | 81ba56f60f0b41071262cc393b9fc5e224ff4c6c /audio | |
parent | cc6d276d140a759cee728d079eddb89726bbbeef (diff) | |
download | freebsd-ports-gnome-22ecc41fd727245ab810b94acfd1562e809ce2e3.tar.gz freebsd-ports-gnome-22ecc41fd727245ab810b94acfd1562e809ce2e3.tar.zst freebsd-ports-gnome-22ecc41fd727245ab810b94acfd1562e809ce2e3.zip |
Add SQLITE3 option
Diffstat (limited to 'audio')
-rw-r--r-- | audio/musicpd/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/audio/musicpd/Makefile b/audio/musicpd/Makefile index 874f9587a36e..57e2a574aba3 100644 --- a/audio/musicpd/Makefile +++ b/audio/musicpd/Makefile @@ -37,11 +37,11 @@ SUB_FILES= pkg-message OPTIONS_DEFINE= ID3TAG IPV6 FLAC VORBIS WAV FFMPEG TREMOR AAC \ MUSEPACK MIKMOD MODPLUG ARCHIVE MMS LASTFM AO PULSEAUDIO \ - JACK SHOUTCAST SNDFILE LAME HTTPD SAMPLERATE CUE + JACK SHOUTCAST SNDFILE LAME HTTPD SAMPLERATE CUE SQLITE3 OPTIONS_RADIO= ZEROCONF OPTIONS_RADIO_ZEROCONF= AVAHI MDNSRESPONDER -OPTIONS_DEFAULT=ID3TAG IPV6 FLAC VORBIS WAV FFMPEG SNDFILE +OPTIONS_DEFAULT=ID3TAG IPV6 FLAC VORBIS WAV FFMPEG SNDFILE LAME_DESC= Support for MP3 Icecast Streams MPDDIR?= /var/mpd @@ -242,6 +242,13 @@ LIB_DEPENDS+= cue:${PORTSDIR}/textproc/libcue CONFIGURE_ARGS+=--disable-cue .endif +.if ${PORT_OPTIONS:MSQLITE3} +LIB_DEPENDS+= sqlite3:${PORTSDIR}/databases/sqlite3 +CONFIGURE_ARGS+=--enable-sqlite +.else +CONFIGURE_ARGS+=--disable-sqlite +.endif + post-patch: # Replace ~/ with MPDDIR and make musicpd run as mpd by default @${REINPLACE_CMD} -e 's,^#\([^"]*"\)~/,\1${MPDDIR}/,g' \ |