- fix occasional crashes on i386

- set license version
This commit is contained in:
jasper 2009-01-05 18:07:28 +00:00
parent 7883f5ea18
commit 626cd3ab02

View File

@ -1,19 +1,20 @@
# $OpenBSD: Makefile,v 1.3 2008/06/12 20:36:35 sthen Exp $ # $OpenBSD: Makefile,v 1.4 2009/01/05 18:07:28 jasper Exp $
COMMENT= Gameboy Advance emulator COMMENT= Gameboy Advance emulator
VERSION= 1.7.2 VERSION= 1.7.2
DISTNAME= VisualBoyAdvance-src-${VERSION} DISTNAME= VisualBoyAdvance-src-${VERSION}
PKGNAME= vba-${VERSION}p1 PKGNAME= vba-${VERSION}p2
CATEGORIES= emulators CATEGORIES= emulators
HOMEPAGE= http://vba.ngemu.com/ HOMEPAGE= http://vba.ngemu.com/
# GPL # GPLv2
PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama Xrandr \ WANTLIB= X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama Xrandr \
Xcomposite Xdamage \ Xcomposite Xdamage \
Xrender atk-1.0 atkmm-1.6 c cairomm-1.0 expat fontconfig \ Xrender atk-1.0 atkmm-1.6 c cairomm-1.0 expat fontconfig \
@ -22,6 +23,7 @@ WANTLIB= X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama Xrandr \
gtkmm-2.4 m pango-1.0 pangocairo-1.0 pangoft2-1.0 pangomm-1.4 \ gtkmm-2.4 m pango-1.0 pangocairo-1.0 pangoft2-1.0 pangomm-1.4 \
pixman-1 pthread sigc-2.0 stdc++ xml2 z pixman-1 pthread sigc-2.0 stdc++ xml2 z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vba/} MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vba/}
MODULES= gcc3 MODULES= gcc3
@ -34,10 +36,10 @@ USE_LIBTOOL= Yes
USE_X11= Yes USE_X11= Yes
USE_GMAKE= Yes USE_GMAKE= Yes
LIB_DEPENDS= SDL::devel/sdl \ LIB_DEPENDS= glademm-2.4::devel/libglademm \
png::graphics/png \ SDL::devel/sdl \
glademm-2.4::devel/libglademm \ cairo::graphics/cairo \
cairo::graphics/cairo png::graphics/png
CONFIGURE_STYLE= gnu CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng \ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng \
@ -45,11 +47,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng \
LDFLAGS="-L${LOCALBASE}/lib -lm" \ LDFLAGS="-L${LOCALBASE}/lib -lm" \
LIBS+="-lintl" LIBS+="-lintl"
CONFIGURE_ARGS= --disable-profiling \ CONFIGURE_ARGS= --disable-profiling \
--without-mmx \
--with-x \ --with-x \
--enable-gtk=2.4 --enable-gtk=2.4
.if ${MACHINE_ARCH} == "i386" .if ${MACHINE_ARCH} == "i386"
BUILD_DEPENDS+= ::devel/nasm
CONFIGURE_ARGS+= --enable-c-core CONFIGURE_ARGS+= --enable-c-core
.endif .endif