View | Details | Raw Unified | Return to bug 237376 | Differences between
and this patch

Collapse All | Expand All

(-)pcem/Makefile (+28 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	pcem
4
DISTVERSION=	14
5
CATEGORIES=	emulators
6
MASTER_SITES=	https://bitbucket.org/pcem_emulator/pcem/get/
7
DISTNAME=	faf5d6423060
8
9
MAINTAINER=	darkfm@vera.com.uy
10
COMMENT=	PC/PC-Compatible low-level emulator striving for accuracy
11
12
LICENSE=	GPLv2
13
14
LIB_DEPENDS=	libGL.so:graphics/mesa-libs \
15
		libopenal.so:audio/openal-soft \
16
		libwx_gtk3u_core-3.0.so:x11-toolkits/wxgtk30 \
17
		libSDL2.so:devel/sdl20
18
19
USES=		autoreconf gmake zip
20
USE_WX=		3.0
21
22
WRKSRC=		${WRKDIR}/pcem_emulator-pcem-faf5d6423060/
23
PATCHDIR=files
24
PLIST_FILES=	bin/pcem
25
CONFIGURE_ARGS=	--enable-release-build --with-wx-config=wxgtk3u-3.0-config
26
GNU_CONFIGURE=	yes
27
28
.include <bsd.port.mk>
(-)pcem/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1555640654
2
SHA256 (faf5d6423060.zip) = c184c1e279b2d77d89bdc02ed6a87d0f79b98863dcef2feca1fff74554e2f19b
3
SIZE (faf5d6423060.zip) = 1792228
(-)pcem/files/patch-configure.ac (+32 lines)
Line 0 Link Here
1
--- configure.ac.orig	2019-04-17 19:37:48 UTC
2
+++ configure.ac
3
@@ -64,6 +64,10 @@ case "${host_cpu}" in
4
     CPU=x86_64
5
     AC_MSG_RESULT(${host_cpu})
6
     ;;
7
+    amd64)
8
+    CPU=x86_64
9
+    AC_MSG_RESULT(${host_cpu})
10
+    ;;
11
     *)
12
     AC_MSG_ERROR([Unsupported CPU.])
13
     ;;
14
@@ -149,6 +153,18 @@ case "$host" in
15
            [echo "You need to install the OpenAL library."
16
            exit -1])
17
        build_linux="yes"
18
+       ;;
19
+    *-*-freebsd*)
20
+       CFLAGS="$CFLAGS -I/usr/local/include"
21
+       CXXFLAGS="$CXXFLAGS -I/usr/local/include"
22
+       LDFLAGS="$LDFLAGS -L/usr/local/lib"
23
+       AC_CHECK_LIB([GL], [glGetError], [], \
24
+           [echo "You need to install the OpenGL library."
25
+           exit -1])
26
+       AC_CHECK_LIB([openal], [alGetError], [], \
27
+           [echo "You need to install the OpenAL library."
28
+           exit -1])
29
+       build_other="yes"
30
        ;;
31
     *)
32
        AC_CHECK_LIB([GL], [glGetError], [], \
(-)pcem/pkg-descr (+5 lines)
Line 0 Link Here
1
A very accurate (and not very fast) PC and PC-compatible emulator.
2
Support currently ranges from the original IBM PC to Socket 7 motherboards.
3
It also supports a wide range of peripherals, including Voodoo Graphics!
4
5
WWW: https://www.pcem-emulator.co.uk

Return to bug 237376