diff options
author | woodsb02 <woodsb02@FreeBSD.org> | 2016-08-24 23:43:30 +0800 |
---|---|---|
committer | woodsb02 <woodsb02@FreeBSD.org> | 2016-08-24 23:43:30 +0800 |
commit | 55df0b2808f8a55337836b20e4f7ed925c45ced7 (patch) | |
tree | 442eca0b3910ef2793c316d35f7a269db4889ce9 /astro/google-earth | |
parent | 592d431966aabb5081b1d1ff527674ba721d6efe (diff) | |
download | freebsd-ports-gnome-55df0b2808f8a55337836b20e4f7ed925c45ced7.tar.gz freebsd-ports-gnome-55df0b2808f8a55337836b20e4f7ed925c45ced7.tar.zst freebsd-ports-gnome-55df0b2808f8a55337836b20e4f7ed925c45ced7.zip |
astro/google-earth: Allow installation with NVIDIA legacy drivers
PR: 201693
Submitted by: cmangin@arobas.net
Approved by: adamw (mentor)
Differential Revision: https://reviews.freebsd.org/D7629
Diffstat (limited to 'astro/google-earth')
-rw-r--r-- | astro/google-earth/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/astro/google-earth/Makefile b/astro/google-earth/Makefile index c51dd32bdc89..273221a30715 100644 --- a/astro/google-earth/Makefile +++ b/astro/google-earth/Makefile @@ -2,7 +2,7 @@ PORTNAME= google-earth PORTVERSION= 6.0.3.2197 -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 3 CATEGORIES= astro deskutils geography MASTER_SITES= http://dl.google.com/earth/client/advanced/previous/:previous \ @@ -20,7 +20,12 @@ RESTRICTED= Not really sure about the redistribution terms WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\..*//g}/ -OPTIONS_DEFINE= NVIDIA +OPTIONS_DEFAULT= LINUX_DRI +OPTIONS_SINGLE= LIBGL +OPTIONS_SINGLE_LIBGL= LINUX_DRI NVIDIA_GL NVIDIA_GL_340 NVIDIA_GL_304 +LINUX_DRI_DESC= libGL support via Linux DRI libraries +NVIDIA_GL_340_DESC= libGL support via nvidia-driver-340 +NVIDIA_GL_304_DESC= libGL support via nvidia-driver-304 USE_LINUX= yes USE_LINUX_APPS= xorglibs curl nss @@ -31,8 +36,10 @@ USE_PERL5= patch build UNMAKESELF= ${LOCALBASE}/bin/unmakeself -NVIDIA_RUN_DEPENDS= ${LINUXBASE}/usr/lib/libGL.so.1:x11/nvidia-driver -NVIDIA_USE_OFF= LINUX_APPS=dri,libpciaccess +NVIDIA_GL_RUN_DEPENDS= ${LINUXBASE}/usr/lib/libGL.so.1:x11/nvidia-driver +NVIDIA_GL_340_RUN_DEPENDS= ${LINUXBASE}/usr/lib/libGL.so.1:x11/nvidia-driver-340 +NVIDIA_GL_304_RUN_DEPENDS= ${LINUXBASE}/usr/lib/libGL.so.1:x11/nvidia-driver-304 +LINUX_DRI_USE= LINUX_APPS=dri,libpciaccess # Fixed by the first post-patch target line? Also, linprocfs needs to be mounted. #BROKEN= seems to crash on >= 9.x/amd64: http://www.freebsd.org/cgi/query-pr.cgi?pr=160422 |