nlopt: Fix substitution file list which breaks with the latest 2020Q3 makefiles.

This commit is contained in:
Paul Ripke 2020-10-28 17:16:52 +11:00
parent 3541c08091
commit 2958494142
1 changed files with 8 additions and 2 deletions

View File

@ -15,8 +15,14 @@ USE_CMAKE= yes
USE_LANGUAGES= c c++
SUBST_CLASSES+= rbtree
CH_FILES_CMD= cd ${WRKSRC} && ${FIND} . -name '*.[ch]'
SUBST_FILES.rbtree+= ${CH_FILES_CMD:sh}
SUBST_FILES.rbtree+= ./src/algs/cdirect/cdirect.c
SUBST_FILES.rbtree+= ./src/algs/cdirect/hybrid.c
SUBST_FILES.rbtree+= ./src/algs/crs/crs.c
SUBST_FILES.rbtree+= ./src/algs/mlsl/mlsl.c
SUBST_FILES.rbtree+= ./src/algs/neldermead/nldrmd.c
SUBST_FILES.rbtree+= ./src/util/redblack.c
SUBST_FILES.rbtree+= ./src/util/redblack.h
SUBST_FILES.rbtree+= ./src/util/redblack_test.c
SUBST_MESSAGE.rbtree= Changing rb_tree symbols that collide with NetBSD libc.
SUBST_SED.rbtree= -e "s|rb_tree_|nlopt_rb_tree_|g"
SUBST_STAGE.rbtree= post-extract