jasperla / openbsd-wip

OpenBSD work in progress ports
http://www.openbsd.org/
267 stars 88 forks source link

Add tags support. #106

Closed dbolgheroni closed 3 years ago

dbolgheroni commented 6 years ago

The ctags from base doesn't support C++, and Arduino is basically C++. Do a check for devel/ectags from ports and print a message suggesting to install it.

grayed commented 4 years ago

If you think that devel/universa-ctags is needed for building, then just add it to BUILD_DEPENDS. If both devel/ctags and devel/universal-ctags are fine, then you can use something like the following:

BUILD_DEPENDS += ectags-*|universal-ctags-*:devel/universal-ctags

After that you can omit most of the "if ... fi" code. But you'll need to detect what ctags are installed, uctags or ectags, before execution then.

dbolgheroni commented 3 years ago

devel/arduino got updated to 1.8.x and no longer uses the custom BSD Makefile. So I'm closing this pull request.