Here are patches for the abi directory (other patches for wv to follow...):

-----------------------------------------------------------------------------
diff -a -B -d -r abi/src/af/util/xp/ut_endian.h abi-new/src/af/util/xp/ut_endian.h
23a24,30
> #elif defined(__OpenBSD__)
>       #include <machine/endian.h>
>       #if __BYTE_ORDER == __LITTLE_ENDIAN             
>               #define UT_LITTLE_ENDIAN
>       #else
>               #define UT_BIG_ENDIAN
>       #endif
diff -a -B -d -r abi/src/config/platforms/openbsd.mk 
abi-new/src/config/platforms/openbsd.mk
69c69
< PORT_FLAGS            = -DHAVE_STRERROR
---
> PORT_FLAGS            = -DHAVE_STRERROR -I/usr/local/include 
85c85
< UNIX_CAN_BUILD_STATIC=1
---
> UNIX_CAN_BUILD_STATIC=0
95,97c95,96
< DL_LIBS                       = 
< STATIC_FLAGS          =  -static
< 
---
> DL_LIBS                       =  
> STATIC_FLAGS          =  -static 
diff -a -B -d -r abi/src/config/require/unix/Makefile 
abi-new/src/config/require/unix/Makefile
115a116
> ifdef __OPENBSD__
121c122,128
<                       ./configure;                            \
---
>                       ./configure                             \
>                                           --with-ttf=/usr/local \
>                                           --with-xpm=/usr/X11R6 \
>                                           --with-png=/usr/local \
>                                           --with-libiconv=/usr/local \
>                                           --with-wmf=/usr/local  \
>                                           --with-Magick=/usr/local; \
128c135
<               echo http://www.abisource.com/dev_download.phtml                \
---
>               echo http://www.abisource.com/dev_download.phtml;               \
130a138,154
> else
> _LIBWV_:
>       @if [ -r $(ABI_ROOT)/../wv ]; then                      \
>               echo Found libwv in peer directory;             \
>               if [ ! -r $(ABI_ROOT)/../wv/config.h ]; then    \
>                       cd $(ABI_ROOT)/../wv;                   \
>                       ./configure;                            \
>               fi;                                             \
>               $(MAKE) -f Makefile.abi -C $(ABI_ROOT)/../wv;   \
>       else                                                    \
>               echo wv not found;                              \
>               echo wv must be installed as a peer to the abi/ directory; \
>               echo Instructions for obtaining it can be found at; \
>               echo http://www.abisource.com/dev_download.phtml; \
>               exit 1;\
>       fi      
> endif
-------------------------------------------------------------------------


Reply via email to