pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/dgen Shut up the warnings when building.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7c71de364d64
branches:  trunk
changeset: 489404:7c71de364d64
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Sun Feb 20 16:34:39 2005 +0000

description:
Shut up the warnings when building.

diffstat:

 emulators/dgen/Makefile |  13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 9840cc5b9488 -r 7c71de364d64 emulators/dgen/Makefile
--- a/emulators/dgen/Makefile   Sun Feb 20 16:20:48 2005 +0000
+++ b/emulators/dgen/Makefile   Sun Feb 20 16:34:39 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/10/03 00:14:40 tv Exp $
+# $NetBSD: Makefile,v 1.5 2005/02/20 16:34:39 xtraeme Exp $
 #
 
 DISTNAME=      dgen-sdl-1.23
@@ -21,5 +21,16 @@
 
 CONFIGURE_ARGS+=       --with-extra-opt
 
+SUBST_CLASSES+=                config
+SUBST_STAGE.config=    pre-configure
+SUBST_FILES.config=    configure
+SUBST_SED.config=      -e "s|\-malign-loops|\-falign-loops|g" \
+                       -e "s|\-malign-jumps|\-falign-jumps|g" \
+                       -e "s|\-malign-functions|\-falign-functions|g" \
+                       -e "s|\-mpentium||g" \
+                       -e "s|\-march=pentium||g" \
+                       -e "s|\-fno-rtti||g"
+SUBST_MESSAGE.config=  "Removing outdated compilation flags."
+
 .include "../../devel/SDL/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index