pkgsrc/graphics/ivtools/patches/patch-ab
joerg e99a0fb122 Add DragonFly support, fix build with modular and pkgsrc Xorg and
shared library linkage in general. On DragonFly and NetBSD build
with -Wl,-z,defs to find possible regressions.
2007-02-15 18:26:14 +00:00

30 lines
964 B
Text

$NetBSD: patch-ab,v 1.4 2007/02/15 18:26:14 joerg Exp $
--- configure.orig 2005-10-10 18:35:27.000000000 +0000
+++ configure
@@ -1346,6 +1346,7 @@ case "$host" in
*hpux*10*20) platform_part=hpux10.20 ;;
*hpux* ) platform_part=hpux ;;
*netbsd* ) platform_part=netbsd ;;
+ *dragonfly* ) platform_part=netbsd ;;
*linux* ) platform_part=linux ;;
m88k-*-sysv4 ) platform_part=m88k-sysv4 ;;
m88k-*-sysv3 ) platform_part=m88k-sysv3 ;;
@@ -3741,7 +3742,7 @@ if test "${ac_cv_lib_stdcpp_peek__7istre
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lstdc++ $LIBS"
+LIBS="-lstdc++ -lm $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -3811,7 +3812,7 @@ if test "${ac_cv_lib_stdcpp__ZNSi4peekEv
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lstdc++ $LIBS"
+LIBS="-lstdc++ -lm $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF