aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2005-07-23 18:25:02 +0800
committernetchild <netchild@FreeBSD.org>2005-07-23 18:25:02 +0800
commit60964e28b8f9c66ca5b42a6a276eb70e8cd1cb29 (patch)
tree57093bc65a3ba6a8237a78df59c9e97ce11e4e39 /emulators
parent9d71cdb7e8e0379d19debf58f7230b0078a76e8f (diff)
downloadfreebsd-ports-gnome-60964e28b8f9c66ca5b42a6a276eb70e8cd1cb29.tar.gz
freebsd-ports-gnome-60964e28b8f9c66ca5b42a6a276eb70e8cd1cb29.tar.zst
freebsd-ports-gnome-60964e28b8f9c66ca5b42a6a276eb70e8cd1cb29.zip
linux_mesa3 (deprecatred) -> linux_dri (possibly hardware accelerated)
I assume the maintainer overlooked this port in the patchset, since he already committed a similar change to another port and didn't objected to any patch in the patchset. So I take a shortcut and just commit the patch instead of further delaying the move from linux_mesa3 to linux_dri. Submitted by: Ulrich Spoerlein <spoerlein@informatik.uni-wuerzburg.de> Approved by: maintainer timeout (a week and a half)
Diffstat (limited to 'emulators')
-rw-r--r--emulators/linux-pete-mesagpu/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/emulators/linux-pete-mesagpu/Makefile b/emulators/linux-pete-mesagpu/Makefile
index 0a90ce92852f..120d713b2021 100644
--- a/emulators/linux-pete-mesagpu/Makefile
+++ b/emulators/linux-pete-mesagpu/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pete-mesagpu
PORTVERSION= 1.76
+PORTREVISION= 1
CATEGORIES= emulators linux
MASTER_SITES= http://www.pbernert.com/
PKGNAMEPREFIX= linux-
@@ -15,8 +16,13 @@ DISTNAME= gpupetemesagl${MAJOR}${MINOR}
MAINTAINER= jylefort@FreeBSD.org
COMMENT= A PSEmu Pro GPU plugin using an OpenGL renderer (Linux version)
-RUN_DEPENDS= ${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk \
- ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/graphics/linux_mesa3
+RUN_DEPENDS= ${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk
+
+.ifdef WITH_NVIDIA_GL
+RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
+.else
+RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri
+.endif
NO_WRKSUBDIR= yes
NO_BUILD= yes