diff options
author | Nick Sayer <nsayer@FreeBSD.org> | 2001-04-03 13:04:10 +0000 |
---|---|---|
committer | Nick Sayer <nsayer@FreeBSD.org> | 2001-04-03 13:04:10 +0000 |
commit | eea534cff4d6f2aa8872d5f339fc352e1f281aa1 (patch) | |
tree | 57020ea6c4971efe3127498008fa2e5b2c775cda /emulators/xmame/Makefile | |
parent | 60d98bc43c5ae9b70fee751b3118ebf6837b5fc3 (diff) | |
download | ports-eea534cff4d6f2aa8872d5f339fc352e1f281aa1.tar.gz ports-eea534cff4d6f2aa8872d5f339fc352e1f281aa1.zip |
Notes
Diffstat (limited to 'emulators/xmame/Makefile')
-rw-r--r-- | emulators/xmame/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile index b887e743b013..c295fa40ff17 100644 --- a/emulators/xmame/Makefile +++ b/emulators/xmame/Makefile @@ -176,11 +176,13 @@ LIB_DEPENDS= SDL-1.1.3:${PORTSDIR}/devel/sdl-devel SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config MAKE_ENV+= SDL_CONFIG=${SDL_CONFIG} DISPLAY_METHOD= SDL +.if !defined(WITH_SDL) pre-everything:: @${ECHO_MSG} "===> If you don't want ${MAMEMESS:U} to be built with SDL support," @${ECHO_MSG} " use \"make WITH_SDL=no\"" - @${ECHO_MSG} "===> You can also build ${MAMEMESS:U} with OpenGL support." - @${ECHO_MSG} " use \"make WITH_GL=yes\" for this" + @${ECHO_MSG} "===> If you want to build ${MAMEMESS:U} with OpenGL support for vector games," + @${ECHO_MSG} " use \"make WITH_GL=yes\"" +.endif .else DISPLAY_METHOD= x11 .endif @@ -203,8 +205,12 @@ do-configure: -e "s@GLLIBS=.-ldl@GLLIBS= ${PTHREAD_LIBS}@g" \ ${WRKSRC}/makefile.unix.sed > ${WRKSRC}/makefile.unix ${PERL} -pi -e 's@SDL/@SDL11/@' ${WRKSRC}/src/unix/video-drivers/SDL.c +.if ${XMAMEVERSION} != "0.37b12.1" ${PERL} -pi -e 's@png.h@../../png.h@' \ ${WRKSRC}/src/unix/video-drivers/glexport.c + ${PERL} -pi -e 's@malloc.h@stdlib.h@' \ + ${WRKSRC}/src/unix/video-drivers/gljpg.c +.endif post-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} SDL_VIDEODRIVER=aalib \ |