allow to build with any neon installed
PR: 145879 Submitted by: fluffy
This commit is contained in:
parent
4a71b47eaf
commit
9f31f95c66
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254493
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue