summaryrefslogtreecommitdiff
path: root/emulators/dgen
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2005-02-20 16:34:39 +0000
committerxtraeme <xtraeme>2005-02-20 16:34:39 +0000
commitf06ab972656d54dca2dc5ef8805ca5d19f40955f (patch)
tree0cf72c741ee6bee45e67cc41f98f8e5baf663f3f /emulators/dgen
parent387e361a92d999dface91278760cabea0fed3b85 (diff)
downloadpkgsrc-f06ab972656d54dca2dc5ef8805ca5d19f40955f.tar.gz
Shut up the warnings when building.
Diffstat (limited to 'emulators/dgen')
-rw-r--r--emulators/dgen/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/emulators/dgen/Makefile b/emulators/dgen/Makefile
index ccf39fb3d2c..1c8cd59408e 100644
--- a/emulators/dgen/Makefile
+++ b/emulators/dgen/Makefile
@@ -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 @@ USE_BUILDLINK3= yes
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"