summaryrefslogtreecommitdiff
path: root/emulators/dgen/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/dgen/Makefile')
-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"