blob: e6c41bc2e4b2fd0e5e3a1215a2d87e5c695d67f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.15 2006/06/12 16:28:06 wiz Exp $
#
DISTNAME= dgen-sdl-1.23
PKGREVISION= 5
CATEGORIES= emulators
MASTER_SITES= http://www.pknet.com/~joe/
MAINTAINER= pancake@phreaker.net
HOMEPAGE= http://www.pknet.com/~joe/dgen-sdl.html
COMMENT= Genesis/Megadrive emulator for Unix platforms
.if ${MACHINE_ARCH} == "i386"
DEPENDS+= nasm-[0-9]*:../../devel/nasm
.endif
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-extra-opt
BUILDLINK_TRANSFORM+= rm:-mpentium
BUILDLINK_TRANSFORM+= rm:-march=pentium
BUILDLINK_TRANSFORM+= rm:-fno-rtti
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-3*)
BUILDLINK_TRANSFORM+= 'opt:-m\(align-loops.*\):-f\1'
BUILDLINK_TRANSFORM+= 'opt:-m\(align-jumps.*\):-f\1'
BUILDLINK_TRANSFORM+= 'opt:-m\(align-functions.*\):-f\1'
.endif
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|