diff options
-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 |