diff options
author | hubertf <hubertf> | 2005-06-15 22:42:38 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2005-06-15 22:42:38 +0000 |
commit | 76ad5d3f642976e05d89e80ce29052de681675dd (patch) | |
tree | 1787ab48736ab7400bf549f3fdf0109a586b9422 | |
parent | c31454dd1faf648830c9c800e961acdb8c1f3ecd (diff) | |
download | pkgsrc-76ad5d3f642976e05d89e80ce29052de681675dd.tar.gz |
Work around gcc 4 (on MacOS X 10.4.something) not knowing -fmove-all-movables
Bump to rev. mjpegtools-1.6.2nb5
-rw-r--r-- | multimedia/mjpegtools/Makefile | 4 | ||||
-rw-r--r-- | multimedia/mjpegtools/hacks.mk | 16 |
2 files changed, 18 insertions, 2 deletions
diff --git a/multimedia/mjpegtools/Makefile b/multimedia/mjpegtools/Makefile index fcada3523d8..aef88cea225 100644 --- a/multimedia/mjpegtools/Makefile +++ b/multimedia/mjpegtools/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.16 2005/06/07 21:23:04 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2005/06/15 22:42:38 hubertf Exp $ DISTNAME= mjpegtools-1.6.2 -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mjpeg/} diff --git a/multimedia/mjpegtools/hacks.mk b/multimedia/mjpegtools/hacks.mk new file mode 100644 index 00000000000..6fda52f341c --- /dev/null +++ b/multimedia/mjpegtools/hacks.mk @@ -0,0 +1,16 @@ +# $NetBSD: hacks.mk,v 1.1 2005/06/15 22:42:38 hubertf Exp $ + +.if !defined(MJPEGTOOLS_HACKS_MK) +MJPEGTOOLS_HACKS_MK= defined + +### Hack to work around MacOS X 4.x (and probably other)'s gcc 4.x +### which does not understand -fmove-all-movables. Remove that option +### if gcc-4 is _not_ used. +### +.include "../../mk/compiler.mk" + +.if !empty(CC_VERSION:Mgcc-4.*) +BUILDLINK_TRANSFORM+= rm:-fmove-all-movables +.endif + +.endif # MJPEGTOOLS_HACKS_MK |