summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2005-02-20 16:34:39 +0000
committerxtraeme <xtraeme@pkgsrc.org>2005-02-20 16:34:39 +0000
commit90e12aab0f84b27c11e94125fe7d8ae64f36231a (patch)
tree0cf72c741ee6bee45e67cc41f98f8e5baf663f3f /emulators
parenta7db830069204bc672834ac6574fba100f0d34b7 (diff)
downloadpkgsrc-90e12aab0f84b27c11e94125fe7d8ae64f36231a.tar.gz
Shut up the warnings when building.
Diffstat (limited to 'emulators')
-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"