pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/mjpegtools Work around gcc 4 (on MacOS X 10...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f31938645ac0
branches: trunk
changeset: 495628:f31938645ac0
user: hubertf <hubertf%pkgsrc.org@localhost>
date: Wed Jun 15 22:42:38 2005 +0000
description:
Work around gcc 4 (on MacOS X 10.4.something) not knowing -fmove-all-movables
Bump to rev. mjpegtools-1.6.2nb5
diffstat:
multimedia/mjpegtools/Makefile | 4 ++--
multimedia/mjpegtools/hacks.mk | 16 ++++++++++++++++
2 files changed, 18 insertions(+), 2 deletions(-)
diffs (33 lines):
diff -r c6de8441dd0d -r f31938645ac0 multimedia/mjpegtools/Makefile
--- a/multimedia/mjpegtools/Makefile Wed Jun 15 21:50:11 2005 +0000
+++ b/multimedia/mjpegtools/Makefile Wed Jun 15 22:42:38 2005 +0000
@@ -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 -r c6de8441dd0d -r f31938645ac0 multimedia/mjpegtools/hacks.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mjpegtools/hacks.mk Wed Jun 15 22:42:38 2005 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index