diff options
author | oliver <oliver@FreeBSD.org> | 2010-05-17 23:58:30 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2010-05-17 23:58:30 +0800 |
commit | 2c4eaa2a688550a29788d789e3abeb7bf5de2bed (patch) | |
tree | 1c2ebd8bb084460573df3aeb13714b723dc50ec0 /multimedia | |
parent | 8f9c8a7f01e0c4fb579d4bd9593d8ff1c9f28653 (diff) | |
download | freebsd-ports-gnome-2c4eaa2a688550a29788d789e3abeb7bf5de2bed.tar.gz freebsd-ports-gnome-2c4eaa2a688550a29788d789e3abeb7bf5de2bed.tar.zst freebsd-ports-gnome-2c4eaa2a688550a29788d789e3abeb7bf5de2bed.zip |
allow to build with any neon installed
PR: 145879
Submitted by: fluffy
Diffstat (limited to 'multimedia')
-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 |