openbsd-ports/devel/ptlib/patches/patch-configure
2022-05-14 15:35:07 +00:00

34 lines
977 B
Plaintext

Index: configure
--- configure.orig
+++ configure
@@ -4467,7 +4467,6 @@ fi
openbsd* ) OSTYPE=OpenBSD ;
OS_TAG="P_OPENBSD" ;
OSRELEASE="`sysctl -n kern.osrevision`" ;
- ENDLDLIBS="-lossaudio" ;
need_pragma=yes ;
$as_echo "#define P_PTHREADS 1" >>confdefs.h
@@ -4674,8 +4673,11 @@ rm -f core conftest.err conftest.$ac_objext conftest.$
LIB64=1
;;
- sparc | sparc64 )
+ sparc )
MACHTYPE=sparc
+ ;;
+ sparc64 )
+ MACHTYPE=sparc
P_64BIT=1
LIB64=1
;;
@@ -7798,7 +7800,7 @@ $as_echo "$as_me: OpenLDAP support disabled due to dis
ptlib_openldap_libs="-lposix4"
;;
* )
- ptlib_openldap_libs="-llber -lldap_r"
+ ptlib_openldap_libs="-llber -lldap"
esac
if test "x${with_ldap_dir}" != "x"; then