When building lang/ruby18, there are two tunables: WITH_PTHREADS and WITH_ONIGURUMA When WITH_ONIGURUMA=yes and WITH_PTHREADS=no (or unset), the PKGNAMESUFFIX is set to +oniguruma. When WITH_PTHREADS=yes, regardless of the setting of WITH_ONIGURUMA, the PKGNAMESUFFIX is set to -pthreads. Firstly, the PKGNAMESUFFIX for WITH_PTHREADS should be set to "+pthreads". In addition, the support for oniguruma should not be hidden by WITH_PTHREADS. I think that the following naming is more reflective of the package's tunables: WITHOUT_PTHREADS && WITHOUT_ONIGURUMA --> ruby-1.8.x_y,z WITH_PTHREADS && WITHOUT_ONIGURUMA -----> ruby+pthreads-1.8.x_y,z WITHOUT_PTHREADS && WITH_ONIGURUMA -----> ruby+oniguruma-1.8.x_y,z WITH_PTHREADS && WITH_ONIGURUMA --------> ruby+pthreads+oniguruma-1.8.x_y,z Fix: Not 100% sure, but I think that where: PKGNAMESUFFIX= +oniguruma ... PKGNAMESUFFIX= -pthreads it should be: PKGNAMESUFFIX+= +oniguruma ... PKGNAMESUFFIX+= +pthreads I do not know if the decision to make the above is a maintainer mistake, or a limitation in the ports/pkg system. How-To-Repeat: cd /usr/ports/lang/ruby18 make <look at package name> make clean make WITH_ONIGURUMA=yes <look at package name> make clean make WITH_ONIGURUMA=yes WITH_PTHREADS=yes <look at package name> make clean make WITH_PTHREADS=yes <look at package name> make clean
State Changed From-To: open->closed Fixed in a different manner. Thank you!