allow to build with any neon installed

PR:             145879
Submitted by:   fluffy
This commit is contained in:
Oliver Lehmann 2010-05-17 15:58:30 +00:00
parent 4a71b47eaf
commit 9f31f95c66
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254493

View file

@ -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