1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Do not install nvidia-settings, there's native version available in

`x11/nvidia-settings' port.

Based on PR:	ports/84969
Submitted by:	jylefort
This commit is contained in:
Alexey Dokuchaev 2005-11-09 16:26:51 +00:00
parent 606d7bb162
commit 34beeaea38
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=147733

View File

@ -79,10 +79,11 @@ EXTRA_PATCHES+= ${FILESDIR}/${NVVERSION}-*
.else
.if defined(WITH_LEGACY_GPU_SUPPORT)
NVVERSION= 7174
PORTREVISION= 1
PORTREVISION= 2
EXTRA_PATCHES+= ${FILESDIR}/6113-patch-lib::Makefile
.else
NVVERSION= 7676
PORTREVISION= 1
EXTRA_PATCHES+= ${FILESDIR}/7667-*
.if ${OSVERSION} >= 600033
LIB_DEPENDS+= m.3:${PORTSDIR}/misc/compat5x
@ -143,6 +144,7 @@ post-patch: .SILENT
${REINPLACE_CMD} 's/define NV_SUPPORT_LINUX_COMPAT/undef NV_SUPPORT_LINUX_COMPAT/' \
${WRKSRC}/src/nv-freebsd.h
.endif
${REINPLACE_CMD} -E 's/(extension).*/\1/ ; /bin/d' ${WRKSRC}/x11/Makefile
post-install:
${LN} -sf libXvMCNVIDIA.so.1 ${PREFIX}/lib/libXvMCNVIDIA_dynamic.so.1