summaryrefslogtreecommitdiff
path: root/multimedia/ogle/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/ogle/Makefile')
-rw-r--r--multimedia/ogle/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/multimedia/ogle/Makefile b/multimedia/ogle/Makefile
index 8effe8ae544..bf7f539c91c 100644
--- a/multimedia/ogle/Makefile
+++ b/multimedia/ogle/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2006/03/04 21:30:15 jlam Exp $
+# $NetBSD: Makefile,v 1.18.4.1 2006/08/29 07:02:43 ghen Exp $
DISTNAME= ogle-0.9.2
PKGREVISION= 3
@@ -29,6 +29,12 @@ CONFIGURE_ENV+= CPPFLAGS=${CPPFLAGS:M*:Q}
GCC_REQD+= 2.95.3
+.include "../../mk/compiler.mk"
+
+.if !empty(CC_VERSION:Mgcc-4*)
+WRAPPER_TRANSFORM_CMDS+= opt:-mcpu=pentiumpro:-march=pentiumpro
+.endif
+
MESSAGE_SUBST+= PKGBASE=${PKGBASE}
.include "../../audio/liba52/buildlink3.mk"