diff options
-rw-r--r-- | multimedia/audacious-plugins/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/multimedia/audacious-plugins/Makefile b/multimedia/audacious-plugins/Makefile index 8b716bc7244f..9b160cbbe27c 100644 --- a/multimedia/audacious-plugins/Makefile +++ b/multimedia/audacious-plugins/Makefile @@ -274,7 +274,13 @@ PLIST_SUB+= PARANORMALPLUGIN="@comment " .endif .if !defined(WITHOUT_NEON) -LIB_DEPENDS+= neon.28:${PORTSDIR}/www/neon28 +.if exists(${LOCALBASE}/bin/neon-config) +NEON_VER!= ${LOCALBASE}/bin/neon-config --version | \ + ${SED} -n -E 's/^neon [0-9]+\.([0-9]+)\..*$$/\1/p' +.else +NEON_VER= 29 +.endif +LIB_DEPENDS+= neon.${NEON_VER}:${PORTSDIR}/www/neon${NEON_VER} CONFIGURE_ARGS+=--enable-neon PLIST_SUB+= NEONPLUGIN="" .else |