pkgsrc-wip/mysql++/patches/patch-ab
Rumko 3e216840d7 MySQL++ is a C++ wrapper for MySQL's C API.
It is built around STL principles, to make dealing with
the database as easy as dealing with an STL container.

WWW: http://tangentsoft.net/mysql++/
2006-12-04 21:36:44 +00:00

31 lines
1.2 KiB
Text

$NetBSD: patch-ab,v 1.1.1.1 2006/12/04 21:36:44 rumko Exp $
--- configure.orig 2006-12-04 16:42:08.000000000 +0000
+++ configure 2006-12-04 16:42:59.000000000 +0000
@@ -3924,7 +3924,7 @@
;;
powerpc-apple-macos* | \
- *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
+ *-*-freebsd* | *-*-dragonfly* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
*-*-sunos4* | \
*-*-osf* | \
*-*-dgux5* | \
@@ -3966,7 +3966,7 @@
SONAME_FLAG=
case "${BAKEFILE_HOST}" in
- *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
+ *-*-linux* | *-*-freebsd* | *-*-dragonfly* | *-*-k*bsd*-gnu )
SONAME_FLAG="-Wl,-soname,"
USE_SOVERSION=1
USE_SOVERLINUX=1
@@ -7477,7 +7477,7 @@
echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
flag=no
case "${host_cpu}-${host_os}" in
- *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
+ *-aix* | *-freebsd* | *-dragonfly* | *-darwin*) flag="-D_THREAD_SAFE";;
*solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
esac
echo "$as_me:$LINENO: result: ${flag}" >&5