1 # $NetBSD: Makefile,v 1.19 2012/01/08 15:10:49 wiz Exp $
4 DISTNAME
= dgen-sdl-1.28
6 MASTER_SITES
= ${MASTER_SITE_SOURCEFORGE
:=dgen
/}
8 MAINTAINER
= pkgsrc-users@NetBSD.org
9 HOMEPAGE
= http
://dgen.sourceforge.net
/
10 COMMENT
= Genesis
/Megadrive emulator for Unix platforms
12 .if
${MACHINE_ARCH} == "i386"
13 DEPENDS
+= nasm-
[0-9]*:..
/..
/devel
/nasm
20 CONFIGURE_ARGS
+= --with-extra-opt
22 BUILDLINK_TRANSFORM
+= rm:-mpentium
23 BUILDLINK_TRANSFORM
+= rm:-march
=pentium
24 BUILDLINK_TRANSFORM
+= rm:-fno-rtti
26 .
include "../../mk/compiler.mk"
27 .if
!empty
(CC_VERSION
:Mgcc-
[34]*)
28 BUILDLINK_TRANSFORM
+= 'opt:-m\(align-loops.*\):-f\1'
29 BUILDLINK_TRANSFORM
+= 'opt:-m\(align-jumps.*\):-f\1'
30 BUILDLINK_TRANSFORM
+= 'opt:-m\(align-functions.*\):-f\1'
33 .
include "../../devel/SDL/buildlink3.mk"
34 .
include "../../mk/bsd.pkg.mk"