diff options
author | pho <pho@pkgsrc.org> | 2014-05-28 06:25:58 +0000 |
---|---|---|
committer | pho <pho@pkgsrc.org> | 2014-05-28 06:25:58 +0000 |
commit | 6f4fff7ce3e9de1f38f4a9e16e2a7fe938d65376 (patch) | |
tree | 0835812ad73f8f56f12139f40bd3236b9aa06702 /www | |
parent | 74e9cdaa954b14c4ea7c4d013c7a90a74797e269 (diff) | |
download | pkgsrc-6f4fff7ce3e9de1f38f4a9e16e2a7fe938d65376.tar.gz |
PR pkg/48840: Set the MacOS X version requirement appropriately
Otherwise ${WRKSRC}/media/libcubeb/src/cubeb_audiounit.c can not be
built on MacOS X < 10.6
Diffstat (limited to 'www')
-rw-r--r-- | www/firefox/mozilla-common.mk | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/www/firefox/mozilla-common.mk b/www/firefox/mozilla-common.mk index 9367c07535a..4ba300fcc53 100644 --- a/www/firefox/mozilla-common.mk +++ b/www/firefox/mozilla-common.mk @@ -1,4 +1,4 @@ -# $NetBSD: mozilla-common.mk,v 1.34 2014/05/28 03:33:19 pho Exp $ +# $NetBSD: mozilla-common.mk,v 1.35 2014/05/28 06:25:58 pho Exp $ # # common Makefile fragment for mozilla packages based on gecko 2.0. # @@ -90,6 +90,19 @@ CONFIGURE_ARGS+= --disable-icf CONFIGURE_ARGS+= --disable-necko-wifi CONFIGURE_ARGS+= --disable-updater +# Set the MacOS X version requirement appropriately. +# Otherwise ${WRKSRC}/media/libcubeb/src/cubeb_audiounit.c can not be +# built on MacOS X < 10.6 +.if ${OPSYS} == "Darwin" +. if !empty(OS_VERSION:M[0-7].*) +CONFIGURE_ARGS+= --enable-macos-target=10.3 +. elif !empty(OS_VERSION:M8.*) +CONFIGURE_ARGS+= --enable-macos-target=10.4 +. elif !empty(OS_VERSION:M9.*) +CONFIGURE_ARGS+= --enable-macos-target=10.5 +. endif +.endif + SUBST_CLASSES+= fix-paths SUBST_STAGE.fix-paths= pre-configure SUBST_MESSAGE.fix-paths= Fixing absolute paths. |