diff -ru exaile-devel.orig/Makefile exaile-devel/Makefile --- exaile-devel.orig/Makefile 2009-07-08 15:04:09.576086902 -0400 +++ exaile-devel/Makefile 2009-07-09 13:52:05.285008843 -0400 @@ -7,7 +7,7 @@ PORTNAME= exaile DISTVERSION= 0.2.99.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= http://www.exaile.org/files/ \ http://wickedmachine.net/~jsa/FreeBSD/distfiles/ @@ -29,7 +29,8 @@ # The reality with these options is that they all will be autodetected and used # if already installed. These just force Exaile to bring them in as well. -OPTIONS= BAD "Install bad gstreamer plugins" On\ +OPTIONS= BAD "Install bad GStreamer plugins" On \ + BDB "Install Python Berkley DB module" On \ CDDB "Lookup CD information within Exaile" On \ DBUS "Rely on Python D-Bus bindings" On \ HAL "Force depend on HAL" On \ @@ -41,6 +42,10 @@ USE_GSTREAMER+= bad .endif +.if !defined(WITHOUT_BDB) +RUN_DEPENDS+= py*-bsddb>=2.5:${PORTSDIR}/databases/py-bsddb +.endif + .if !defined(WITHOUT_CDDB) RUN_DEPENDS+= py*-cddb>=1.4:${PORTSDIR}/audio/py-cddb .endif @@ -71,6 +76,9 @@ post-patch: @${REINPLACE_CMD} -e 's|LIBDIR|LIBINSTALLDIR|g' \ ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|PREFIX =|PREFIX \?=|;s|LIBDIR =|LIBDIR \?=|' \ + -e 's|LIBDIR|LIBINSTALLDIR|g' ${WRKSRC}/Makefile + .if defined(WITHOUT_NLS) @${REINPLACE_CMD} -e 's|exaile\.mo|SKIP_NLS_HACK|' ${WRKSRC}/Makefile .endif