openbsd-ports/devel/mico/patches/patch-configure
landry 94b2505ecb Unbreak mico on gcc4 archs by updating it to 2.3.13.
- remove commented out FLAVORS, and merge ssl FLAVOR into main package
- build regress tests (not everything is working, but at least they're here)
- add native-connect:permit to systrace.filter, idl absolutely wants to
  connect to the nearest dns server during build. Gross.
- remove shitload of now unneeded patches
- some tweaks from ajacoutot@/jasper@

Build-tested on :
- gcc3 archs: arm (fails) by sthen@, alpha by naddy@, mips64 by jasper@
- gcc4 archs: sparc64/amd64/macppc by my$self
ok jasper@
2010-09-22 08:42:53 +00:00

31 lines
906 B
Plaintext

$OpenBSD: patch-configure,v 1.3 2010/09/22 08:42:53 landry Exp $
--- configure.orig Fri Jul 25 15:42:43 2008
+++ configure Mon Sep 13 22:31:04 2010
@@ -1325,7 +1325,7 @@ myexec=$exec_prefix
test "x$myprefix" = xNONE && myprefix=$ac_default_prefix
test "x$myexec" = xNONE && myexec=${myprefix}
ABSEXECDIR=$myexec
-ABSSHRDDIR=$myprefix
+ABSSHRDDIR=$myprefix/share
cat >> confdefs.h <<EOF
#define ABSEXECDIR "$myexec"
EOF
@@ -3377,7 +3377,7 @@ if test X"$GXX" = Xyes; then
fi
;;
*bsd*)
- CONF_SOEXT=so.1.0
+ CONF_SOEXT=so.${LIB_VERSION}
if test X"$use_threads" = Xyes; then
CXXFLAGS="$CXXFLAGS -D_THREAD_SAFE"
fi
@@ -3667,8 +3667,6 @@ fi
#
-CXXFLAGS=`echo " $CXXFLAGS " | sed -e 's/ -g / /g' -e 's/ -O[0-9]* / /g'`
-CFLAGS=`echo " $CFLAGS " | sed -e 's/ -g / /g' -e 's/ -O[0-9]* / /g'`
if test X"$use_opt" != Xno; then
CXXFLAGS="$CONF_OPT_FLAGS $CXXFLAGS"