mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
Cleanup and simplify emulators/pcem
- Add LICENSE_FILE - Remove bogus PATCHDIR - Use WX_CONFIG - Switch to USES=localbase - Simplify configure patch PR: 253033 Submitted by: amdmi3 Approved by: maintainer timeout (darkfm@vera.com.uy, 2 weeks)
This commit is contained in:
parent
19bc3b268d
commit
d8d2d6c09d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=564747
@ -11,16 +11,16 @@ MAINTAINER= darkfm@vera.com.uy
|
||||
COMMENT= PC/PC-Compatible low-level emulator striving for accuracy
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= autoreconf compiler gl gmake openal pkgconfig sdl zip
|
||||
USES= autoreconf compiler gl gmake localbase:ldflags openal pkgconfig sdl zip
|
||||
USE_GL= gl
|
||||
USE_SDL= sdl2
|
||||
USE_WX= 3.0
|
||||
|
||||
WRKSRC= ${WRKDIR}/pcem_emulator-pcem-faf5d6423060/
|
||||
PATCHDIR=files
|
||||
PLIST_FILES= bin/pcem
|
||||
CONFIGURE_ARGS= --enable-release-build --with-wx-config=wxgtk3u-3.0-config
|
||||
CONFIGURE_ARGS= --enable-release-build --with-wx-config="${WX_CONFIG}"
|
||||
GNU_CONFIGURE= yes
|
||||
ONLY_FOR_ARCHS= amd64
|
||||
|
||||
|
@ -1,32 +1,11 @@
|
||||
--- configure.ac.orig 2019-04-17 19:37:48 UTC
|
||||
+++ configure.ac
|
||||
@@ -64,6 +64,10 @@ case "${host_cpu}" in
|
||||
@@ -60,7 +60,7 @@ case "${host_cpu}" in
|
||||
CPU=i386
|
||||
AC_MSG_RESULT(${host_cpu})
|
||||
;;
|
||||
- x86_64)
|
||||
+ x86_64|amd64)
|
||||
CPU=x86_64
|
||||
AC_MSG_RESULT(${host_cpu})
|
||||
;;
|
||||
+ amd64)
|
||||
+ CPU=x86_64
|
||||
+ AC_MSG_RESULT(${host_cpu})
|
||||
+ ;;
|
||||
*)
|
||||
AC_MSG_ERROR([Unsupported CPU.])
|
||||
;;
|
||||
@@ -149,6 +153,18 @@ case "$host" in
|
||||
[echo "You need to install the OpenAL library."
|
||||
exit -1])
|
||||
build_linux="yes"
|
||||
+ ;;
|
||||
+ *-*-freebsd*)
|
||||
+ CFLAGS="$CFLAGS -I/usr/local/include"
|
||||
+ CXXFLAGS="$CXXFLAGS -I/usr/local/include"
|
||||
+ LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
||||
+ AC_CHECK_LIB([GL], [glGetError], [], \
|
||||
+ [echo "You need to install the OpenGL library."
|
||||
+ exit -1])
|
||||
+ AC_CHECK_LIB([openal], [alGetError], [], \
|
||||
+ [echo "You need to install the OpenAL library."
|
||||
+ exit -1])
|
||||
+ build_other="yes"
|
||||
;;
|
||||
*)
|
||||
AC_CHECK_LIB([GL], [glGetError], [], \
|
||||
|
Loading…
Reference in New Issue
Block a user