summaryrefslogtreecommitdiff
path: root/emulators/linux-pete-mesagpu
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2005-07-23 10:25:02 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2005-07-23 10:25:02 +0000
commitf018b92c12f6989b2b24e6a8bd81e96d4d8bb01c (patch)
tree4157a8652e748e6a1212b39da2bf0c0dafd5ba91 /emulators/linux-pete-mesagpu
parent- Respect WITH_NVIDIA_GL. (diff)
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)
Notes
Notes: svn path=/head/; revision=139962
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