Hello ports@,
It looks like
http://marc.info/?l=openbsd-ports-cvs&m=122544577714022&w=2
introduces a regression for textproc/enchant
Here are some details...
=====================
With aspell-0.60.6 (prior to commit references above):
config.log from enchant.
configure:22382: result: no
configure:22501: checking For aspell headers in /usr/local/include
configure:22504: result: yes (pspell)
configure:22507: checking for new_aspell_config in -laspell
configure:22542: cc -o conftest -O2 -pipe -I/usr/local/include
-L/usr/local/lib -L/usr/local/lib -l
stdc++ -lm conftest.c -laspell >&5
/usr/lib/libstdc++.so.45.1: warning: strcpy() is almost always misused,
please use strlcpy()
/usr/lib/libstdc++.so.45.1: warning: strcat() is almost always misused,
please use strlcat()
/usr/local/lib/libaspell.so.17.0: warning: sprintf() is often misused,
please use snprintf()
configure:22548: $? = 0
configure:22566: result: yes
configure output:
enchant-1.4.0
prefix: /usr/local
compiler: cc
Build Aspell backend: yes
^^^
Build Ispell backend: yes
...
===================================
With aspell-0.60.6p0 (after the commit):
config.log from enchant
configure:22382: result: no
configure:22501: checking For aspell headers in /usr/local/include
configure:22504: result: yes (pspell)
configure:22507: checking for new_aspell_config in -laspell
configure:22542: cc -o conftest -O2 -pipe -I/usr/local/include
-L/usr/local/lib -L/usr/local/lib -l
stdc++ -lm conftest.c -laspell >&5
/usr/lib/libstdc++.so.45.1: warning: strcpy() is almost always misused,
please use strlcpy()
/usr/lib/libstdc++.so.45.1: warning: strcat() is almost always misused,
please use strlcat()
/usr/local/lib/libaspell.so.17.0: warning: sprintf() is often misused,
please use snprintf()
/usr/local/lib/libaspell.so.17.0: undefined reference to
`pthread_mutex_unlock'
/usr/local/lib/libaspell.so.17.0: undefined reference to
`pthread_mutex_destroy'
/usr/local/lib/libaspell.so.17.0: undefined reference to
`pthread_mutex_lock'
/usr/local/lib/libaspell.so.17.0: undefined reference to
`pthread_mutex_init'
collect2: ld returned 1 exit status
configure:22548: $? = 1
configure output:
enchant-1.4.0
prefix: /usr/local
compiler: cc
Build Aspell backend: no
^^^
Build Ispell backend: yes
It's possible that other ports which depend on aspell are aslo affected.