summaryrefslogtreecommitdiff
path: root/emulators/linux-pete-mesagpu
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/linux-pete-mesagpu')
-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