.if exists(${LOCALBASE}/lib/libcdio.a) || defined(WITH_CDDB)
WITH_CDDB= yes
LIB_DEPENDS+= cddb.4:${PORTSDIR}/audio/libcddb \
cdio.7:${PORTSDIR}/sysutils/libcdio
cdio.8:${PORTSDIR}/sysutils/libcdio
.endif
pre-everything::