Date: Thu, 6 Mar 2003 10:57:07 -0700 From: James Earl <mtntrip@telus.net> To: freebsd-ports@freebsd.org Subject: Makefile diff: x11/nvidia-driver Message-ID: <20030306175707.GE79912@comp4.ici.net>
next in thread | raw e-mail | index | archive | help
--pWyiEgJYm5f9v55/ Content-Type: text/plain; format=flowed; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit When WITHOUT_LINUX is specified, undef NV_SUPPORT_LINUX_COMPAT in nv-freebsd.h --pWyiEgJYm5f9v55/ Content-Type: text/x-makefile; charset=us-ascii Content-Disposition: attachment; filename="Makefile-without_linux.diff" --- x11/nvidia-driver/Makefile Wed Mar 5 18:12:23 2003 +++ x11/nvidia-driver/Makefile.new Thu Mar 6 10:30:59 2003 @@ -34,10 +34,14 @@ IGNORE= "You need a more recent version of -CURRENT for this driver" .endif -.if defined(WITH_FREEBSD_AGP) || defined(FORCE_AGP_RATE) +.if defined(WITHOUT_LINUX) || defined(WITH_FREEBSD_AGP) || defined(FORCE_AGP_RATE) USE_REINPLACE= yes post-patch: +.if defined(WITHOUT_LINUX) + @${REINPLACE_CMD} "s/define NV_SUPPORT_LINUX_COMPAT/undef NV_SUPPORT_LINUX_COMPAT/" \ + ${WRKSRC}/src/nv-freebsd.h +.endif .if defined(WITH_FREEBSD_AGP) @${REINPLACE_CMD} "s/undef USE_OS_AGP_GART/define USE_OS_AGP_GART/" \ ${WRKSRC}/src/nv-freebsd.h --pWyiEgJYm5f9v55/-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030306175707.GE79912>