Wed Feb 25 23:40:35 2015 UTC ()
Fix git spam in different way.
Previous fix by tnn@ requires devel/gettext-tools.
It is too heavy.


(ryoon)
diff -r1.96 -r1.97 pkgsrc/audio/pulseaudio/Makefile
diff -r1.49 -r1.50 pkgsrc/audio/pulseaudio/distinfo
diff -r1.4 -r1.5 pkgsrc/audio/pulseaudio/patches/patch-configure.ac

cvs diff -r1.96 -r1.97 pkgsrc/audio/pulseaudio/Makefile (expand / switch to unified diff)

--- pkgsrc/audio/pulseaudio/Makefile 2015/02/25 12:27:13 1.96
+++ pkgsrc/audio/pulseaudio/Makefile 2015/02/25 23:40:35 1.97
@@ -1,30 +1,30 @@ @@ -1,30 +1,30 @@
1# $NetBSD: Makefile,v 1.96 2015/02/25 12:27:13 tnn Exp $ 1# $NetBSD: Makefile,v 1.97 2015/02/25 23:40:35 ryoon Exp $
2 2
3DISTNAME= pulseaudio-6.0 3DISTNAME= pulseaudio-6.0
4CATEGORIES= audio 4CATEGORIES= audio
5MASTER_SITES= http://freedesktop.org/software/pulseaudio/releases/ 5MASTER_SITES= http://freedesktop.org/software/pulseaudio/releases/
6EXTRACT_SUFX= .tar.xz 6EXTRACT_SUFX= .tar.xz
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://www.freedesktop.org/wiki/Software/PulseAudio 9HOMEPAGE= http://www.freedesktop.org/wiki/Software/PulseAudio
10COMMENT= Sound server for POSIX and Win32 systems 10COMMENT= Sound server for POSIX and Win32 systems
11LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v2 11LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v2
12 12
13LIBTOOL_REQD= 2.4 13LIBTOOL_REQD= 2.4
14 14
15GNU_CONFIGURE= yes 15GNU_CONFIGURE= yes
16USE_LIBTOOL= yes 16USE_LIBTOOL= yes
17USE_TOOLS+= aclocal autoheader autoconf automake gmake gm4 intltool msgfmt pkg-config bash 17USE_TOOLS+= aclocal autoheader autoconf automake gmake gm4 intltool msgfmt pkg-config
18USE_LANGUAGES= c c++ 18USE_LANGUAGES= c c++
19 19
20REPLACE_BASH= shell-completion/bash/pulseaudio git-version-gen 20REPLACE_BASH= shell-completion/bash/pulseaudio git-version-gen
21 21
22.include "../../mk/bsd.prefs.mk" 22.include "../../mk/bsd.prefs.mk"
23# Some tests are incompatible for NetBSD at least 23# Some tests are incompatible for NetBSD at least
24.if ${OPSYS} == "NetBSD" 24.if ${OPSYS} == "NetBSD"
25CONFIGURE_ARGS+= --disable-default-build-tests 25CONFIGURE_ARGS+= --disable-default-build-tests
26.endif 26.endif
27.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[45].*) 27.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[45].*)
28# broken test for TLS 28# broken test for TLS
29CONFIGURE_ENV+= ac_cv_tls=none 29CONFIGURE_ENV+= ac_cv_tls=none
30.endif 30.endif
@@ -93,29 +93,29 @@ PLIST.oss= yes @@ -93,29 +93,29 @@ PLIST.oss= yes
93. endif 93. endif
94.elif ${OPSYS} == "Darwin" 94.elif ${OPSYS} == "Darwin"
95PLIST.bonjour= yes 95PLIST.bonjour= yes
96PLIST.coreaudio= yes 96PLIST.coreaudio= yes
97.else 97.else
98PLIST.oss= yes 98PLIST.oss= yes
99.endif 99.endif
100 100
101PKG_GROUPS= ${PULSE_GROUP} 101PKG_GROUPS= ${PULSE_GROUP}
102PKG_GROUPS+= ${PULSE_GROUP_REALTIME} 102PKG_GROUPS+= ${PULSE_GROUP_REALTIME}
103PKG_GROUPS+= ${PULSE_GROUP_ACCESS} 103PKG_GROUPS+= ${PULSE_GROUP_ACCESS}
104PKG_USERS= ${PULSE_USER}:${PULSE_GROUP} 104PKG_USERS= ${PULSE_USER}:${PULSE_GROUP}
105 105
106pre-configure: replace-interpreter 106pre-configure:
107 cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} autoreconf -if 107 set -e; cd ${WRKSRC}; \
108 cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} intltoolize -f 108 aclocal; autoheader; automake -a --foreign -i; autoconf
109 109
110.if ${OPSYS} != "Darwin" 110.if ${OPSYS} != "Darwin"
111.include "../../sysutils/consolekit/buildlink3.mk" 111.include "../../sysutils/consolekit/buildlink3.mk"
112.endif 112.endif
113.include "../../audio/libsamplerate/buildlink3.mk" 113.include "../../audio/libsamplerate/buildlink3.mk"
114.include "../../audio/libsndfile/buildlink3.mk" 114.include "../../audio/libsndfile/buildlink3.mk"
115.include "../../audio/speexdsp/buildlink3.mk" 115.include "../../audio/speexdsp/buildlink3.mk"
116.include "../../databases/gdbm/buildlink3.mk" 116.include "../../databases/gdbm/buildlink3.mk"
117.include "../../devel/glib2/buildlink3.mk" 117.include "../../devel/glib2/buildlink3.mk"
118.include "../../devel/libltdl/buildlink3.mk" 118.include "../../devel/libltdl/buildlink3.mk"
119.include "../../security/openssl/buildlink3.mk" 119.include "../../security/openssl/buildlink3.mk"
120.include "../../security/policykit/buildlink3.mk" 120.include "../../security/policykit/buildlink3.mk"
121.include "../../sysutils/dbus/buildlink3.mk" 121.include "../../sysutils/dbus/buildlink3.mk"

cvs diff -r1.49 -r1.50 pkgsrc/audio/pulseaudio/distinfo (expand / switch to unified diff)

--- pkgsrc/audio/pulseaudio/distinfo 2015/02/21 23:13:10 1.49
+++ pkgsrc/audio/pulseaudio/distinfo 2015/02/25 23:40:35 1.50
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1$NetBSD: distinfo,v 1.49 2015/02/21 23:13:10 ryoon Exp $ 1$NetBSD: distinfo,v 1.50 2015/02/25 23:40:35 ryoon Exp $
2 2
3SHA1 (pulseaudio-6.0.tar.xz) = 3607d523fb270d9b68463de30f5d9e17957f1088 3SHA1 (pulseaudio-6.0.tar.xz) = 3607d523fb270d9b68463de30f5d9e17957f1088
4RMD160 (pulseaudio-6.0.tar.xz) = a3f96cabc2872646c34ba581d6044dc4a6513fd9 4RMD160 (pulseaudio-6.0.tar.xz) = a3f96cabc2872646c34ba581d6044dc4a6513fd9
5Size (pulseaudio-6.0.tar.xz) = 1469248 bytes 5Size (pulseaudio-6.0.tar.xz) = 1469248 bytes
6SHA1 (patch-aa) = 4e8a38810453d0efad287528b7f18c056a5cdd8b 6SHA1 (patch-aa) = 4e8a38810453d0efad287528b7f18c056a5cdd8b
7SHA1 (patch-configure.ac) = e5c90f38f3d06af64579176495a4023281ac0699 7SHA1 (patch-configure.ac) = 10f976daa163b985312d4dc29933e87cf2e89c96
8SHA1 (patch-src_Makefile.am) = debe40be5d1155f6cb0d5ae90119dece4e090b02 8SHA1 (patch-src_Makefile.am) = debe40be5d1155f6cb0d5ae90119dece4e090b02
9SHA1 (patch-src_Makefile.in) = acbd3abee7225a7b3f1c422e30d9efe2adb1253c 9SHA1 (patch-src_Makefile.in) = acbd3abee7225a7b3f1c422e30d9efe2adb1253c
10SHA1 (patch-src_daemon_caps.c) = e819c26cd3d91d93ae5877725ed6a1b59183d89a 10SHA1 (patch-src_daemon_caps.c) = e819c26cd3d91d93ae5877725ed6a1b59183d89a
11SHA1 (patch-src_daemon_main.c) = 8cdabd3c631cc5e7c7f370e364d9511b23f88668 11SHA1 (patch-src_daemon_main.c) = 8cdabd3c631cc5e7c7f370e364d9511b23f88668
12SHA1 (patch-src_modules_module-detect.c) = 25c803ee2d5addf9dbf522d81bd422dc201d4550 12SHA1 (patch-src_modules_module-detect.c) = 25c803ee2d5addf9dbf522d81bd422dc201d4550
13SHA1 (patch-src_modules_oss_module-oss.c) = 399ac178ae832619253ce8dd985edbed23db86e7 13SHA1 (patch-src_modules_oss_module-oss.c) = 399ac178ae832619253ce8dd985edbed23db86e7
14SHA1 (patch-src_pulsecore_sample-util.h) = b6bd83cfdc1c337453d9a728f07205a2cf0af831 14SHA1 (patch-src_pulsecore_sample-util.h) = b6bd83cfdc1c337453d9a728f07205a2cf0af831
15SHA1 (patch-src_pulsecore_svolume__mmx.c) = c34d153e3bfdb812eb7bd70fa330a9ec674c2dc2 15SHA1 (patch-src_pulsecore_svolume__mmx.c) = c34d153e3bfdb812eb7bd70fa330a9ec674c2dc2
16SHA1 (patch-src_pulsecore_svolume__sse.c) = 47c97c1af947133f2a7b330aed38792bb0e7ef09 16SHA1 (patch-src_pulsecore_svolume__sse.c) = 47c97c1af947133f2a7b330aed38792bb0e7ef09
17SHA1 (patch-src_tests_mult-s16-test.c) = 3a0fbec804ebefbd88688e84b8d45e0aca597b84 17SHA1 (patch-src_tests_mult-s16-test.c) = 3a0fbec804ebefbd88688e84b8d45e0aca597b84
18SHA1 (patch-src_tests_rtpoll-test.c) = 3584aeda2b6f7eb14af9cb5c665a31d972a306ae 18SHA1 (patch-src_tests_rtpoll-test.c) = 3584aeda2b6f7eb14af9cb5c665a31d972a306ae

cvs diff -r1.4 -r1.5 pkgsrc/audio/pulseaudio/patches/Attic/patch-configure.ac (expand / switch to unified diff)

--- pkgsrc/audio/pulseaudio/patches/Attic/patch-configure.ac 2015/01/27 04:04:50 1.4
+++ pkgsrc/audio/pulseaudio/patches/Attic/patch-configure.ac 2015/02/25 23:40:35 1.5
@@ -1,125 +1,134 @@ @@ -1,125 +1,134 @@
1$NetBSD: patch-configure.ac,v 1.4 2015/01/27 04:04:50 dbj Exp $ 1$NetBSD: patch-configure.ac,v 1.5 2015/02/25 23:40:35 ryoon Exp $
2 2
3* Don't assume sys/capability.h is guaranteed present on Linux. 3* Don't assume sys/capability.h is guaranteed present on Linux.
4* Fix NetBSD detection for libatomics_ops check. 4* Fix NetBSD detection for libatomics_ops check.
5* Fix unportable test(1) construct. 5* Fix unportable test(1) construct.
6* Adapt /var-paths for pkgsrc defaults. 6* Adapt /var-paths for pkgsrc defaults.
7* Install default config files in example directory; pkgsrc config 7* Install default config files in example directory; pkgsrc config
8 file framework will install them in the right place. 8 file framework will install them in the right place.
9* Avoid hardcoded SDK paths on Darwin. 9* Avoid hardcoded SDK paths on Darwin.
10 10
11--- configure.ac.orig 2014-02-15 08:33:32.000000000 +0000 11--- configure.ac.orig 2015-02-12 14:10:35.000000000 +0000
12+++ configure.ac 12+++ configure.ac
13@@ -130,7 +130,6 @@ AC_MSG_CHECKING([host operating system]) 13@@ -21,7 +21,7 @@
 14
 15 AC_PREREQ(2.63)
 16
 17-AC_INIT([pulseaudio],[m4_esyscmd(./git-version-gen .tarball-version)],[pulseaudio-discuss (at) lists (dot) freedesktop (dot) org],[pulseaudio],[http://pulseaudio.org/])
 18+AC_INIT([pulseaudio],[6.0],[pulseaudio-discuss (at) lists (dot) freedesktop (dot) org],[pulseaudio],[http://pulseaudio.org/])
 19 AC_CONFIG_SRCDIR([src/daemon/main.c])
 20 AC_CONFIG_MACRO_DIR([m4])
 21 AC_CONFIG_HEADERS([config.h])
 22@@ -133,7 +133,6 @@ AC_MSG_CHECKING([host operating system])
14 case "$host_os" in 23 case "$host_os" in
15 linux*) 24 linux*)
16 AC_MSG_RESULT([linux]) 25 AC_MSG_RESULT([linux])
17- host_has_caps=1 26- host_has_caps=1
18 os_is_linux=1 27 os_is_linux=1
19 ;; 28 ;;
20 freebsd*) 29 freebsd*)
21@@ -251,6 +250,11 @@ else 30@@ -260,6 +259,11 @@ else
22 # HW specific atomic ops stuff 31 # HW specific atomic ops stuff
23 AC_MSG_CHECKING([architecture for native atomic operations]) 32 AC_MSG_CHECKING([architecture for native atomic operations])
24 case $host in 33 case $host in
25+ *-netbsd*) 34+ *-netbsd*)
26+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 35+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27+$as_echo "yes" >&6; } 36+$as_echo "yes" >&6; }
28+ need_libatomic_ops=no 37+ need_libatomic_ops=no
29+ ;; 38+ ;;
30 arm*) 39 arm*)
31 AC_MSG_RESULT([arm]) 40 AC_MSG_RESULT([arm])
32 AC_MSG_CHECKING([whether we can use Linux kernel helpers]) 41 AC_MSG_CHECKING([whether we can use Linux kernel helpers])
33@@ -286,10 +290,6 @@ else 42@@ -295,10 +299,6 @@ else
34 ]) 43 ])
35 fi 44 fi
36 ;; 45 ;;
37- *-netbsdelf5*) 46- *-netbsdelf5*)
38- AC_MSG_RESULT([yes]) 47- AC_MSG_RESULT([yes])
39- need_libatomic_ops=no 48- need_libatomic_ops=no
40- ;; 49- ;;
41 *-freebsd*) 50 *-freebsd*)
42 AC_MSG_RESULT([yes]) 51 AC_MSG_RESULT([yes])
43 need_libatomic_ops=no 52 need_libatomic_ops=no
44@@ -478,14 +478,14 @@ AS_IF([test "$pulseaudio_cv__Bool" = "ye 53@@ -488,14 +488,14 @@ AS_IF([test "$pulseaudio_cv__Bool" = "ye
45 #### Thread support #### 54 #### Thread support ####
46  55
47 AX_TLS 56 AX_TLS
48-AS_IF([test "$ac_cv_tls" == "__thread"], 57-AS_IF([test "$ac_cv_tls" == "__thread"],
49+AS_IF([test "$ac_cv_tls" = "__thread"], 58+AS_IF([test "$ac_cv_tls" = "__thread"],
50 AC_DEFINE([SUPPORT_TLS___THREAD], 1, [Define this if the compiler supports __thread for Thread-Local Storage])) 59 AC_DEFINE([SUPPORT_TLS___THREAD], 1, [Define this if the compiler supports __thread for Thread-Local Storage]))
51  60
52 # Win32 build breaks with win32 pthread installed 61 # Win32 build breaks with win32 pthread installed
53 AS_IF([test "x$os_is_win32" != "x1"], 62 AS_IF([test "x$os_is_win32" != "x1"],
54 [AX_PTHREAD]) 63 [AX_PTHREAD])
55  64
56-AS_IF([test "x$ax_pthread_ok" == "xyes"], 65-AS_IF([test "x$ax_pthread_ok" == "xyes"],
57+AS_IF([test "x$ax_pthread_ok" = "xyes"], 66+AS_IF([test "x$ax_pthread_ok" = "xyes"],
58 AC_DEFINE([_POSIX_PTHREAD_SEMANTICS], 1, [Needed on Solaris])) 67 AC_DEFINE([_POSIX_PTHREAD_SEMANTICS], 1, [Needed on Solaris]))
59  68
60  69
61@@ -512,15 +512,9 @@ AC_SEARCH_LIBS([backtrace], [execinfo ub 70@@ -522,15 +522,9 @@ AC_SEARCH_LIBS([backtrace], [execinfo ub
62 if test "x$os_is_darwin" = "x1" ; then 71 if test "x$os_is_darwin" = "x1" ; then
63 AC_MSG_CHECKING([looking for Apple CoreService Framework]) 72 AC_MSG_CHECKING([looking for Apple CoreService Framework])
64 # How do I check a framework "library" - AC_CHECK_LIB prob. won't work??, just assign LIBS & hope 73 # How do I check a framework "library" - AC_CHECK_LIB prob. won't work??, just assign LIBS & hope
65- AC_CHECK_HEADER([/Developer/Headers/FlatCarbon/CoreServices.h], 74- AC_CHECK_HEADER([/Developer/Headers/FlatCarbon/CoreServices.h],
66+ AC_CHECK_HEADER([CoreServices/CoreServices.h], 75+ AC_CHECK_HEADER([CoreServices/CoreServices.h],
67 [LIBS="$LIBS -framework CoreServices"], 76 [LIBS="$LIBS -framework CoreServices"],
68- [AC_CHECK_HEADERS([/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h], 77- [AC_CHECK_HEADERS([/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h],
69- [LIBS="$LIBS -framework CoreServices"], 78- [LIBS="$LIBS -framework CoreServices"],
70- [AC_MSG_ERROR([CoreServices.h header file not found])] 79- [AC_MSG_ERROR([CoreServices.h header file not found])]
71- )] 80- )]
72- ) 81- )
73- 82-
74- AC_MSG_RESULT([ok]) 83- AC_MSG_RESULT([ok])
75+ [AC_MSG_ERROR([CoreServices.h header file not found])]) 84+ [AC_MSG_ERROR([CoreServices.h header file not found])])
76 AC_DEFINE([HAVE_CLOCK_GETTIME], 1, [Using clock_gettime() replacement]) 85 AC_DEFINE([HAVE_CLOCK_GETTIME], 1, [Using clock_gettime() replacement])
77 HAVE_BONJOUR=1 86 HAVE_BONJOUR=1
78 fi 87 fi
79@@ -988,7 +982,7 @@ AS_IF([test "x$HAVE_DBUS" = "x1"], AC_DE 88@@ -1001,7 +995,7 @@ AS_IF([test "x$HAVE_DBUS" = "x1"], AC_DE
80  89
81 PA_MACHINE_ID="${sysconfdir}/machine-id" 90 PA_MACHINE_ID="${sysconfdir}/machine-id"
82 AX_DEFINE_DIR(PA_MACHINE_ID, PA_MACHINE_ID, [D-Bus machine-id file]) 91 AX_DEFINE_DIR(PA_MACHINE_ID, PA_MACHINE_ID, [D-Bus machine-id file])
83-PA_MACHINE_ID_FALLBACK="${localstatedir}/lib/dbus/machine-id" 92-PA_MACHINE_ID_FALLBACK="${localstatedir}/lib/dbus/machine-id"
84+PA_MACHINE_ID_FALLBACK="${localstatedir}/db/dbus/machine-id" 93+PA_MACHINE_ID_FALLBACK="${localstatedir}/db/dbus/machine-id"
85 AX_DEFINE_DIR(PA_MACHINE_ID_FALLBACK, PA_MACHINE_ID_FALLBACK, 94 AX_DEFINE_DIR(PA_MACHINE_ID_FALLBACK, PA_MACHINE_ID_FALLBACK,
86 [Fallback machine-id file]) 95 [Fallback machine-id file])
87  96
88@@ -1234,9 +1228,9 @@ fi 97@@ -1309,9 +1303,9 @@ fi
89  98
90 PA_SYSTEM_RUNTIME_PATH="${localstatedir}/run/pulse" 99 PA_SYSTEM_RUNTIME_PATH="${localstatedir}/run/pulse"
91 AX_DEFINE_DIR(PA_SYSTEM_RUNTIME_PATH, PA_SYSTEM_RUNTIME_PATH, [System runtime dir]) 100 AX_DEFINE_DIR(PA_SYSTEM_RUNTIME_PATH, PA_SYSTEM_RUNTIME_PATH, [System runtime dir])
92-PA_SYSTEM_CONFIG_PATH="${localstatedir}/lib/pulse" 101-PA_SYSTEM_CONFIG_PATH="${localstatedir}/lib/pulse"
93+PA_SYSTEM_CONFIG_PATH="${localstatedir}/db/pulse" 102+PA_SYSTEM_CONFIG_PATH="${localstatedir}/db/pulse"
94 AX_DEFINE_DIR(PA_SYSTEM_CONFIG_PATH, PA_SYSTEM_CONFIG_PATH, [System config dir]) 103 AX_DEFINE_DIR(PA_SYSTEM_CONFIG_PATH, PA_SYSTEM_CONFIG_PATH, [System config dir])
95-PA_SYSTEM_STATE_PATH="${localstatedir}/lib/pulse" 104-PA_SYSTEM_STATE_PATH="${localstatedir}/lib/pulse"
96+PA_SYSTEM_STATE_PATH="${localstatedir}/db/pulse" 105+PA_SYSTEM_STATE_PATH="${localstatedir}/db/pulse"
97 AX_DEFINE_DIR(PA_SYSTEM_STATE_PATH, PA_SYSTEM_STATE_PATH, [System state dir]) 106 AX_DEFINE_DIR(PA_SYSTEM_STATE_PATH, PA_SYSTEM_STATE_PATH, [System state dir])
98  107
99 PA_BINARY=${bindir}/pulseaudio${EXEEXT} 108 PA_BINARY=${bindir}/pulseaudio${EXEEXT}
100@@ -1248,8 +1242,9 @@ AX_DEFINE_DIR(PACTL_BINARY, PACTL_BINARY 109@@ -1323,8 +1317,9 @@ AX_DEFINE_DIR(PACTL_BINARY, PACTL_BINARY
101 AC_SUBST(PA_SOEXT, [.so]) 110 AC_SUBST(PA_SOEXT, [.so])
102 AC_DEFINE(PA_SOEXT, [".so"], [Shared object extension]) 111 AC_DEFINE(PA_SOEXT, [".so"], [Shared object extension])
103  112
104-AC_SUBST(pulseconfdir, ["${sysconfdir}/pulse"]) 113-AC_SUBST(pulseconfdir, ["${sysconfdir}/pulse"])
105-AX_DEFINE_DIR(PA_DEFAULT_CONFIG_DIR, pulseconfdir, [Location of configuration files]) 114-AX_DEFINE_DIR(PA_DEFAULT_CONFIG_DIR, pulseconfdir, [Location of configuration files])
106+AC_SUBST(pulseconfdirreal, ["${sysconfdir}/pulse"]) 115+AC_SUBST(pulseconfdirreal, ["${sysconfdir}/pulse"])
107+AC_SUBST(pulseconfdir, ["${EGDIR}"]) 116+AC_SUBST(pulseconfdir, ["${EGDIR}"])
108+AX_DEFINE_DIR(PA_DEFAULT_CONFIG_DIR, pulseconfdirreal, [Location of configuration files]) 117+AX_DEFINE_DIR(PA_DEFAULT_CONFIG_DIR, pulseconfdirreal, [Location of configuration files])
109  118
110 #### Mac OSX specific stuff ##### 119 #### Mac OSX specific stuff #####
111  120
112@@ -1265,17 +1260,6 @@ AC_ARG_WITH(mac-sysroot, 121@@ -1340,17 +1335,6 @@ AC_ARG_WITH(mac-sysroot,
113 AS_HELP_STRING([--with-mac-sysroot=<path>], [SDK basedir to use as the logical root directory for headers and libraries.]), 122 AS_HELP_STRING([--with-mac-sysroot=<path>], [SDK basedir to use as the logical root directory for headers and libraries.]),
114 mac_sysroot=$withval, mac_sysroot="/Developer/SDKs/MacOSX10.5.sdk") 123 mac_sysroot=$withval, mac_sysroot="/Developer/SDKs/MacOSX10.5.sdk")
115  124
116-if test "x$os_is_darwin" = "x1" ; then 125-if test "x$os_is_darwin" = "x1" ; then
117- LDFLAGS="$LDFLAGS -isysroot $mac_sysroot -mmacosx-version-min=$mac_version_min" 126- LDFLAGS="$LDFLAGS -isysroot $mac_sysroot -mmacosx-version-min=$mac_version_min"
118- CFLAGS="$CFLAGS -isysroot $mac_sysroot -mmacosx-version-min=$mac_version_min" 127- CFLAGS="$CFLAGS -isysroot $mac_sysroot -mmacosx-version-min=$mac_version_min"
119- 128-
120- if test "x$enable_mac_universal" = "xyes" ; then 129- if test "x$enable_mac_universal" = "xyes" ; then
121- mac_arches="-arch i386 -arch x86_64" 130- mac_arches="-arch i386 -arch x86_64"
122- LDFLAGS="$LDFLAGS $mac_arches" 131- LDFLAGS="$LDFLAGS $mac_arches"
123- CFLAGS="$CFLAGS $mac_arches" 132- CFLAGS="$CFLAGS $mac_arches"
124- fi 133- fi
125-fi 134-fi