pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: audio/pulseaudio OS X configure patch



On Mon, 02 Feb 2015 20:15:07 -0600
"J. Lewis Muir" <jlmuir%imca-cat.org@localhost> wrote:

> Hello.
> 
> I'm glad for a patch to make PulseAudio work on OS X!  One thing,
> though, is that I wish this could be made to work for any version of OS
> X greater than or equal to 10.8.  With the current patch, when 10.11
> rolls around, it will break again.  Why not make the change for any
> version of OS X >= 10.8?
> 
> Regards,
> 
> Lewis

Sorry for the late reply.  That's a good idea.

I've also upgraded to -current now so the check for 10.6 that was in
-stable is gone.


Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/audio/pulseaudio/Makefile,v
retrieving revision 1.94
diff -u -p -u -r1.94 Makefile
--- Makefile	6 Feb 2015 07:20:14 -0000	1.94
+++ Makefile	16 Feb 2015 23:34:03 -0000
@@ -59,6 +59,11 @@ CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSC
 PLIST.evdev=		yes
 .endif
 
+.if !empty(MACHINE_PLATFORM:MDarwin-1[2-9].*) && !empty(SDKROOT)
+CONFIGURE_ARGS+=	--with-mac-version-min=`xcrun --show-sdk-version`
+CONFIGURE_ARGS+=	--with-mac-sysroot=`xcrun --show-sdk-path`
+.endif
+
 .include "options.mk"
 
 PKGCONFIG_OVERRIDE+=	libpulse-mainloop-glib.pc.in


Home | Main Index | Thread Index | Old Index