aboutsummaryrefslogtreecommitdiff
path: root/x11/nvidia-driver/Makefile
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2005-11-09 16:26:51 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2005-11-09 16:26:51 +0000
commit34beeaea389083b9e5feedf428211431215c3448 (patch)
treeb2a53a839167a146d718208b9ee286115e10495a /x11/nvidia-driver/Makefile
parent606d7bb1622576ec167315e2b6f47dbaf05cfa52 (diff)
Notes
Diffstat (limited to 'x11/nvidia-driver/Makefile')
-rw-r--r--x11/nvidia-driver/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index ba6bfa250717..d3cce5d59285 100644
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -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